![]() |
Re: Detect hw keyboard slide event
Quote:
|
Re: Detect hw keyboard slide event
There should also be a dbus signal (/org/freedesktop/Hal/devices/platform_slide on Diablo) so you don't need to poll /sys unnecessarily.
|
Re: Detect hw keyboard slide event
This is for informational purposes. To monitor dbus calls live:
Code:
dbus-monitor --profile --system |
Re: Detect hw keyboard slide event
Quote:
state has changed. Than you read the value from /sys/devices/platform/gpio-switch/slide/state to see, if the slide is open or closed. regards Nicolai |
Re: Detect hw keyboard slide event
Quote:
|
Re: Detect hw keyboard slide event
In case you haven't found it already, the initial thread for lockdaemon is http://talk.maemo.org/showthread.php?t=47439
|
Re: Detect hw keyboard slide event
Quote:
|
Re: Detect hw keyboard slide event
For informational purposes. Here is a quote from an answer to the same question from the qt-interest mailing list.
Quote:
|
Re: Detect hw keyboard slide event
Quote:
ssh into the phone or run in xterm: lshal -m You should be able to see the hal events if you now slide the keyboard. You can use "libhal-dev" if you program in C. This tuttorial should help you get going: http://madison-project.wdfiles.com/l...l_Tutorial.pdf |
Re: Detect hw keyboard slide event
@fsguru
That's great info. Thanks. |
| All times are GMT. The time now is 22:10. |
vBulletin® Version 3.8.8