fso-control

digger vermont dv_mlist at verizon.net
Tue Oct 28 21:02:17 CET 2008


Hello,

Here's something I'm working on, fso-control.  

http://mysite.verizon.net/~digver/apps/fso-control.tar.gz

Uses python and edje to control the state (suspend, reboot, shutdown)
with frameworkd.  It's not unlike what I remember 2007.* and 2008.*
having when the POWER button is pressed.

Some points
* install.sh will cp the files to install but its probably safer
  to do it manually.
* It works from the desktop icon
* "lock" and "more" buttons currently do nothing.
* Add a rule to /etc/freesmartphone/oevents/rules.yaml
    -------------------------------------------
    trigger: InputEvent()
        filters:
                 - HasAttr(switch, "POWER")
                 - HasAttr(event, "pressed")
        actions: Command('fso-control')
    --------------------------------------------
* Why doesn't it work from the POWER button?
  I asked about in devel list.
  http://n2.nabble.com/-FSO-testing--Can%
27t-start-GUI-with-oevents-rule.-td1389692ef1958.html;cid=1225223928263-321

* With fso-testing /etc/dbus-1/system.d/frameworkd.conf has an error:
  Its changed in frameworkd.git.
--------------------------------------------------
    <policy user="root">
        <allow own="org.freesmartphone.ousaged"/>
-       <allow send_path="/org/freesmartphone/usage"/>
+       <allow send_path="/org/freesmartphone/Usage"/>
        <allow send_destination="org.freesmartphone.Usage"/>
        <allow receive_sender="org.freesmartphone.Usage"/>
    </policy>
------------------------------------------------
* I plan to add control of the various radios.
* I plan to figure out how to package it.
* Think thats all.  Hope it works!


digger

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.openmoko.org/pipermail/community/attachments/20081028/3849ed9b/attachment.pgp 


More information about the community mailing list