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 730310 - backlight changing to maximum when plug or unplug AC
backlight changing to maximum when plug or unplug AC
Status: RESOLVED DUPLICATE of bug 722131
Product: gnome-settings-daemon
Classification: Core
Component: power
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2014-05-17 20:32 UTC by Igor Gnatenko
Modified: 2014-05-19 09:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
video with bug (664.52 KB, video/webm)
2014-05-17 20:32 UTC, Igor Gnatenko
Details

Description Igor Gnatenko 2014-05-17 20:32:13 UTC
Created attachment 276707 [details]
video with bug

Steps to reproduce:
1. Set backlight to <100% with keyboard
2. Plug or unplug AC

Actual results:
Backlight changed to maximum

Expected results:
Backlight unchanged

Additional info:
# grep -r . /sys/class/backlight/*
/sys/class/backlight/intel_backlight/type:raw
/sys/class/backlight/intel_backlight/brightness:444
/sys/class/backlight/intel_backlight/power/control:auto
/sys/class/backlight/intel_backlight/power/async:disabled
/sys/class/backlight/intel_backlight/power/runtime_enabled:disabled
/sys/class/backlight/intel_backlight/power/runtime_active_kids:0
/sys/class/backlight/intel_backlight/power/runtime_active_time:0
grep: /sys/class/backlight/intel_backlight/power/autosuspend_delay_ms: Input/output error
/sys/class/backlight/intel_backlight/power/runtime_status:unsupported
/sys/class/backlight/intel_backlight/power/runtime_usage:0
/sys/class/backlight/intel_backlight/power/runtime_suspended_time:0
/sys/class/backlight/intel_backlight/bl_power:0
/sys/class/backlight/intel_backlight/max_brightness:4438
/sys/class/backlight/intel_backlight/actual_brightness:444


I think this is caused, because in my system doesn't present acpi_video0. Only intel_backlight. But it's normal for the my system:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5915a3db0c3983f1cd5e046bf70086c7d0c686d2
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=67b662e189f469c6d373f81d76b0ef0495940e99
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fbc9fe1b4f222a7c575e3bd8e9defe59c6190a04
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0e9f81d3b7cd0649a3bc437391b6a0650f98f844
Comment 1 Igor Gnatenko 2014-05-17 20:33:13 UTC
On panel I don't see backlight changes after plug or unplug AC.
Comment 2 Igor Gnatenko 2014-05-17 20:37:25 UTC
$ gdbus call  --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Screen.StepUp
returning to me:
(25,)
and something like this. maximum - 100.

I think here main problem
Comment 3 Bastien Nocera 2014-05-19 08:49:12 UTC
This is one of those dreadful Lenovo laptops?
Comment 4 Igor Gnatenko 2014-05-19 09:20:48 UTC
(In reply to comment #3)
> This is one of those dreadful Lenovo laptops?

Not dreadful, but yes. X1 Carbon. I can reproduce this on X230.
Comment 5 Bastien Nocera 2014-05-19 09:46:14 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > This is one of those dreadful Lenovo laptops?
> 
> Not dreadful, but yes. X1 Carbon. I can reproduce this on X230.

Dreadful in terms of firmware. It's a firmware bug. We don't change the brightness in gnome-settings-daemon at all.

(and I have an X1 carbon as well)

*** This bug has been marked as a duplicate of bug 722131 ***