Re: WLAN Question
Michael Matalon [EMAIL PROTECTED] writes: Another Question regarding the WLAN chipset. How do I put it into monitor mode? Is it even possible? http://www.google.com/search?q=maemo+monitor+mode Second result. Usually you get faster answers with Google, so it's a good idea try it first. I guess this search would be even more efficient: http://www.google.com/search?q=site%3Amaemo.org+monitor+mode -- Kalle Valo ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: WLAN Scanning problem
kalle ahokangas [EMAIL PROTECTED] writes: I have problem when I perform WLAN scanning when internet connection is on. I'm still trying to do an application which scans APs RSSI info and then send them to server via internet connection. This requires that I have internet connection on (wlan is associated with AP) at the same time I'm performing scanning, but when the connection is on RSSI information doesn't update properly. Only the associated AP RSSI information is uptated! You scan using wireless extensions directly, right? I have investigated the driver code and debugged the situation and I get error code -22 from sm_drv_set_scan method from sm_drv_ioctl_umac.c at line 1135: /* And finally we send the scan request */ ret = sm_drv_oid_set(dev, DOT11_OID_SCAN, (void*)scan, sizeof(int16_t)); (Do you know where I can find expanations for those errors?) Sorry, this information is not available for public. I hope you can understand the situation. The question is: Connection manager scans properly even if the internet connection is on so I assume that this scenario is doable. What I have to do to to get the scanning to work while internet connection is on? Do I have to give some parameters to the driver or what? You can see that I'm lost here but I'd appreciate your help very much again. I can't immeaditely say what's wrong. If you are using wireless extensions, I guess some parameter is missing or something like that. I think you have two choises: 1. Check how wlancond issues the scan request for the driver and try find what it does differently. wlancond is GPL and it's sources are in package osso-wlan. 2. Use DBUS interface of wlancond for scanning and you don't need to worry about anything. The downside is the the interface is a private interface and is subject to change without a warning. I would recommed option two for you. -- Kalle Valo ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Aw: Re: maemo UI problem
Hello, till now i did not found a solution. But i did not spend much time because everything i need to develop works. br Mathias - Ursprüngliche Mitteilung - Von: wolfg [EMAIL PROTECTED] An: Mathias Uebelacker [EMAIL PROTECTED] Cc: maemo-developers@maemo.org Gesendet: Mi., 14. Mär. 2007 03:27:09 GMT Betreff: Re: maemo UI problem 2007/3/14, Mathias Uebelacker [EMAIL PROTECTED]: Hello, i got the same probs after a new installation of 6.06 LTS. Mathias Hi, Is this a common problem for 6.06 LTS? Can it be resolved? -- wolfg ___ http://guoyong.org ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
using pygtk application in maemo
Hi, I created one application using pygtk and glade. The goal is ti run it on Nokia770, but first I need to install it in maemo. I created .desktop file, mikefile, setup.py and created debian package containing files such as control, rules... When I try to install it on maemo, it apear in application manager, but it doas'nt apear in Extras menu and I can't run it. When I try to run it with run-standalone.sh from terminal, it doas'nt work. In my application I use gtk widgets and use pygtk. Is it necessary to change to hildon widget to get application to be executable in maemo? Do I have to change something alse in my pygtk code to make the application executable in maemo? Is there any one who have any idea how to solve this problem?? Best regards Alma _ Schlagerfeber på MSN! http://festival.msn.se/ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: sbox2 update
On Wed, 2007-03-14 at 01:23 +0200, Daniel Stone wrote: On Tue, Mar 13, 2007 at 11:24:01PM +0100, ext Laurent GUERBY wrote: The exe is present in arm-lltc/bin [EMAIL PROTECTED]:~/work/maemo$ ls -l /home/guerby/work/maemo/arm-lltc/bin/arm-none-linux-gnueabi-gcc -rwxr-xr-x 2 guerby guerby 128352 2007-03-11 17:18 /home/guerby/work/maemo/arm-lltc/bin/arm-none-linux-gnueabi-gcc Any idea why it is not looking in arm-lltc/bin/ , ie what I could have screwed up? :) in buildroot/sb2.config I have: SBOX_CROSS_GCC_DIR=/home/guerby/work/maemo/arm-lltc You have to append the /bin here; the name is a bit misleading. Thanks, this worked (I reinstalled everything from scratch to be safe): [SB2] [EMAIL PROTECTED] ~/work/maemo/tmp $ ./hello Hello, world! [SB2] [EMAIL PROTECTED] ~/work/maemo/tmp $ file ./hello ./hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.4.17, dynamically linked (uses shared libs), not stripped scratchbox/bin/sb2-build-libtool also worked without error Is there any package where a rebuild should work out of the box? (and what is the exact rebuild command line :) Thanks in advance, Laurent ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Re: maemo UI problem
2007/3/14, Mathias Uebelacker [EMAIL PROTECTED]: Hello, till now i did not found a solution. But i did not spend much time because everything i need to develop works. br Mathias Hi, I see. Thank you! -- ___ http://guoyong.org ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: sbox2 update
On 14/03/07 12:50 +0100, Laurent GUERBY wrote: You have to append the /bin here; the name is a bit misleading. Thanks, this worked (I reinstalled everything from scratch to be safe): Cool ;) Is there any package where a rebuild should work out of the box? (and what is the exact rebuild command line :) Maemo-mapper is at least one. Get the sources, change to its directory and run: dpkg-buildpackage -rfakeroot -d -d is needed to skip build dependency checks. /lauri ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Which Scratchbox for 64bit?
I've just finished setting up my shiny new amd64 box with Ubuntu Feisty and I'm wondering which options do I have to install Maemo SDK: - installing Scratchbox Apophis by hand using the i386 .debs (using dpkg -i --force-architecture) - installing Scratchbox Apophis by hand using the *.tar.gzs - installing Scratchbox2 using Lauri Leukkunen's toolchain for amd64 (it seems that it can generate compatible arm debs, but can I develop under sb2 as well? I mean can I setup an i386 target and launch af-sb-init.sh etc.?) - use a chrooted 32bit environment and the maemo sdk installation script Thanks, Luca ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Recompiling the Kernel
Hello all, I would like to find out how to recompile the kernel with the newly released wlan drivers already embedded so that I don't have to manually remove and insert the new one. I know the remove and insert work, because I have been sucessful at it in the past, but I just want a method so that I wouldn't have to do this. Once this is done, is there a way to create my own bin file (maemo image) so that I can flash my device if I mess it up in the future? I would really appreciate some help with this hopefully in the form of steps on how to do it. I normally do a google search on how to do things but this time I decided to go straight to the developers who might have done this before. Thank you. Michael ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: OmWeather problems
Eero Tamminen wrote: skip Hm. Maybe it's doing a something funny with allocations? After this bug was triggered, disabling and enabling the plugin again crashed Desktop (both times). Have you Valgrinded Desktop with OmWeather on x86? I did not known about this method of debugging Hilldon Desktop I have found next links about it: http://maemo-hackers.org/wiki/DesktopDebugging http://test.maemo.org/support/wiki/howtousevalgrindgdbinscratchbox/ Thank you for your suggestion. Vlad Vasiliev. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: RE : Root Access for GUI App
Hi, ext Michael Matalon wrote: The app that is needs to be run runs in the background with no interaction from the user. The information is passed to a sqlite database which is read by a gtk application which displays to the screen. The background service needs to run as root in order to gather the required information. This is where my delemah is. I need to be able to rmmod the wlan driver followed by insmod and chroot. These should all run in the background. Does that make it a bit more clear of what I am trying to do? A third way to achieve this would be to have minimal server started by init scripts as root. It could e.g. listen on named pipe for requests to do something (not command line commands :-)), but having an extra process running all the time is bad also. - Eero Thanks Michael On 3/13/07, *Eero Tamminen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, ext Michael Matalon wrote: Thanks for the info, but my n800 is currently in RD mode. I would like to get my gtk app to run a command line app that needs root privilleges to run... mainly because it needs to reinstall the wlan driver. Any suggestions on how to do this as painless as possible (hopefully in the code of my app) Run the command line thing with sudo or set it suid root. (note: scripts cannot be suid, only real binaries can) UI apps should not run as root (for several reasons). - Eero ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Plash:tools for practical least privilege
At Wed, 14 Mar 2007 07:35:24 +0100, Kees Jongenburger [EMAIL PROTECTED] wrote: Hello We have talked about security before when talking about repositories and such. J2me and Applets use a sandbox model that I happen to like. I came across this product http://plash.beasts.org/ . I wonder if people have experimented with this or have ideas about sandboxes. I am searching for AppArmour kind of applications that would be lightweight enough to run on embedded devices. Check out OLPC's security framework, Bitfrost [1]. It is also based on POLA principles. [1] http://dev.laptop.org/git.do?p=security;a=blob;hb=HEAD;f=bitfrost.txt ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Which Scratchbox for 64bit?
On 14/03/07 14:28 +0100, Luca Donaggio wrote: - installing Scratchbox2 using Lauri Leukkunen's toolchain for amd64 (it seems that it can generate compatible arm debs, but can I develop under sb2 as well? I mean can I setup an i386 target and launch af-sb-init.sh etc.?) I'd be really happy if you have the patience and time to use SB2, it's not going to be a walk in the park, but I'm definitely interested in sorting out any possible issues with it. As for maemo development on x86, you *should* be able to set LD_LIBRARY_PATH, PKG_CONFIG_PATH co so that you can run the stuff without scratchbox or chroots. I've no idea why this hasn't been done already. Gnome has multiple build systems that allow for this kind of thing. So I'd go for SB2 for cross-compiling and a simple Garnome-style x86 development/testing environment. Both require quite a bit of work to get going, but would result in a much improved end-result as compared to current sb1 based thing. Effectively this would un-maemofy Maemo ;) You might be able to use some of the end-result on your regular desktop. Dunno if that's good or bad... /lauri ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
USB web cameras with 770
Connecting a USB web camera to 770 seems to work ok. Unfortunately the gstreamer for the 770 doesn't seem to support v4l2 :( or I'm even more even incompetent than I thought. I envy those N800 owners with built-in camera ;-) See http://antti.saarto.googlepages.com/ for drivers tools. I'm posting this mostly to see if someone else has similar applications in mind.. p.s. many usb devices don't really need +5v.. Has anyone tried to connect the + terminal (~3.6V) from to the USB +5V signal? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: sbox2 update
On Wed, 2007-03-14 at 14:30 +0200, Lauri Leukkunen wrote: Maemo-mapper is at least one. Get the sources, change to its directory and run: dpkg-buildpackage -rfakeroot -d -d is needed to skip build dependency checks. After installing a bunch of missing packages on my amd64 feisty box, I'm now stuck at some obscure automake-1.7 messages whil trying to build maemo-mapper-1.4.3. May be I didn't untar in the right directory? Laurent [SB2] [EMAIL PROTECTED] ~/work/maemo/tmp/maemo-mapper-1.4.3$ pwd /home/guerby/work/maemo/tmp/maemo-mapper-1.4.3 $ ls -l ../.. total 36 drwxr-xr-x 13 guerby guerby 4096 2007-03-11 17:13 arm-lltc drwxr-xr-x 21 guerby guerby 4096 2007-03-14 12:48 buildroot drwxr-xr-x 13 guerby guerby 4096 2007-03-14 12:48 buildroot.sb2cache drwxr-xr-x 2 guerby guerby 4096 2007-03-14 20:20 ftp -rw-r--r-- 1 guerby guerby 833 2007-03-14 12:41 sb2.config drwxr-xr-x 14 guerby guerby 4096 2007-03-14 12:48 sbox2 drwxr-xr-x 5 guerby guerby 4096 2007-03-14 12:43 scratchbox drwxr-xr-x 12 guerby guerby 4096 2007-03-14 20:28 scratchbox.sb2cache drwxr-xr-x 3 guerby guerby 4096 2007-03-14 20:28 tmp $ dpkg-buildpackage -rfakeroot -d dpkg-buildpackage: source package is maemo-mapper dpkg-buildpackage: source version is 1.4.3-1 dpkg-buildpackage: source changed by John Costigan [EMAIL PROTECTED] dpkg-buildpackage: host architecture amd64 dpkg-buildpackage: source version without epoch 1.4.3-1 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make clean make[1]: Entering directory `/home/guerby/work/maemo/tmp/maemo-mapper-1.4.3' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/home/guerby/work/maemo/tmp/maemo-mapper-1.4.3' make: [clean] Error 2 (ignored) dh_clean dpkg-source -b maemo-mapper-1.4.3 dpkg-source: building maemo-mapper in maemo-mapper_1.4.3-1.tar.gz dpkg-source: building maemo-mapper in maemo-mapper_1.4.3-1.dsc debian/rules build dh_testdir ./autogen.sh + glib-gettextize --copy --force ./autogen.sh: 1: glib-gettextize: not found + libtoolize --automake --copy --force cd: 159: can't cd to /usr/share/libtool libtoolize: cannot list files in `/usr/share/libtool' + intltoolize --automake --copy --force ./autogen.sh: 1: intltoolize: not found + aclocal-1.7 aclocal: configure.ac: 69: macro `AM_GLIB_GNU_GETTEXT' not found in library + autoconf --force configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:27: error: possibly undefined macro: AC_PROG_LIBTOOL configure.ac:64: error: possibly undefined macro: AC_PROG_INTLTOOL configure.ac:69: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT + autoheader --force + automake-1.7 --add-missing --copy --force-missing --foreign configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found. configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE, configure.ac: that aclocal.m4 is present in the top-level directory, configure.ac: and that aclocal.m4 was recently regenerated (using aclocal). configure.ac: installing `./install-sh' configure.ac: installing `./mkinstalldirs' configure.ac: installing `./missing' src/Makefile.am: installing `./compile' src/Makefile.am: installing `./depcomp' /usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL make: *** [configure-stamp] Error 1 ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: sbox2 update
On 3/14/07, Laurent GUERBY [EMAIL PROTECTED] wrote: After installing a bunch of missing packages on my amd64 feisty box, I'm now stuck at some obscure automake-1.7 messages whil trying to build maemo-mapper-1.4.3. May be I didn't untar in the right directory? It shouldn't matter, but I typically put the sources into my $HOME/src directory, you don't need to put them inside the buildroot dir. Do you have libtool for your host? I did an equivalent of apt-get install gnome-devel automake1.7 for my Etch. /lauri ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: sbox2 update
On Wed, 2007-03-14 at 21:46 +0200, Lauri Leukkunen wrote: On 3/14/07, Laurent GUERBY [EMAIL PROTECTED] wrote: After installing a bunch of missing packages on my amd64 feisty box, I'm now stuck at some obscure automake-1.7 messages whil trying to build maemo-mapper-1.4.3. May be I didn't untar in the right directory? It shouldn't matter, but I typically put the sources into my $HOME/src directory, you don't need to put them inside the buildroot dir. Do you have libtool for your host? I did an equivalent of $ libtool --version ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06) apt-get install gnome-devel automake1.7 It installed more than 100 packages. After that: [SB2] [EMAIL PROTECTED] ~/work/maemo/tmp $ cd maemo-mapper-1.4.3/ [SB2] [EMAIL PROTECTED] ~/work/maemo/tmp/maemo-mapper-1.4.3 $ dpkg-buildpackage -rfakeroot -d dpkg-buildpackage: source package is maemo-mapper dpkg-buildpackage: source version is 1.4.3-1 dpkg-buildpackage: source changed by John Costigan [EMAIL PROTECTED] dpkg-buildpackage: host architecture arm dpkg-buildpackage: source version without epoch 1.4.3-1 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make clean make[1]: Entering directory `/home/guerby/work/maemo/tmp/maemo-mapper-1.4.3' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/home/guerby/work/maemo/tmp/maemo-mapper-1.4.3' make: [clean] Error 2 (ignored) dh_clean dpkg-source -b maemo-mapper-1.4.3 dpkg-source: building maemo-mapper in maemo-mapper_1.4.3-1.tar.gz dpkg-source: building maemo-mapper in maemo-mapper_1.4.3-1.dsc debian/rules build dh_testdir ./autogen.sh + glib-gettextize --copy --force cd: 140: can't cd to /usr/share/glib-2.0/gettext gettext source directory '/usr/share/glib-2.0/gettext' doesn't exist + libtoolize --automake --copy --force cd: 159: can't cd to /usr/share/libtool libtoolize: cannot list files in `/usr/share/libtool' + intltoolize --automake --copy --force + aclocal-1.7 + autoconf --force + autoheader --force + automake-1.7 --add-missing --copy --force-missing --foreign configure.ac: installing `./install-sh' configure.ac: installing `./mkinstalldirs' configure.ac: installing `./missing' configure.ac:27: installing `./config.guess' configure.ac:27: installing `./config.sub' configure.ac:27: required file `./ltmain.sh' not found src/Makefile.am: installing `./compile' src/Makefile.am: installing `./depcomp' make: *** [configure-stamp] Error 1 [SB2] [EMAIL PROTECTED] ~/work/maemo/tmp/maemo-mapper-1.4.3 $ cd /usr/share/glib-2.0/gettext bash: cd: /usr/share/glib-2.0/gettext: No such file or directory Outside of sb2 I do have the mentionned directory: [EMAIL PROTECTED]:~/work/maemo/scratchbox$ ls -l /usr/share/glib-2.0/gettext total 8 -rwxr-xr-x 1 root root 1988 2007-03-09 14:52 mkinstalldirs drwxr-xr-x 2 root root 4096 2007-03-14 20:58 po I tried to rebuild hello within SB2 and it didn't work anymore: [SB2] [EMAIL PROTECTED] ~/work/maemo/tmp $ gcc -o hello hello.c hello.c:2:19: error: stdio.h: No such file or directory hello.c: In function 'main': hello.c:3: warning: incompatible implicit declaration of built-in function 'printf' I'm really confused at how the thing is supposed to be working :). I noticed that some scratchbox.sb2cache and buildroot.sb2cache directories appeared. Laurent ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: sbox2 update
On 3/14/07, Laurent GUERBY [EMAIL PROTECTED] wrote: After that: bash: cd: /usr/share/glib-2.0/gettext: No such file or directory Outside of sb2 I do have the mentionned directory: [EMAIL PROTECTED]:~/work/maemo/scratchbox$ ls -l /usr/share/glib-2.0/gettext total 8 -rwxr-xr-x 1 root root 1988 2007-03-09 14:52 mkinstalldirs drwxr-xr-x 2 root root 4096 2007-03-14 20:58 po I tried to rebuild hello within SB2 and it didn't work anymore: [SB2] [EMAIL PROTECTED] ~/work/maemo/tmp $ gcc -o hello hello.c hello.c:2:19: error: stdio.h: No such file or directory hello.c: In function 'main': hello.c:3: warning: incompatible implicit declaration of built-in function 'printf' I'm really confused at how the thing is supposed to be working :). I noticed that some scratchbox.sb2cache and buildroot.sb2cache directories appeared. Those are mapping cache directories for the sb2 environments you've used. It seems you have/had two of them ;) You always have to start sb2 in the buildroot directory. Otherwise it won't setup the paths correctly, I suspect that may explain why hello.c doesn't compile. I'll make a note to add a check for this. You can safely delete the sb2cache directories, new ones will be created as needed. Could you retry after making sure you start sb2 like this: cd ~/buildroot ../scratchbox/bin/sb2 If it doesn't work, maybe we could continue this over irc? I'm lle2 on freenode. /lauri ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: USB web cameras with 770
Antti Saarto schrieb: many usb devices don't really need +5v.. Has anyone tried to connect the + terminal (~3.6V) from to the USB +5V signal? is there a pin with 3V output voltage, which one? I have thought of using the 4th normally unused pin (see english wikipedia for more information) of the mini usb jack to get 3 volts outside the device. there connect a power up converter like MAX 756 to this pin and inject the 5v output to the normal power pins. I think that might work, but I haven't tested yet. mfg ah signature.asc Description: PGP signature signature.asc Description: OpenPGP digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: sbox2 update
On Wed, 2007-03-14 at 22:27 +0200, Lauri Leukkunen wrote: Could you retry after making sure you start sb2 like this: cd ~/buildroot ../scratchbox/bin/sb2 If it doesn't work, maybe we could continue this over irc? I'm lle2 on freenode. With that I got a bit farther, thanks! Let's wait until you've debugged the mighty touch program :) Laurent ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
How do I activate finger keyboard in python?
I am porting something that uses pygame and I need to call the keyboard. Are there docs somewhere. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers