! 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 !
Brightness resets itself to full on closing/opening lid and on reboot
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Konstantin Svist 2012-08-13 02:33:38 CEST
Using Lenovo z470, Fedora 17 x86 (OS HDD moved from another machine), XFCE 4.8.6
Brightness adjusts okay, but closing/opening lid resets the brightness to full (doesn't seem to matter if setting is "Nothing" or "Lock screen" on closing the lid).
The setting is obviously saved internally in xfce4-power-manager, because adjusting it afterward acts as if brightness level was always correct (next highest or next lowest level is chosen properly)

Rebooting the laptop also results in full brigntness (unable to adjust until logged in)
Note: using lxdm as login manager
Comment 1 Konstantin Svist 2012-08-13 02:43:37 CEST
# lspci -nnn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB Controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b5)
00:1d.0 USB Controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
06:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1000 [8086:0084]
Comment 2 Konstantin Svist 2012-08-13 02:44:43 CEST
# lspci -nnn -vvv -s 00:02.0
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device [17aa:3975]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 41
	Region 0: Memory at e8400000 (64-bit, non-prefetchable) [size=4M]
	Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at 1800 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee0f00c  Data: 4169
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a4] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: i915
Comment 3 Dario 2013-02-24 18:05:33 CET
Using Sony Vaio SVE1511D1E, Debian 7 RC1 i386, Xfce 4.8.3
Brightness adjusts okay, closing/opening lid does not affect it ("When laptop lid is closed" is set to "Nothing"), but reboot resets the brightness to full. Unable to adjust until logged in (Login manager: lightDM).
In my case, the setting is NOT saved internally in xfce4-power-manager, because adjusting it afterward shows brightness level was set to 15.

Found a fix online: 
gedit /etc/rc.local
add this line above 'exit 0'
echo 10 > /sys/class/backlight/acpi_video0/brightness
Source: https://synapse.wordpress.com/2012/05/22/save-brightness-setting-on-reboot-in-debian-squeeze-wheezy/
Comment 4 Harald Judt 2014-09-26 14:40:32 CEST
Latest power manager version 1.4.1 might have fixes for this, please update and reopen if the issue persists.

Bug #9206

Reported by:
Konstantin Svist
Reported on: 2012-08-13
Last modified on: 2014-09-26

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Version:
1.0.10

Attachments

Additional information