guillaumezin/nvidiabl — Issue #26: It doesn't work on Macbook Pro 5,1
Author: Freek07
Created: 2011-12-10 16:39:53+00:00
State: open

It doesn't adjust backlight on MBP 5,1- it stays at 100% all the time.

Here is the data:
Linux Mac 3.2.0-3-generic #9-Ubuntu SMP Wed Dec 7 21:06:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

I manually compiled it and it gets loaded ok:

[ 19.978364] nvidiabl: loading driver version 0.72
[ 19.978370] nvidiabl: Apple Inc. - MacBookPro5,1 model detected in DMI tables
[ 19.978395] nvidiabl: Supported Nvidia graphics adapter 10de:0863:106b:00ac detected
[ 19.978459] nvidiabl: backup register value 0x2ac
[ 19.978460] nvidiabl: autodetecting maximum
[ 19.978462] nvidiabl: using value 0x2ac as maximum
[ 19.978463] nvidiabl: autodetecting off
[ 19.978464] nvidiabl: using value 0x0 as off
[ 19.978465] nvidiabl: autodetecting minimum
[ 19.978467] nvidiabl: minimum is 5% of maximum
[ 19.978468] nvidiabl: using value 0x64 as minimum

but it just doesn't adjust the backlight!

Here is the /sys/class/backlight/nvidia_backlight directory:
root@Mac:/sys/class/backlight/nvidia_backlight# cat actual_brightness
13
root@Mac:/sys/class/backlight/nvidia_backlight# cat brightness
14
root@Mac:/sys/class/backlight/nvidia_backlight# cat max_brightness
127
root@Mac:/sys/class/backlight/nvidia_backlight# cat bl_power
0

Echoing into files doesn't do anything.

Any ideas? :(