View Single Post
Old 05-08-10, 12:52 PM   #57
Registered User
Join Date: May 2010
Posts: 4
Default Re: Linux backlight driver

I'm using openSUSE with kernel 2.6.34-rc6 and my PC is a Sony Vaio FZ31M with Nvidia 8400M GT. I have tested nvidia_bl-0.52 and it works very well with kernel 2.6.31-12, but it fails to compile in kernel 2.6.34-rc6. The file make.log reports:

DKMS make.log for nvidia_bl-0.52 for kernel 2.6.34-rc6-29-default (i586)
sab mag  8 19:49:57 CEST 2010
make: Entering directory `/usr/src/linux-2.6.34-rc6-29-obj/i386/default'
make -C ../../../linux-2.6.34-rc6-29 O=/usr/src/linux-2.6.34-rc6-29-obj/i386/default/. modules
  CC [M]  /var/lib/dkms/nvidia_bl/0.52/build/nvidia_bl.o
/var/lib/dkms/nvidia_bl/0.52/build/nvidia_bl.c:34:3: warning: #warning USE_BACKLIGHT_SUSPEND
/var/lib/dkms/nvidia_bl/0.52/build/nvidia_bl.c: In function ‘nvidia_bl_init’:
/var/lib/dkms/nvidia_bl/0.52/build/nvidia_bl.c:525: error: too few arguments to function ‘backlight_device_register’
make[3]: *** [/var/lib/dkms/nvidia_bl/0.52/build/nvidia_bl.o] Error 1
make[2]: *** [_module_/var/lib/dkms/nvidia_bl/0.52/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-2.6.34-rc6-29-obj/i386/default'
Any suggestions?
superlex88 is offline   Reply With Quote