short story: it's working !! - keep reading
Some readers of this blog where still missing this feature, so I engaged the daunting task of finding some time and energy to solve this issue. After 5 hours of googling, reading documentation about acpi, linux kernel, reading c code for the linux kernel drivers, googling for ubuntu file repository source files, ... I found the solution, which is very easy:
=> keyboard lights can be easily controlled by accessing the sysfs <=
Since the sysfs is root-only, I have created a small c program, with automatic compile and install, that makes keyboard-lights accessible for any user.
Installation
1 download the fujitsu-kbdlights-0.1.0.tar.gz to any directory in your computer
2 decompress the package (it will create another directory, fujitsu-kbdlights-0.1.0/)
tar zxvf fujitsu-kbdlights-0.1.0.tar.gz
3 compile and install
cd fujitsu-kbdlights-0.1.0
make
sudo make install
4 and in a command shell, you can type
fujitsu_kbdlights on
fujitsu_kbdlights off
fujitsu_kbdlights toggle
fujitsu_kbdlights
5 if you want, you can bind any of the previous commands to a hot-key using any keyboard setup utility
Enjoy typing at night !!
Showing posts with label light. Show all posts
Showing posts with label light. Show all posts
2010-07-24
Subscribe to:
Posts (Atom)