FS#27677 - [xorg-xbacklight] xbacklight stop working after upgrade

Attached to Project: Arch Linux
Opened by Yang (hongy19) - Friday, 23 December 2011, 03:08 GMT
Last edited by Allan McRae (Allan) - Saturday, 16 June 2012, 08:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Before, I could use xbacklight to adjust the backlight. And it works well.
But today I just find it doesn't work.

It seems xbacklight in Archlinux has a similar TR of Debian.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563277

See "Steps to reproduce:" below for more information.

Additional info:
* package version(s)
xorg-xbacklight 1.1.2-2
libxrandr 1.3.2-2
xorg-xrandr 1.3.5-1

* config and/or log files etc.


Steps to reproduce:
1, xbacklight output
[hongy19@Archlinux ~]$ xbacklight
No outputs have backlight property

2, xrandr output
[hongy19@Archlinux ~]$ xrandr --verbose
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
eDP1 connected 1280x800+0+0 (0x47) normal (normal left inverted right x axis y axis) 260mm x 160mm
Identifier: 0x41
Timestamp: 13156921
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff0030e44f0200000000
00140104801a107802ba959759558c27
21505400000001010101010101010101
010101010101121b0080502014301820
440004a0100000187012008050202030
1820d40004a010000018000000000000
00000000000000000000000000000002
,
2,
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 16 June 2012, 08:27 GMT
Reason for closing:  No response
Comment by Jan de Groot (JGC) - Friday, 23 December 2011, 07:52 GMT
Works fine here. The debian bugreport is about an outdated version of xbacklight, we already have the newest and there's no development on it in git anymore.
Could you give some more information about what hardware and drivers you're using? Probably attaching an Xorg.0.log should give that.
Comment by Yang (hongy19) - Friday, 23 December 2011, 09:52 GMT
Hi JGC, thanks for your quick response.

1, driver and kernel
linux 3.1.5-1
linux-api-headers 3.1.4-1
linux-firmware 20111101-1
intel-dri 7.11.2-1
xf86-video-intel 2.17.0-2

2, I have both ACPI and i915 control interface in /sys/class/backlight. But only i915 work.
[hongy19@Archlinux log]$ cd /sys/class/backlight/
[hongy19@Archlinux backlight]$ ls
acpi_video0 intel_backlight

3, Xorg log and dmesg log see attached.

4, I use Intel core I7 as CPU and GPU.
[hongy19@Archlinux log]$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 05)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
43:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
44:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 06)
44:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 25)
44:06.2 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev bb)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
Comment by Yang (hongy19) - Friday, 23 December 2011, 12:07 GMT
Just check the source code of xbacklight (1.1.2):
line 198 and 199 of http://cgit.freedesktop.org/xorg/app/xbacklight/tree/xbacklight.c

debian TR seems be corrected. There must be other reason cause xbacklight stop working.
Comment by Allan McRae (Allan) - Saturday, 02 June 2012, 13:07 GMT
Status?

Loading...