Re: Quality assurance of stable software: my battery drained in few hours
On Sun, 2010-05-30 at 10:30 +0200, ext Sivan Greenberg wrote: Stuck could be deduced for example when the process is in more then 90% CPU for more than a threshold duration that we will predetermine and being idle on its I/O streams. But that would prevent running s...@home ;) Browser could easily take 90% CPU in a legal case when flash is involved. -Kimmo Sivan On Sun, May 30, 2010 at 11:24 AM, Daniil Ivanov daniil.iva...@gmail.com wrote: Hi Sivian! How do you define the stuck? It's Ok for the process to consume 90% of CPU time for short period of time. Thanks, Daniil. On Sun, May 30, 2010 at 11:20 AM, Sivan Greenberg si...@omniqueue.com wrote: Hey Daniil, If a process is stuck in and awakened , and consumes more then a $PERDEFINED % of cpu, and it's output and input streams are idle, then I'd say we need to seriously consider killing it. Sivan On Sun, May 30, 2010 at 11:07 AM, Daniil Ivanov daniil.iva...@gmail.com wrote: Hi Silvan! In these terms GPS and WiFi are also maligant. How kernel or anything else could know what is reasonable power consumption for a process? Thanks, Daniil. On Sat, May 29, 2010 at 10:49 PM, Sivan Greenberg si...@omniqueue.com wrote: Actually, I would think the kernel should already do something like that... On Sat, May 29, 2010 at 10:48 PM, Sivan Greenberg si...@omniqueue.com wrote: Doesn't the userland carry some sort of process monitoring, killing malignant processes ? If not, we should develop something like this for MeeGo. Sivan On Sat, May 29, 2010 at 10:44 PM, Aniello Del Sorbo ani...@gmail.com wrote: On 29 May 2010 10:03, Andrea Grandi a.gra...@gmail.com wrote: Hi, On 29 May 2010 19:02, Ian v...@riseup.net wrote: Hi I went to sleep at 3:00, I wake up few minutes ago with the N900 powered off. There was not any active connection when I went to sleep, so could anyone please explain me WHO drained my whole battery?! Bluetooth? I'd check that I never use it Is this a freshly flashed N900? Or did you restore from a backup? I had mine died yesterday in half a day because a process (I think intellisync or something like that) was stuck somehow somewhere. I have mine from a restored backup. Sure I wanted it to be stable after a restore, but sometimes old config files/settings/whatever cause unexpected (quite impossible to catch in testing) behaviors. -- anidel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Quality assurance of stable software: my battery drained in few hours
Okay, so we could special case certain process or process groups that need that sort of CPU intensity (I wonder how Chrome is in that regard) . If N900 had a larger stronger battery and if my 3G data connection would have been free, I would not had any objections running s...@home on my N900! I'm quite sure we are not alone in this universe ;) Sivan 2010/5/31 Kimmo Hämäläinen kimmo.hamalai...@nokia.com: On Sun, 2010-05-30 at 10:30 +0200, ext Sivan Greenberg wrote: Stuck could be deduced for example when the process is in more then 90% CPU for more than a threshold duration that we will predetermine and being idle on its I/O streams. But that would prevent running s...@home ;) Browser could easily take 90% CPU in a legal case when flash is involved. -Kimmo Sivan On Sun, May 30, 2010 at 11:24 AM, Daniil Ivanov daniil.iva...@gmail.com wrote: Hi Sivian! How do you define the stuck? It's Ok for the process to consume 90% of CPU time for short period of time. Thanks, Daniil. On Sun, May 30, 2010 at 11:20 AM, Sivan Greenberg si...@omniqueue.com wrote: Hey Daniil, If a process is stuck in and awakened , and consumes more then a $PERDEFINED % of cpu, and it's output and input streams are idle, then I'd say we need to seriously consider killing it. Sivan On Sun, May 30, 2010 at 11:07 AM, Daniil Ivanov daniil.iva...@gmail.com wrote: Hi Silvan! In these terms GPS and WiFi are also maligant. How kernel or anything else could know what is reasonable power consumption for a process? Thanks, Daniil. On Sat, May 29, 2010 at 10:49 PM, Sivan Greenberg si...@omniqueue.com wrote: Actually, I would think the kernel should already do something like that... On Sat, May 29, 2010 at 10:48 PM, Sivan Greenberg si...@omniqueue.com wrote: Doesn't the userland carry some sort of process monitoring, killing malignant processes ? If not, we should develop something like this for MeeGo. Sivan On Sat, May 29, 2010 at 10:44 PM, Aniello Del Sorbo ani...@gmail.com wrote: On 29 May 2010 10:03, Andrea Grandi a.gra...@gmail.com wrote: Hi, On 29 May 2010 19:02, Ian v...@riseup.net wrote: Hi I went to sleep at 3:00, I wake up few minutes ago with the N900 powered off. There was not any active connection when I went to sleep, so could anyone please explain me WHO drained my whole battery?! Bluetooth? I'd check that I never use it Is this a freshly flashed N900? Or did you restore from a backup? I had mine died yesterday in half a day because a process (I think intellisync or something like that) was stuck somehow somewhere. I have mine from a restored backup. Sure I wanted it to be stable after a restore, but sometimes old config files/settings/whatever cause unexpected (quite impossible to catch in testing) behaviors. -- anidel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Optification and plug-ins
Hi, as there has been no news since February, I think I should see whether or not someone is still responsible for this bug: https://bugs.maemo.org/show_bug.cgi?id=7707 Basically it means that if you have a program, which is extensible via plug-ins, you cannot optify it. I would like to do a stable Conboy release soon and I think it should be optified to pass QA. If anyone knows something - please let me know. Thanks! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Optification and plug-ins
Conny, If an application is extensible via plugins, those plugins need to be installed into a known location. For Conboy, why can't that be /opt/conboy/shared/ (or similar). What is the problem you're trying to solve, is it one purely caused by automatic optification? If so, I'm sure we can find you some assistance, if necessary, to have the bulk of your package go in /opt/conboy. Hope that helps, Andrew On 31/05/2010, Cornelius Hald h...@icandy.de wrote: Hi, as there has been no news since February, I think I should see whether or not someone is still responsible for this bug: https://bugs.maemo.org/show_bug.cgi?id=7707 Basically it means that if you have a program, which is extensible via plug-ins, you cannot optify it. I would like to do a stable Conboy release soon and I think it should be optified to pass QA. If anyone knows something - please let me know. Thanks! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ Maemo Community Council chair ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Optification and plug-ins
Hi Andrew, I think the problem is only connected with automatic optification. To be honest I've not tried to manually optify. Mostly because I think it should be automatic but also because changing something at the autotools config is always a pain. And yea, I'm a lazy bastard ;) I'm still hoping that someone wants to fix that properly. If not - well I'll have to do it manually I guess... Anyways, thanks for offering your help :) Conny - Ursprüngliche Mitteilung - Conny, If an application is extensible via plugins, those plugins need to be installed into a known location. For Conboy, why can't that be /opt/conboy/shared/ (or similar). What is the problem you're trying to solve, is it one purely caused by automatic optification? If so, I'm sure we can find you some assistance, if necessary, to have the bulk of your package go in /opt/conboy. Hope that helps, Andrew On 31/05/2010, Cornelius Hald h...@icandy.de wrote: Hi, as there has been no news since February, I think I should see whether or not someone is still responsible for this bug: https://bugs.maemo.org/show_bug.cgi?id=7707 Basically it means that if you have a program, which is extensible via plug-ins, you cannot optify it. I would like to do a stable Conboy release soon and I think it should be optified to pass QA. If anyone knows something - please let me know. Thanks! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ Maemo Community Council chair ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
changing the default camera event triggers
I would like to do the following: 1. Have the open camera shutter action start the led flashlight app rather than the camera 2. Have the camera button kill the flashlight app and start the camera Is it possible? Any pointers on how to get started with this? martin ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
errors on SDK install
Hello, I have a problem setting up the development environment. I use Debian Lenny version 2.6.26-2-486 (Debian 2.6.26-21lenny4). I tried to follow the instructions given on http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation#Installing_Maemo_5_SDK_on_x86-32_Debian_based_distribution At the step maemo-sdk-install_5.0.sh I get the following error messages: Setting up scratchbox targets - Setting up 'FREMANTLE_ARMEL' target. You dont have active target in scratchbox chroot. Please create one by running sb-menu before continuing /scratchbox/login: line 247: 6318 Illegal instruction $PYTHON /scratchbox/tools/bin/sbrsh-conf umount /dev/null You dont have active target in scratchbox chroot. Please create one by running sb-menu before continuing /scratchbox/login: line 247: 6337 Illegal instruction $PYTHON /scratchbox/tools/bin/sbrsh-conf umount /dev/null You dont have active target in scratchbox chroot. Please create one by running sb-menu before continuing /scratchbox/login: line 247: 6356 Illegal instruction $PYTHON /scratchbox/tools/bin/sbrsh-conf umount /dev/null Unpacking rootstrap... /scratchbox/login: line 247: 6393 Illegal instruction $PYTHON /scratchbox/tools/bin/sbrsh-conf umount /dev/null Installing fakeroot version 1.4.2.1... /scratchbox/login: line 247: 7993 Illegal instruction $PYTHON /scratchbox/tools/bin/sbrsh-conf umount /dev/null Target 'FREMANTLE_ARMEL' has been created. Setting up 'FREMANTLE_X86' target. /scratchbox/login: line 247: 8030 Illegal instruction $PYTHON /scratchbox/tools/bin/sbrsh-conf umount /dev/null /scratchbox/login: line 247: 8065 Illegal instruction $PYTHON /scratchbox/tools/bin/sbrsh-conf umount /dev/null /scratchbox/login: line 217: 8080 Illegal instruction (core dumped) /scratchbox/sbin/chroot-uid /scratchbox/users/roman /scratchbox/tools/bin/env - _SBOX_USER_GROUPNAME=$_SBOX_USER_GROUPNAME _SBOX_DIR=$SBOX_PATH PATH=$PATH SBOX_REDIRECT_FROM_DIRS=$SBOX_REDIRECT_FROM_DIRS SBOX_REDIRECT_TO_DIRS=$SBOX_REDIRECT_TO_DIRS SBOX_PRELOAD=$SBOX_PRELOAD HOME=$HOME USER=$USER TERM=$TERM LOGNAME=$LOGNAME /scratchbox/tools/bin/bash -l /scratchbox/tools/bin/exec.sh /home/roman sb-conf select FREMANTLE_X86 /scratchbox/login: line 247: 8100 Illegal instruction $PYTHON /scratchbox/tools/bin/sbrsh-conf umount /dev/null E: Scratchbox command 'sb-conf select' returned error 0. python --version yields Python 2.5.2 Please advice me on how to solve this issue. Thanks a lot for your support! Regards, Roman ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: changing the default camera event triggers
Id like to know if this is possible too - Original message - I would like to do the following: 1. Have the open camera shutter action start the led flashlight app rather than the camera 2. Have the camera button kill the flashlight app and start the camera Is it possible? Any pointers on how to get started with this? martin ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Display list of user-running and system-running applications
Hello, There are a few applications running on Scratchbox / target device at all time. eg: clock, calendar etc And there are few user applications running on system. I want to display the list of these user-running and system-running applications. I have tried using proc command but it gives list of running processes in the system. I want to get list of running application names from the system. I have searched for API for the same but with no luck. Development language : Maemo C using GTK Please tell me how can i achieve the same. Thanks. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Optification and plug-ins
ext Cornelius Hald h...@icandy.de writes: as there has been no news since February, I think I should see whether or not someone is still responsible for this bug: https://bugs.maemo.org/show_bug.cgi?id=7707 Yep, that's me. Thanks for the reminder, I'll get back to this soon. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers