Hello,

You should use the new interface to keyboard backlight:
/sys/class/leds/smc\:kbd_backlight/brightness

This file is read/write.

(I should drop the old interface in applesmc.patch...)

Best regards,

Nicolas

Ludovic Rousseau wrote:
> Hello,
>
> Would it be possible to have the file
> /sys/devices/platform/applesmc/keyboard_backlight readable and
> reporting the current value of the keyboard backlight?
>
> My idea is to use it like backlight used to change the screen backlight:
> "keyboard_backlight +10" to increase the level
> "keyboard_backlight -10" to decrease the level
> "keyboard_backlight" to get the current value
> I can then map the F8, F9 and F10 keys to a very simple script.
>
> Is there a technical difficulty to add this in applesmc.patch?
>
> Thanks
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mactel-linux-devel mailing list
Mactel-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel

Reply via email to