! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
support xrandr backlight setting
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-power-manager
Component:
General

Comments

Description Jan De Luyck 2009-04-13 19:03:36 CEST
On my Macbook, the backlight can be handled either by managing the registers directly (not fun) or though Xrandr:

$ xrandr --props
...
        BACKLIGHT_CONTROL:      native
                supported: native       legacy       combination  kernel      
        BACKLIGHT: 212 (0x000000d4)     range:  (0,296)
...
$

There are two parameters: 
* BACKLIGHT_CONTROL which sets the way the driver ndle the backlight settings (in my case "native" works best)
* BACKLIGHT which sets the actual backlight value, between 0 and 296

Using this way of setting the backlight works. Perhaps this could be included in the xfce4-brightness-plugin?
Comment 1 Ali Abdallah editbugs 2009-04-13 19:28:29 CEST
(In reply to comment #0)
> On my Macbook, the backlight can be handled either by managing the registers
> directly (not fun) or though Xrandr:
> 
> $ xrandr --props
> ...
>         BACKLIGHT_CONTROL:      native
>                 supported: native       legacy       combination  kernel      
>         BACKLIGHT: 212 (0x000000d4)     range:  (0,296)
> ...
> $
> 
> There are two parameters: 
> * BACKLIGHT_CONTROL which sets the way the driver ndle the backlight settings
> (in my case "native" works best)
> * BACKLIGHT which sets the actual backlight value, between 0 and 296
> 
> Using this way of setting the backlight works. Perhaps this could be included
> in the xfce4-brightness-plugin?


All the code for handling lcd brightness will be move to xrandr once xrandr is good enough for that, i already tried it on my 3 laptops, and on none of them it gives good result.

So i would say this is going to happen on the device-kit power based version.

Bug #5225

Reported by:
Jan De Luyck
Reported on: 2009-04-13
Last modified on: 2011-01-04

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Version:
Unspecified

Attachments

Additional information