Skip to content

facorread/u150brightness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This program sets the screen brightness of the Lenovo U150 laptop. I have not tried it in other systems, and it will surely not work because it uses hardcoded PCI references.

Compile this C++ program with

g++ -o brightness brightness.cc

Move it to /usr/local/bin/, set the SUID permission and then add keyboard shortcuts for the command in your desktop environment:

brightness up
brightness down

More info on Linux on Lenovo U150 at

http://facorreadtech.blogspot.com/2010/03/gentoo-linux-on-lenovo-u150.html

Also, thanks to David Kelso for his excelent fix and guide, which you can also apply to this program.

http://github.com/zaius/bright

I do not have any relationship with Lenovo or its trademarks.

About

Temporary fix for the Lenovo U150 brightness control, which is not handled by the linux kernel (up to 2.6.35.7)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages