After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 467080 - Software brightness control on acer laptops not implemented
Software brightness control on acer laptops not implemented
Status: RESOLVED NOTGNOME
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.19.x
Other All
: Normal enhancement
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2007-08-15 20:12 UTC by Rohan Dhruva
Modified: 2007-08-17 10:16 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Rohan Dhruva 2007-08-15 20:12:52 UTC
Hi,

I have an Acer TravelMate 3260. I am using the acer_acpi module from here - http://aceracpi.googlecode.com/ .. As of the 0.7 release of acer_acpi, software brightness support has been added -

root@ubuntu:/proc/acpi/acer# cat brightness 
11

The range varies from 0 to 15, and it works perfectly on 3-4 Acer laptops that I have tried. Can support for controlling brightness be added for acer laptops, please ? What more information do I need to provide ?
This bug affects the brightness applet in the gnome panel too, I think.

Thanks.
Comment 1 Richard Hughes 2007-08-15 22:02:48 UTC
acer_acpi needs to support the generic backlight class. Do you get /sys/class/backlight/xxx?

Richard.
Comment 2 Rohan Dhruva 2007-08-16 02:33:06 UTC
Richard, that directory is present but it is empty - I've filed a feature request on the acer_acpi bug tracker - http://code.google.com/p/aceracpi/issues/detail?id=9

What is the next thing to be done ? If I want to help out acer_acpi and implement this feature, Richard, can you please provide me a pointer or two on how this is to be done ? Thanks !
Comment 3 Richard Hughes 2007-08-16 09:33:39 UTC
>What is the next thing to be done

As soon as acer_acpi exports a brightness class device, hal will detect it, and g-p-m with get a capability. Then things just work. ;-)

If you look at the sony-laptop or thinkpad-acpi .c files - have a look here http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-modules.html

Richard.
Comment 4 Carlos Corbacho 2007-08-17 06:26:23 UTC
Richard - Please mark this bug as INVALID. The code to support the brightness class is already in acer_acpi's subversion tree and will be in my next release there.
Comment 5 Rohan Dhruva 2007-08-17 09:50:48 UTC
Oh, turns out that it was not a gnome bug at all .. Sorry for the noise, but I don't know much about this .. :-)