View previous topic :: View next topic |
Author |
Message |
denysonique n00b
Joined: 17 Apr 2010 Posts: 60 Location: London
|
Posted: Wed Sep 01, 2010 8:19 pm Post subject: What manages the backlight? |
|
|
I have a Samsung R510 laptop and as of writing this post the back-light cannot be controlled by the kernel.
The only one way do change the brightness of the backlight is via a direct pci call using setpci. For example: setpci -s 00:02.0 F4.B=BB.
How do desktop environments such as KDE and GNOME control the back-light?
I need this information because I would like to write an ebuild samsung-backlight that fixes this problem and modifies the programs called by GNOME and KDE that control the back-light.
Gentoo needs to be the first distro that supports laptops from the series of my laptop to have a working back-light! |
|
Back to top |
|
|
paulusbrand Tux's lil' helper
Joined: 20 May 2009 Posts: 111
|
Posted: Wed Sep 01, 2010 8:54 pm Post subject: |
|
|
I use the brightness applet with gnome. You can add it to your panel if you merge gnome-applets. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Wed Sep 01, 2010 11:45 pm Post subject: |
|
|
The standard backlight controls are in /sys/class/backlight and are usually provided by the acpi video and backlight class device drivers.
EDIT: A google search reveals that the backlight should be supported by the samsung_laptop driver in the staging section. |
|
Back to top |
|
|
denysonique n00b
Joined: 17 Apr 2010 Posts: 60 Location: London
|
Posted: Sat Sep 04, 2010 9:07 pm Post subject: |
|
|
I think GNOME and KDE don't manipulate /sys/class/backlight directly. Maybe they call something that then manipulates /sys/class/backlight interface. The samsung_laptop driver unfrotunately does not work for my model of my laptop. |
|
Back to top |
|
|
|