programmatically saving new access points, source code for icd ui? dbus? or icd in general?

2008-10-20 Thread Kwan Hong Lee
Hi,

We are trying to programmatically connect to nearby access points.  We have
found that libconic and python's conic library allows one to automatically
connect to previously associated/saved network in gconf.  However, we are
unable to programmatically associate to newly found access points that we
have never saved.  When we make the call to connect, it does not allow us to
connect to such giving us a popup dialog (Internet connection failed. Try
again? OK, Cancel)

First of all, if someone already has experience with conic api, do you know
how we can connect to such newly found access points without previous
history of associating to it?

If not, anybody know where's the source code for the connection manager when
it pops up a list of nearby access points?  We tried to search icd_ui, but
couldn't find it.

We need to do two things programmatically:

1. We need to be able to get to these newly found connection objects or
access point objects.
2. We want to save these access point objects in gconf so that we may
connect to them programmatically in the future.

Thank you!

-kwan
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Installing xulrunner on N810

2008-06-23 Thread Kwan Hong Lee
Doesn't creating softlink to /media/mmc2 xulrunner work?

-kwan

On Mon, Jun 23, 2008 at 11:38 PM, jitender singh [EMAIL PROTECTED]
wrote:

 Hi,

  Hi,
  I have done the same as stated in
  http://blog.mozilla.com/blassey/2008/03/17/maemo-buildbot/
  to install xulrunner on myN810 OS2008, except that i extracted
  xulrunner  in /media/mmc2/, because i don't have much space in  /opt.

  This doesn't work  when i tried to run  mybrowser-0.2.2.xulapp
  application.

  Nothing is there in /usr/lib/.

  Can someone help?
  Jitender




 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers




-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


autoconf upgrade problem

2008-04-30 Thread Kwan Hong Lee
Hi,
I need autoconf 2.6 or higher so I downloaded m4-1.4.11 and autconf-2.62 and
got all of them built and installed using prefix=/usr.
However, even after that I try to compile pulseaudio, I get the following
error:

+ aclocal
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of
AM_PATH_AUDIOFILE
  run info '(automake)Extending aclocal'
  or see
http://sources.redhat.com/automake/automake.html#Extending%20aclocal
configure.ac:25: error: Autoconf version 2.60 or higher is required
configure.ac:25: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
./autogen.sh: line 24: /home/kwan/pulseaudio/configure: No such file or
directory
./autogen.sh: line 24: exec: /home/kwan/pulseaudio/configure: cannot
execute: No such file or directory


What do I have to do for autogen to use the latest autoconf I installed?

Thank you!

-kwan
-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


glib-2.16?

2008-04-19 Thread Kwan Hong Lee
Any chance that I can get glib-2.16 as a package for OS2008?  Or better,
latest glib, gtk, pygtk as package?

Thank you!

-kwan

-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


need new glib, gtk+, pygobject, pygtk

2008-04-19 Thread Kwan Hong Lee
Is there anybody that could integrate hildon to latest glib (2.16) and gtk
(2.12)?
I am in need of glib 2.14 or above but I can't find hildon support for it
and after recompilining building and installing to my n810, the n810
stopped  to pass the initial Nokia splash screen.

-kwan

-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


problem with hildon im and gtk

2008-04-18 Thread Kwan Hong Lee
I am trying to get the latest glib, gtk+ on my maemo 4.0 platform.  And I am
having the following trouble.

So I got glib to recompile, pango to recompile so that gtk could recompile
on maemo sdk, but I have various troubles.
The latest is that I get the following error:

import gtk
  File
debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py,
line 48, in module
ImportError: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol:
hildon_g_scanner_cache_open

And so I am trying to install gtk, but am having trouble with the following
when i do make install:

