The Following User Says Thank You to glabifrons For This Useful Post: | ||
![]() |
2011-09-17
, 15:23
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#2
|
The Following User Says Thank You to jstokes For This Useful Post: | ||
![]() |
2011-09-17
, 16:31
|
Posts: 149 |
Thanked: 134 times |
Joined on Jul 2007
@ Florida
|
#3
|
The Following User Says Thank You to glabifrons For This Useful Post: | ||
![]() |
2011-09-17
, 16:38
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#4
|
The Following 2 Users Say Thank You to jstokes For This Useful Post: | ||
![]() |
2011-09-17
, 18:00
|
Posts: 149 |
Thanked: 134 times |
Joined on Jul 2007
@ Florida
|
#5
|
================================= Arg 1: :1.13 Arg 2: null Arg 3: org.freedesktop.Hal.Device Arg 4: PropertyModified ================================= Arg 1: :1.13 Arg 2: null Arg 3: org.freedesktop.Hal.Device Arg 4: Condition Arg 5: ButtonPressed Arg 6: cover =================================
/usr/local/bin/screenunlocked * * com.nokia.mce.signal tklock_mode_ind unlocked /usr/local/bin/screenlocked * * com.nokia.mce.signal tklock_mode_ind locked
/usr/local/bin/camerashutter * * org.freedesktop.Hal.Device Condition ButtonPressed cover
camerashutter called screenunlocked called camerashutter called
camerashutter called screenlocked called camerashutter called
camerashutter
Yes, I've searched... for a while now. Googling "+(maemo OR n900) +dbus open close +(camera OR lense) +(cover or shutter)" doesn't return anything useful.
The problem is, according to "dbus-monitor --system", the same two signals are sent whether the camera cover is opening or closing.
Shutter opening:
One thing I noticed is dmesg does show the difference:
Does anyone know what line I can use with dbus-scripts to distinguish camera cover opening from closing?