![]() |
2008-03-25
, 22:18
|
Posts: 99 |
Thanked: 65 times |
Joined on Jan 2008
@ Finland
|
#2
|
The Following User Says Thank You to wnd For This Useful Post: | ||
![]() |
2008-03-27
, 00:24
|
Posts: 63 |
Thanked: 52 times |
Joined on Jan 2006
@ Brisbane, Australia
|
#3
|
You can read the keyboard slider status from /sys/devices/platform/gpio-switch/slide/state
It also seems that there's a DBus message at /org/freedesktop/Hal/devices/platform_slide, org.freedesktop.Hal.Device.
![]() |
2008-03-27
, 05:27
|
Posts: 88 |
Thanked: 15 times |
Joined on Jun 2007
|
#4
|
![]() |
2008-03-27
, 09:22
|
Posts: 99 |
Thanked: 65 times |
Joined on Jan 2008
@ Finland
|
#5
|
The dbus message only seems to tell you the keyboard cover state changed, it doesn't tell you if it is open or not. You need the /sys/... for that.
![]() |
2008-03-27
, 14:24
|
Posts: 88 |
Thanked: 15 times |
Joined on Jun 2007
|
#6
|
![]() |
2008-03-27
, 15:11
|
Posts: 88 |
Thanked: 15 times |
Joined on Jun 2007
|
#7
|
Is it possible to run a command or script which returns whether it thinks the keyboard is open or not?