View Single Post
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#21
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 ).
what name should the file in "/etc/dbus-scripts.d/" have?

I went with 'kbdled'


edit: dont think it works for me either, when i open kb lights come on for a sec then go to 50 then increases brightness. but doesnt seem any brighter

Last edited by F2thaK; 2011-06-05 at 10:10.