https://github.com/facorread/u150brightness
Temporary fix for the Lenovo U150 brightness control, which is not handled by the linux kernel (up to 2.6.35.7)
https://github.com/facorread/u150brightness
Last synced: 29 days ago
JSON representation
Temporary fix for the Lenovo U150 brightness control, which is not handled by the linux kernel (up to 2.6.35.7)
- Host: GitHub
- URL: https://github.com/facorread/u150brightness
- Owner: facorread
- License: gpl-3.0
- Created: 2010-04-17T12:56:55.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-04-17T13:22:03.000Z (about 16 years ago)
- Last Synced: 2025-03-18T17:52:48.581Z (over 1 year ago)
- Language: C++
- Homepage: http://facorreadtech.blogspot.com/2010/03/gentoo-linux-on-lenovo-u150.html
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING.txt
Awesome Lists containing this project
README
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.