View Single Post
Erazor's Avatar
Posts: 160 | Thanked: 33 times | Joined on May 2010
#20
Originally Posted by IZSkiSurfer View Post
You could try the attached file.
It moves a "kbdled" program which I coded to /opt/maemo/usr/bin

Now you have to create a file in /etc/dbus-scripts.d/ with the following content:

Code:
#:Kbdled slider
/opt/maemo/usr/bin/kbdled * * org.freedesktop.Hal.Device Condition ButtonPressed cover

#:Kbdled inactivity
/opt/maemo/usr/bin/kbdled * * com.nokia.mce.signal system_inactivity_ind

(And of course you have to have dbus-scripts installed reboot)

Program should fade when you open up the keyboard from 50 up to 255 led_current and the same when your keyboard is still open but N900 is inactive and gets reactivated.

Hope it works (is my first program so please be gentle ).
thxfor your program
sry that i have to say!
but doesn't work for me : /