Re: [maemo-developers] Frustrating power downs...
Martin Mueller wrote: Hi, Wup! On Tue, May 02, 2006 at 01:59:32PM +0200, Nils Faerber wrote: Does anybody else see this happening? Yes, me. Ah, puh, at least I am not alone ;) Are there any hints on what might be tha cause? It happened to my device when I had a lot of 3rd-party packages installed. I reflashed it from scratch and did only install xterm. It still reboots randomly but doesn't power off anymore. I test it in this configuration since around 10 days now and didn't have a power off. Last time it happened I had an uptime of 10 days :( Good luck that your's keeps up now! bye MM Cheers nils faerber -- kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen Mob: +49-176-21024535 -- ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
On 5/3/06, Amit Kucheria [EMAIL PROTECTED] wrote: [suspicious shutdowns] I assume that you have ensured you do not leave the device in RD mode. Just a note on this: RD mode has only the notorious power draining effect if the serial console is enabled (which AFAIK is not by default). -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
Hi, On Tue, 2006-05-02 at 10:49 -0400, ext Chris Bare wrote: I am wondering if this is a hardware or software fault? Does anybody else see this happening? Are there any hints on what might be tha cause? And especially if this can be fixed? I too have seen mysterious power downs. So far I haven't been able to detect a pattern. Sometimes I've plugged it in to recharge and when I came back and opened the cover it had powered down. I wonder if a surge or static shock might cause it in this case, high unlikely, whatever would be able have such an effect would probably fry it for good. but other times I've just found it in the off state when I know I left it on, and the batter still had a charge. It would help to know which sw you are running: is it vanilla or are you using a custom set of packages? -- Cheers, Igor Igor Stoppa (Nokia M - OSSO / Tampere) ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
On ons, 2006-05-03 at 09:42 +0200, ext Nils Faerber wrote: Martin Mueller wrote: Hi, Wup! On Tue, May 02, 2006 at 01:59:32PM +0200, Nils Faerber wrote: Does anybody else see this happening? Yes, me. Ah, puh, at least I am not alone ;) Are there any hints on what might be tha cause? It happened to my device when I had a lot of 3rd-party packages installed. I reflashed it from scratch and did only install xterm. It still reboots randomly but doesn't power off anymore. I test it in this configuration since around 10 days now and didn't have a power off. Last time it happened I had an uptime of 10 days :( Good luck that your's keeps up now! Some of the software on the device is run by a software lifeguard that either reboots the device when the software crashes, or tries to respawn it a certain number of times, then reboots the device if this fails. So my guess is that something causes one of those to crash. Examples of software that run with this kind of policy is the X-server, bme, mce, and the dsp software. The problem is that tracking down this kind of bugs is extremely tricky unless you can somehow come up with a reproducible way of triggering the bug (even if it takes 10 days the bug can still be located with the proper tools if there's a reproducible way to trigger it). So any further input is *warmly* accepted. Regards: David ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
On ons, 2006-05-03 at 09:42 +0200, ext Nils Faerber wrote: Martin Mueller wrote: Hi, Wup! On Tue, May 02, 2006 at 01:59:32PM +0200, Nils Faerber wrote: Does anybody else see this happening? Yes, me. Ah, puh, at least I am not alone ;) Are there any hints on what might be tha cause? It happened to my device when I had a lot of 3rd-party packages installed. I reflashed it from scratch and did only install xterm. It still reboots randomly but doesn't power off anymore. I test it in this configuration since around 10 days now and didn't have a power off. Last time it happened I had an uptime of 10 days :( Good luck that your's keeps up now! Oh, one more thing: did you restore any backups, or was the device completely standard except for that xterm? Regards: David ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
On Wed, May 03, 2006 at 12:01:43PM +0300, Weinehall David (Nokia-M/Tampere) wrote: Oh, one more thing: did you restore any backups, or was the device completely standard except for that xterm? It reboots about every second day without installing anything except xterm and copying over the opera bookmarks manually as well as editing the opera rc-file to make the zoom buttons scroll up and down. Later (about 4 days ago, when I took it with me away from my home) I restored the backup from the .51 release since I was too lazy to reenter all the WEP keys. That didn't change anything sigificantly. It would be nice, if the software could report the reboot or poweroff reason in some logfile (maybe it does and I didn't find it). bye MM -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
On Wed, May 03, 2006 at 11:37:54AM +0300, Amit Kucheria wrote: Is the battery drained at this point when you get it to power on again? Any particular applications that you keep running when this happens? One time it was drained when I had the audio player opened. I had it play a part of an audio book and didn't bother to close the cover after it was finished, just left it lying next to my bed. The next morning it was powered off and the battery empty. This happened only once though. I assume that you have ensured you do not leave the device in RD mode. No, I have RD mode enabled all the time, but switched serial console off (it drains a lot of power). Will it make a difference if RD mode is disabled? bye MM -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Shared Library problems
Hello, we are developing a software to 770 with Python and having problems with shared object. Main.py uses shared library file. This works well in scratchbox, where .so-file is in the same folder with main.py. But does not work in the device.I tried to solve problem like this: Shared library file goes to /var/lib/install/usr/lib/ during istallation and I placed symbolic link to it like this: ln -s /var/lib/install/usr/lib/sharedlibrary.so . When I run the main file, import error occurs: ImportError : /var/lib/install/usr/bin/mblob/sharedlibrary.so (folder where main.py is) cannot open shared object file: No such file or directory Any idea how this should be done? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
On ons, 2006-05-03 at 11:15 +0200, ext Martin Mueller wrote: On Wed, May 03, 2006 at 12:01:43PM +0300, Weinehall David (Nokia-M/Tampere) wrote: Oh, one more thing: did you restore any backups, or was the device completely standard except for that xterm? It reboots about every second day without installing anything except xterm and copying over the opera bookmarks manually as well as editing the opera rc-file to make the zoom buttons scroll up and down. Later (about 4 days ago, when I took it with me away from my home) I restored the backup from the .51 release since I was too lazy to reenter all the WEP keys. That didn't change anything sigificantly. It would be nice, if the software could report the reboot or poweroff reason in some logfile (maybe it does and I didn't find it). It should be noted that there is a big difference between poweroff and reboot. If the device reboots, it is very likely a software error; usually triggered by memory leaks or system essential software dying. Shutdowns on the other hand are usually caused by an empty (or near-empty) battery, or hardware errors (empty battery should cause a clean shutdown, hardware errors a non-clean shutdown). So, when reporting this kind of problems, please *clearly* state whether you're having problems with the device powering off or with reboots. They are generally two completely disjoint sets of problems. Regards: David ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] gtkmm Installation in scratchbox
Hello, now I have installed the hildon-fmmm and the hildon-widgetsmm. The problem was the separate command: ./configure --prefix/usr With these command the installation works: ./configure --enable-maintainer-mode --prefix=/usr But where is the documentation of the libs? How could I create the documentation? Regards, Damaris On Thu, 2006-04-27 at 10:49 +0200, Damaris Kröger wrote: Hello, i tried to install gtkmm for maemo, i installed sigc++ (libsigc++-2.0.17) glibmm-2.4 (glibmm-2.6.1) gtkmm-2.4 (gtkmm-2-6.5) How did you install them? From source, or from some debian packages? PKG_CONFIG_PATH=/usr/lib/pkgconfig SBOX_DEFAULT_AUTOCONF=2.59 SBOX_DEFAULT_AUTOMAKE=1.8 I had big problems to install the library hildon-fmmm-0.1.0 (I get the Sources from the SVN-Repository), because the result of the 'pkg-config --libs' wasn't complete (the library hildonwidgets was missing). This is not clear to me. Exactly what error message did you see? Are you building in a separate prefix, or in /usr, or /usr/local? I recommend jhbuild to get this right: http://maemo.org/maemowiki/MaemoWithJhbuild I don't know why because the PKG_CONFIG_PATH is set. The error message was: /*`/home/vlg/hildon-fmmm/hildon-fm/hildon-fmmm/private' make[4]: *** No rule to make target `file-chooser-dialog_p.h', needed by `all-am'. Stop.*/ This is probably a problem with the autotools. I am using these tools inside jhbuild, but it's probably not the whole story: [sbox-SDK_maemo_686: ~] jhbuild --file=/home/murrayc/.jhbuildrc_maemo shell sh-2.05b$ autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. sh-2.05b$ automake --version automake (GNU automake) 1.9.6 Written by Tom Tromey [EMAIL PROTECTED]. Copyright 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. sh-2.05b$ [snip] By the way, I just built hildon-widgetsmm and all its dependencies with jhbuild, successfully. -- -- Damaris Kröger Anwendungsentwicklerin GEDIM AG - Entwicklung Bergmannstraße 32, 44809 Bochum eMail: [EMAIL PROTECTED] Tel.: +49 (234) 89393-73 Fax.: +49 (234) 89393-99 -- ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
On Wed, May 03, 2006 at 01:43:51PM +0300, Amit Kucheria wrote: On Wed, 2006-05-03 at 11:21 +0200, ext Martin Mueller wrote: One time it was drained when I had the audio player opened. I had it play a part of an audio book and didn't bother to close the cover after it was finished, just left it lying next to my bed. The next morning it was powered off and the battery empty. This happened only once though. Keeping the audio player in 'paused' state doesn't allow power saving mode currently. That is the most likely cause for a battery drain in the above case. It will be fixed in the OS upgrade. No it was definitely not paused. It just finshed playing a mp3 file. Please send details of your software configuration: - Fiasco image version? Nokia_770_SE2005_5_2006_13_7.bin Reboots happend more often with Nokia_770_3.2005.51-13.bin even more than once a day. - extra applications loaded? osso-xterm - applications running when behaviour observed? opera, audio player, mahjong - restore from backup? either case, doesn't matter Also, can you check if you observe this behaviour with the official images _without_ restoring settings from older releases? Yes, happens too. bye MM -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
On Wed, May 03, 2006 at 01:37:41PM +0300, Weinehall David (Nokia-M/Tampere) wrote: So, when reporting this kind of problems, please *clearly* state whether you're having problems with the device powering off or with reboots. They are generally two completely disjoint sets of problems. I had 3 powerdowns with the Nokia_770_3.2005.51-13.bin image. After one powerdown the battery was empty (the audio player case). The other two times the battery was still halfway full after powering the device on again. I haven't had a poweroff with Nokia_770_SE2005_5_2006_13_7.bin yet, only reboots. bye MM -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Re: [maemo-users] Home Button
Hi, is there a method for intercepting the pressure of the home key and avoiding to iconify the current window? My aim is to make a fullscreen application in a sort of kiosk mode but if the users can press that button they always can switch to desktop... If user is not supposed to be able to run anything else besides the fullscreen application, replace Desktop with your fullscreen application, that way your application will also have more memory available... :-) - Eero ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Constantly rebooting
You can use the flasher tool to flash you nokia. But all you data will be loss. Here you can get the original image from nokia: http://www.maemo.org/downloads/nokia_770.php Here is the howto for the flasher: http://maemo.org/platform/docs/howtos/howto_use_flasher_rootfs.html but maybe there is a better way? Is there a way to restore my 770 if after scp'n a big file to my 770 I now have it constantly restarting? Can I use the flasher to restore it? Is there a magical key sequence that will allow me to blank out the flash? help? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Constantly rebooting
Is there a way to restore my 770 if after scp'n a big file to my 770 I now have it constantly restarting? Can I use the flasher to restore it? Is there a magical key sequence that will allow me to blank out the flash? help? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Re: [maemo-users] Constantly rebooting
Hi, On Wed, 2006-05-03 at 09:31 -0400, ext Jeremy Mcnicoll wrote: Is there a way to restore my 770 if after scp'n a big file to my 770 I now have it constantly restarting? Can I use the flasher to restore it? Yes, flasher should be enough. Is there a magical key sequence that will allow me to blank out the flash? help? ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users -- Cheers, Igor Igor Stoppa (Nokia M - OSSO / Tampere) ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
but other times I've just found it in the off state when I know I left it on, and the batter still had a charge. It would help to know which sw you are running: is it vanilla or are you using a custom set of packages? It doesn't happen too often, but 90% of the time I'm probably running just fbreader in full screen mode when I slide the case on. I have installed xterm, vim, ssh, and a few other apps, but mostly I use fbreader and the web browser. -- Chris Bare [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
Hi, It would help to know which sw you are running: is it vanilla or are you using a custom set of packages? It doesn't happen too often, but 90% of the time I'm probably running just fbreader in full screen mode when I slide the case on. I have installed xterm, vim, ssh, and a few other apps, but mostly I use fbreader and the web browser. Just in case, you might check what fbreader does when you e.g. top browser on top of it: - install (e.g. Debian) strace on the device, attach to the fbreader process with 'strace -p PID' and see whether it has any activity although it's on the background (it shouldn't) - After untopping the fbreader, get it's memory usage values: grep Vm /proc/PID/status Wait e.g. an hour and take the memory usage values again to see whether fbreader memory usage grows while it's idle (it shouldn't) Well integrated apps in the device implement state saving and can be killed (to save memory) when they are backgrounded and re-started by the system when user switches back to them. If app is using too much memory without behaving nicely with rest of the system, it might cause OOM and in rare case this might result in a reboot. - Eero ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Frustrating power downs...
One time it was drained when I had the audio player opened. I had it play a part of an audio book and didn't bother to close the cover after it was finished, just left it lying next to my bed. The next morning it was powered off and the battery empty. This happened only once though. Keeping the audio player in 'paused' state doesn't allow power saving mode currently. That is the most likely cause for a battery drain in the above case. It will be fixed in the OS upgrade. No it was definitely not paused. It just finshed playing a mp3 file. There is also a known bug that causes power drain if you leave headphones plugged in with the audio player open. https://maemo.org/bugzilla/show_bug.cgi?id=383 Mike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Shared Library problems
When I run the main file, import error occurs: ImportError : /var/lib/install/usr/bin/mblob/sharedlibrary.so (folder where main.py is) cannot open shared object file: No such file or directory Any idea how this should be done? Try putting the .so's in /var/lib/install/usr/lib/python2.4/site-packages... ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers