Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

227 Posts

09-12-2008

Atlanta, GA USA

504 Signins

4269 Page Views

  • Posts: 227
  • Registered: ‎09-12-2008
  • Location: Atlanta, GA USA
  • Views: 4269
  • Message 1 of 7

SL series linux brightness controls and hotkeys driver

2009-03-02, 5:36 AM

One of the linux kernel devs has an sl series with intel graphics, and fixed our brightness problems! I've tested this module, works pretty well.  Try it, you'll like it.  It also makes the other hotkeys work.

 

you'll have to compile it, install it, blacklist video, and u should be good.

 

 

http://github.com/tetromino/lenovo-sl-laptop/tree/master

Message Edited by garytr23 on 03-01-2009 09:38 PM
Lenovo SL300 Owner
earning an MSECE at GATech, with undergrad in BME.
Reply
Options

281 Posts

10-01-2008

Denver, CO

461 Signins

3923 Page Views

  • Posts: 281
  • Registered: ‎10-01-2008
  • Location: Denver, CO
  • Views: 3923
  • Message 2 of 7

Re: SL series linux brightness controls and hotkeys driver

2009-03-02, 21:00 PM
I think I saw something about this getting into the 2.6.29-rcsomethingotherother kernel as well.  So, in the future it might be a simple kernel upgrade.  Lenovo should send that guy a Pizza.
Reply
Options

227 Posts

09-12-2008

Atlanta, GA USA

504 Signins

4269 Page Views

  • Posts: 227
  • Registered: ‎09-12-2008
  • Location: Atlanta, GA USA
  • Views: 4269
  • Message 3 of 7

Re: SL series linux brightness controls and hotkeys driver

2009-03-02, 21:20 PM

ya, maybe we should send him a pizza.  I'd pitch in a couple of bucks or so.  I think the current plan is for its brightness control to be replaced in the future by proper patch to video.c in acpi by Zhang Rui (kernel bugzilla bug 12249), but compiling and installing this manually is good enough for me for now.  I'm just happy it gets addressed. 

 

Viva open source!

Lenovo SL300 Owner
earning an MSECE at GATech, with undergrad in BME.
Reply
Options

2 Posts

04-06-2009

Nyíregyhaza, Hungary

3 Signins

10 Page Views

  • Posts: 2
  • Registered: ‎04-06-2009
  • Location: Nyíregyhaza, Hungary
  • Views: 10
  • Message 4 of 7

Re: SL series linux brightness controls and hotkeys driver

2009-04-06, 10:14 AM

Hi Guys!

 

I've got a Lenovo SL 300 running on Ubuntu  8.10. I was compile this driver got an .ko-file.

When I load this module manualy like this:

  1. echo 0 > /sys/module/video/parameters/brightness_switch_enabled
  2. insmod lenovo-sl-laptop.ko control_backlight=
  3. then ctrl+alt+backspace to restart X.

works just fine.

But the module didn't load up automaticly at boot time. I try to follow this: http://www.cyberciti.biz/tips/compiling-linux-kernel-module.html, but didn't works.

 

Could you help me to fix this?

 

Cheers! 

Reply
Options

227 Posts

09-12-2008

Atlanta, GA USA

504 Signins

4269 Page Views

  • Posts: 227
  • Registered: ‎09-12-2008
  • Location: Atlanta, GA USA
  • Views: 4269
  • Message 5 of 7

Re: SL series linux brightness controls and hotkeys driver

2009-04-06, 10:26 AM

I just wrote it into my /etc/modules, and I blacklisted video in /etc/modprobe.d/blacklist

 

gary@gary-laptop:~$ cat /etc/modules


# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lenovo-sl-laptop control_backlight=1
ath_pci
lp
rtc
sbp2
uinput
gary@gary-laptop:~$
 

Lenovo SL300 Owner
earning an MSECE at GATech, with undergrad in BME.
Reply
Options

227 Posts

09-12-2008

Atlanta, GA USA

504 Signins

4269 Page Views

  • Posts: 227
  • Registered: ‎09-12-2008
  • Location: Atlanta, GA USA
  • Views: 4269
  • Message 6 of 7

Re: SL series linux brightness controls and hotkeys driver

2009-04-06, 10:28 AM
btw, you have to copy the .ko into your /lib/modules/2.6.whatever tree and run depmod -ae for it to register.  After this action, you should be able to load the module with modprobe instead of insmod.
Lenovo SL300 Owner
earning an MSECE at GATech, with undergrad in BME.
Reply
Options

2 Posts

04-06-2009

Nyíregyhaza, Hungary

3 Signins

10 Page Views

  • Posts: 2
  • Registered: ‎04-06-2009
  • Location: Nyíregyhaza, Hungary
  • Views: 10
  • Message 7 of 7

Re: SL series linux brightness controls and hotkeys driver

2009-04-06, 16:03 PM

First of all thanks your quick reply garytr23, it's very usefull! Now I know why didn't work my solution: I didn't  blacklisted any module. :(

 

Otherwise someone  at ubuntu.hu (forum of the hungarian ubuntu community) suggest this: http://gianlucamagalotti.wordpress.com/2009/02/16/lenovo-thinkpad-sl-series-hotkeys/ . This is a complete solution for this kernel module problem.

 

Thanks again.

 

 

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms