Page 1 of 1

Keyboard brightness macbook 4,2

PostPosted: Sep 1st, '12, 21:20
by joku
Hello,

I installed mageia 2 on my macbook 4,2. I had some little problems, but nothing seriously.

The keyboard brightness control doesn't works.

The kernelmodule apple_bl is loaded:
Code: Select all
lsmod | grep -i apple_bl
apple_bl               13225  0


There is missing the link
/sys/class/backlight/apple_backlight which is described here:
https://bugs.mageia.org/show_bug.cgi?id=5570

I only have acpi_video@ and intel_backlight@.
The intel_backlight is for the display.

Anybody with a hint?

Thanks for reading my post.

Re: Keyboard brightness macbook 4,2

PostPosted: Sep 2nd, '12, 09:58
by joku
I tested gnome insted of kde and the keyboard light works. But its a bit confusing why there is missing the link. I located the system directory of the backlight:
/sys/devices/platform/applesmc.768/leds/smc\:\:kbd_backlight/

I tried to create the link apple_backlight in the directory /sys/class/backlight. Doesn't works.

Re: Keyboard brightness macbook 4,2

PostPosted: Sep 2nd, '12, 11:04
by joku
I can change the light in gnome with keys F5 and F6. In kde I have to open a terminal and become root.
Code: Select all
 
su
cp /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/

Light off:
Code: Select all
 
echo 0 > brightness

Light full power:
Code: Select all
 
echo 255 > brightness