unable to calibrate screen brightness on Thinkpad SL500

Asked by Gajendra Bang on 2012-02-13

Hi,

I have installed ubuntu 11.10 on my thinkpad SL 500 laptop. The screen is very bright and I want to calibrate but when I go for it, the calibrate button is disabled. The profile is named as "lenovo(invalid)"

Could you please help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu acpi Edit question
Assignee:
No assignee Edit question
Last query:
2012-02-13
Last reply:
2012-02-13

Seems to need:

echo "options lenovo-sl-laptop control_backlight=1" | sudo tee /etc/modprobe.d/lenovo-sl-laptop.modprobe.conf

Should do it

Gajendra Bang (gajendrabang) said : #3

When I try to "make all", I got this. Any help

gajendra@thinkpad:~/Downloads/lenovo-sl-laptop$ make all
make -C /lib/modules/3.0.0-12-generic/build M=/home/gajendra/Downloads/lenovo-sl-laptop modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-12-generic'
  CC [M] /home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.o
/home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c: In function ‘backlight_init’:
/home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c:674:4: error: too few arguments to function ‘backlight_device_register’
include/linux/backlight.h:114:33: note: declared here
/home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c: In function ‘hkey_poll_kthread’:
/home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c:1117:3: error: implicit declaration of function ‘msleep_interruptible’ [-Werror=implicit-function-declaration]
/home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c: In function ‘hkey_inputdev_init’:
/home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c:1224:28: warning: assignment from incompatible pointer type [enabled by default]
/home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.c:1225:28: warning: assignment from incompatible pointer type [enabled by default]
cc1: some warnings being treated as errors

make[2]: *** [/home/gajendra/Downloads/lenovo-sl-laptop/lenovo-sl-laptop.o] Error 1
make[1]: *** [_module_/home/gajendra/Downloads/lenovo-sl-laptop] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-12-generic'
make: *** [all] Error 2
gajendra@thinkpad:~/Downloads/lenovo-sl-laptop$

Can you help with this problem?

Provide an answer of your own, or ask Gajendra Bang for more information if necessary.

To post a message you must log in.