make  install-data-hook
make[4]: Entering directory `/home/kwan/gtk+-2.12.9/modules/input'
/bin/sh ../../mkinstalldirs /usr/etc/gtk-2.0
../../gtk/gtk-query-immodules-2.0  /usr/etc/gtk-2.0/gtk.immodules
Cannot load module /usr/lib/gtk-2.0/2.10.0/immodules/hildon-im-module.so:
/usr/lib/gtk-2.0/2.10.0/immodules/hildon-im-module.so: undefined symbol:
hildon_gtk_im_context_paste
/usr/lib/gtk-2.0/2.10.0/immodules/hildon-im-module.so does not export GTK+
IM module API: /usr/lib/gtk-2.0/2.10.0/immodules/hildon-im-module.so:
undefined symbol: hildon_gtk_im_context_paste
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/home/kwan/gtk+-2.12.9/modules/input'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/kwan/gtk+-2.12.9/modules/input'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/kwan/gtk+-2.12.9/modules/input'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/kwan/gtk+-2.12.9/modules'
make: *** [install-recursive] Error 1


It' makes fine.  but when i try to install above error pops up and can't go
forward.

Any guidance?
I am thinking some hildon gtk has to be recompiled but cannot find the
source code for it.

-kwan

-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


formatting flash

2008-03-28 Thread Kwan Hong Lee
Hi,

we have an n810 and wanted to format /media/mmc2.  Does anybody know an easy
way to do this?

Thank you!

-kwan

-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Pulseaudio on Maemo

2008-03-26 Thread Kwan Hong Lee
I have compiled in on maemo sdk and and copied over the pulseaudio
executable and all the libraries, but I get the following error when I tried
to run

$ pulseaudio --system=1
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
E: module.c: Failed to open module module-hal-detect: libdbus-util.so:
cannot open shared object file: No such file or directory
E: main.c: Module load failed.
E: main.c: failed to initialize daemon.

Any ideas?

I am not sure while libdbus-util.so does not exist.  And I am not sure how
to link pulseaudio to work with the audio drivers for n800.

-kwan

On Wed, Mar 26, 2008 at 3:16 PM, Marius Gedminas [EMAIL PROTECTED] wrote:

 On Wed, Mar 26, 2008 at 03:05:37PM -0400, Kwan Hong Lee wrote:
  Has anybody got pulseaudio to work on Maemo 4.x?

 That would be *awesome*.

 Marius Gedminas
 --
 If you are angry with someone, you should walk a mile in their shoes...
 then
 you'll be a mile away from them, and you'll have their shoes.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)

 iD8DBQFH6qESkVdEXeem148RAlC/AJ4xwMxnamViGZMJ9yIwtGOPtW+8owCdFBml
 Cw8XHPUAzEQ1JcRoS34dzdE=
 =QBZx
 -END PGP SIGNATURE-

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers




-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: gstreamer question

2008-02-23 Thread Kwan Hong Lee
Hi,

So I guess Adder is part of the solution.  Another question is how to go
about adding multiple mono streams and output a stereo stream with variable
contribution to left and right gain.  I see that audioop provides some
functions like that, but I can see to find out what gstreamer element can do
mono to stereo or stereo to mono and change gain values for left and right
channel.  Any pointers?

Finally, on the maemo platform, gstreamer supports ilbc.  Is there any way I
can mix ilbc streams?  It deosn't seems like adder supports this.  Any
insights on how to go about this?

Thank you!

-kwan

On Sat, Feb 23, 2008 at 4:03 PM, Stefan Kost [EMAIL PROTECTED]
wrote:

 Kwan Hong Lee schrieb:
  Hi,
 
  I am trying to combine multiple streams of audio both from a file and
  from the network and mix them and output them into single stream.
  I see that there's tee and n-to-1 but not sure how to utilize them.  Any
  examples that has details on how to handover buffers of data between
  these components?
 There is no ready written code. Adder (mixing) is easy to use. Just link
 your
 n-soures to it. Regarding the data-flow - the components do that by them
 self.
 Please read gstreamer documentation and study the examples in the source
 tar-balls.

 Stefan
 
  Does anybody have any insights or guidance in how to manage this?  Also
  has anybody tried doing ilbc decoding and getting a raw audio packets
  out of it?
 
  Thank you!
 
  -kwan
 
  --
  http://www.media.mit.edu/~kwan/info.htmlhttp://www.media.mit.edu/%7Ekwan/info.html
 
 
  
 
  ___
  maemo-developers mailing list
  maemo-developers@maemo.org
  https://lists.maemo.org/mailman/listinfo/maemo-developers




-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


libpcap not found?

2008-02-13 Thread Kwan Hong Lee
Hi,

I passed the host-gcc problem by using python2.5 setup.py build and by
following:
http://maemogeek.blogspot.com/2007/11/installing-qemu-arm-eabi-patch-into.html

But even after I did apt-get install libpcap0.8 and even though /usr/lib
contains libpcap.so
I get the following error that the library is not found.  /usr/lib is
specified in the library path.

Any ideas???  Thank you.

g++ -pthread -shared build/temp.linux-armv5tel-2.5/pcapdumper.o
build/temp.linux-armv5tel-2.5/bpfobj.o build/temp.linux-armv5tel-2.5/pcapy.o
build/temp.linux-armv5tel-2.5/pcapobj.o
build/temp.linux-armv5tel-2.5/pcap_pkthdr.o
-L/lib -L/usr/lib -L/usr/lib/python2.5 -L/usr/lib -lpcap -lpython2.5 -o
build/lib.linux-armv5tel-2.5/pcapy.so
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lpcap
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

-kwan


-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers