Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What manages the backlight?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
denysonique
n00b
n00b


Joined: 17 Apr 2010
Posts: 60
Location: London

PostPosted: Wed Sep 01, 2010 8:19 pm    Post subject: What manages the backlight? Reply with quote

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
View user's profile Send private message
paulusbrand
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2009
Posts: 111

PostPosted: Wed Sep 01, 2010 8:54 pm    Post subject: Reply with quote

I use the brightness applet with gnome. You can add it to your panel if you merge gnome-applets.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Wed Sep 01, 2010 11:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
denysonique
n00b
n00b


Joined: 17 Apr 2010
Posts: 60
Location: London

PostPosted: Sat Sep 04, 2010 9:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum