Re: [SHR] some questions
On Thu, 13 Nov 2008 19:21:43 +0100 Franky Van Liedekerke [EMAIL PROTECTED] wrote: Hi, using the latest SHR preview release, it seems it is possible to get the device to suspend if you're not using an older GTK app and press the power button for some seconds. But sometimes this works, sometimes it doesn't. Also, shouldn't the device be able to auto-suspend? The alarm app is present (me happy) but I can't find an app to set the clock time using a gui (I can of course use just the date and time commands). I'm still in the progress of 'just looking', so I don't know yet if the device wakes up from suspend for an incoming call or sms; or if the echo problem is there or not. But I'm liking this distro so far ... ok, first test for the alarm app (device suspended): - device wakes up from suspend - some seconds later, the alarm app starts but no sound (I hear a very faint clicking sound in one speaker) second test for the alarm app (device connected to usb power): - alarm app starts, but again no sound Maybe I miss some sound files? Franky ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] some questions
On Thu, 13 Nov 2008 19:52:07 +0100 Franky Van Liedekerke [EMAIL PROTECTED] wrote: On Thu, 13 Nov 2008 19:21:43 +0100 Franky Van Liedekerke [EMAIL PROTECTED] wrote: Hi, using the latest SHR preview release, it seems it is possible to get the device to suspend if you're not using an older GTK app and press the power button for some seconds. But sometimes this works, sometimes it doesn't. Also, shouldn't the device be able to auto-suspend? The alarm app is present (me happy) but I can't find an app to set the clock time using a gui (I can of course use just the date and time commands). I'm still in the progress of 'just looking', so I don't know yet if the device wakes up from suspend for an incoming call or sms; or if the echo problem is there or not. But I'm liking this distro so far ... ok, first test for the alarm app (device suspended): - device wakes up from suspend - some seconds later, the alarm app starts but no sound (I hear a very faint clicking sound in one speaker) second test for the alarm app (device connected to usb power): - alarm app starts, but again no sound Maybe I miss some sound files? Yup, that is the reason: the alarm app plays only /usr/share/alarm/sounds/phone.wav as sound file. But this dir and file aren't there. Copying it from somewhere else fixes it. The button set new alarm doesn't work though, and a snooze should be nice as well :-) And while I'm asking for features: more than one alarm and the possibility to edit the repeat would be nice :-) Now to get auto-suspend working ... or is that not possible yet? Franky ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] some questions
On Thu, 13 Nov 2008 20:03:24 +0100 Michael 'Mickey' Lauer [EMAIL PROTECTED] wrote: Am Donnerstag, den 13.11.2008, 19:21 +0100 schrieb Franky Van Liedekerke: using the latest SHR preview release, it seems it is possible to get the device to suspend if you're not using an older GTK app and press the power button for some seconds. But sometimes this works, sometimes it doesn't. This is a bug that slipped in ms4. Apply the patch from http://git.freesmartphone.org/?p=framework.git;a=commitdiff;h=d68130c6c63dc97af0ef6e00c824c01c8403527f great! I changed the input.py file, do I need to do anything else to get it to work? Since there is a input.pyo present as well, I'm assuming that is a compiled version? Hmmm nevermind, I removed that input.pyo file and that seems to do it ... Also, shouldn't the device be able to auto-suspend? Sure. Just connect a rule to the SUSPEND notification from IdleNotifier with the Suspend action. errr ... a little help? Do you mean something like this in /etc/frameworkd.conf (taken from the example frameworkd.conf in the git): [odeviced.idlenotifier] # don't read from accellerometers for GTA02 ignoreinput = 2,3 # configure timeouts (in seconds) here. A value of 0 # means 'never fall into this state' (except programatically) idle = 10 idle_dim = 20 idle_prelock = 12 lock = 2 suspend = 30 I don't understand all the parameters, maybe adding the suspend one is enough? Since it dims already ... Franky ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] some questions
Franky Van Liedekerke wrote: On Thu, 13 Nov 2008 20:03:24 +0100 Michael 'Mickey' Lauer [EMAIL PROTECTED] wrote: Also, shouldn't the device be able to auto-suspend? Sure. Just connect a rule to the SUSPEND notification from IdleNotifier with the Suspend action. errr ... a little help? Do you mean something like this in /etc/frameworkd.conf (taken from the example frameworkd.conf in the git): No I think he means editing the /etc/freesmartphone/oevent/rules.yaml file and adding a rule that looks something like : snip - trigger: DbusTrigger(system, 'org.freesmartphone.odeviced', 0, 'org.freesmartphone.Device.IdleNotifier', 'State') filters: HasAttr(status, SUSPEND) actions: Suspend() /snip Please see /etc/freesmartphone/oevent/rules.yaml and freesmartphone.org API [1] for more informations. Didier. [1] http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/index.html;hb=HEAD ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] some questions
On Thu, Nov 13, 2008 at 7:21 PM, Franky Van Liedekerke [EMAIL PROTECTED] wrote: using the latest SHR preview release, it seems it is possible to get the device to suspend if you're not using an older GTK app and press the power button for some seconds. But sometimes this works, sometimes it doesn't. Also, shouldn't the device be able to auto-suspend? If you don't disable it, and if ophonekitd didn't crash, the device will suspend if you're not charging and if there's no active call. Problem is, I unfortunately forgot the GPS users :-). This issue will be considered soon, don't worry. Regarding the suspend behavior, default on frameworkd is : short push on power = suspend, long push = shutdown. The alarm app is present (me happy) but I can't find an app to set the clock time using a gui (I can of course use just the date and time commands). Yes, this is missing :-./. I'm still in the progress of 'just looking', so I don't know yet if the device wakes up from suspend for an incoming call or sms; or if the echo problem is there or not. But I'm liking this distro so far ... Echo problem comes from frameworkd, open a ticket for that on freesmartphone.org :-) -- Julien Cassignol http://www.ainulindale.net ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community