Thread
:
Detect button push when phone locked
View Single Post
ILikeMaemo
2010-10-20 , 17:30
Posts: 19 | Thanked: 14 times | Joined on Apr 2010
#
9
Though not as convenient as the camera or volume buttons, the lock slider between the right speaker and audio port can do the trick. dbus-monitor --system shows several messages when I press it, but I think the most useful one out of them is this one:
signal sender=:1.13 -> dest=(null destination) serial=7006 path=/org/freedesktop/Hal/devices/platform_kb_lock; interface=org.freedesktop.Hal.Device; member=Condition
string "ButtonPressed"
string "cover"
Quote & Reply
|
ILikeMaemo
View Public Profile
Send a private message to ILikeMaemo
Find all posts by ILikeMaemo