![]() |
2010-04-19
, 07:34
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#2
|
The Following 3 Users Say Thank You to danielwilms For This Useful Post: | ||
![]() |
2010-04-19
, 23:04
|
Posts: 318 |
Thanked: 735 times |
Joined on Oct 2009
|
#3
|
Hi,
powerlock uses HAL as far as I know. Maybe you could check that out.
Daniel
![]() |
2011-01-27
, 08:20
|
Posts: 99 |
Thanked: 325 times |
Joined on Jul 2010
|
#4
|
Yes, right but I was looking in the wrong way. I needed to simply add a call to libhal_ctx_set_device_condition() and all works as expected.
Thanks for your help!
is there any way to catch the press event of the powerkey?
I tried both with dbus and hal, but I didn't find anything useful.
Any hint?