Comment 10 for bug 511965

Revision history for this message
Aldrin Martoq (amartoq) wrote :

I confirm patch patch mentioned in comment #5 works wonderfully in my Macbook1,1 (first gen white macbook).
That patch is not included in latest kernel (linux-image-2.6.32-21-generic 2.6.32-21.32).

$ sudo dmidecode -s system-manufacturer
Apple Computer, Inc.
$ sudo dmidecode -s system-product-name
MacBook1,1
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

How to test:
$ sudo apt-get install linux-source
$ cd /tmp/ && tar xvfj /usr/src/linux-source* && cd linux-source-*
<< apply patch here to drivers/video/backlight/mbp_nvidia_bl.c >>
$ make oldconfig && make prepare && make scripts
$ cp /lib/modules/$(uname -r)/build/Module.symvers .
$ make M=drivers/video/backlight
$ sudo insmod drivers/video/backlight/mbp_nvidia_bl.ko
<< restart X, F1/F2 controls should be working >>