AUX/Power Button are malfunctioning on 2008.9 + updates from testing
John Lee
john_lee at openmoko.com
Tue Sep 2 09:11:06 CEST 2008
On Tue, Sep 02, 2008 at 01:27:38AM -0400, Yaroslav Halchenko wrote:
>
> could anyone do smth similar just to confirm if I am at least heading
> the right direction?
this should really be fixed in the distro, but here is the quick fix:
* ssh to neo
* find the pid of any child process of enlightenment. for example
/usr/bin/enlightenment_fm
* cat /proc/<pid>/environ, find E_IPC_SOCKET and export it.
e.g. export E_IPC_SOCKET=/tmp/enlightenment-root/disp-:0.0-1448
* enlightenment_remote -binding-key-add \
ANY Execute NONE 1 "delayed_action" "[0.0 exec dbus-send --system --dest=org.openmoko.Power / org.openmoko.Power.Core.RequestResourceState string:cpu string:illume-cmdline string:off] [2.0 halt_now]"
enlightenment_remote -binding-key-add \
ANY Keycode-177=NONE 1 "simple_lock" ""
Regards,
John
More information about the devel
mailing list