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 661084 - Don't probe for backlight if you failed once
Don't probe for backlight if you failed once
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-06 13:51 UTC by Elad Alfassa
Modified: 2013-01-23 23:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elad Alfassa 2011-10-06 13:51:58 UTC
I got a lot of "No backlights were found on your system" in my ~/.xsession-errors and

<elad661> I jsut don't understand one thing: if the power plugin saw there is no backlights when it first tried, why does it keep trying?
<hughsie> that's also a valid question
<hughsie> backlights can't really come and go
<elad661> Yeah and probbing again and again is just a waste of resources
Comment 1 Bastien Nocera 2013-01-23 23:08:55 UTC
commit d2b07da38f039e6d5bcf191852e8672ef7d49780
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Jan 23 23:48:41 2013 +0100

    power: Check whether backlight is available on startup
    
    And only on startup.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661084

commit f79d8b32641da31d5190c25c65b61f21f96f9ce5
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Jan 23 23:45:17 2013 +0100

    power: Add backlight_available() function
    
    Checking both the XRandR backlight functionality and udev for a suitable
    backlight.

commit 8f367388e0a5015c5f716e11fd1a7cf74b40ab1a
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Jan 23 23:44:12 2013 +0100

    power: Split off udev backlight enumeration function
    
    So that we can use it in the plugin itself.