Created attachment 23575 [details] acpidump output Hi, since 2.6.29 I have a problem setting backlight using keyboard shortcuts. Settings using /sys/class/backlight/acpi_video0/brightness works fine. In attachments, there is output from xev and acpi_listen when KMS isn't enabled. When KMS is enabled, it won't read anything. Also, I've tried passing acpi_backlight=video and acpi_backlight=vendor without any success. Please contact me if you need any more info. Thanks Radek "Mrkva" Pilar
Created attachment 23576 [details] xev output without modesetting
Created attachment 23577 [details] acpi_listen output without modesetting
Created attachment 23578 [details] Kernel 2.6.32-rc5 config
I've realized I should probably add some hardware info. So, it's Lenovo N200 0769-BJG laptop (so thinkpad-acpi isn't working), graphics card is Intel GMA965. Here's complete lspci output: 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c) 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) 00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03) 04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02) 06:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev ff) 08:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller 08:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19) 08:06.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 01) 08:06.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 0a)
Does this still happen with current kernels and 2D drivers? Note you may need to update both to make the X server use the right sysfs interface.
Still won't work with xf86-video-intel 2.9.1, kernel 2.6.32-rc8, but this still won't work only if i have KMS enabled.
Yakui, can you take a look? Could be ACPI OpRegion related.
On my system, without KMS, fn backlight controls work. With KMS they do not. I am running kernel 2.6.33-rc7 and my video devices are as follows: 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) This is from a Lenovo IdeaPad Y430.
The patch from Bug 15054 (https://bugzilla.kernel.org/attachment.cgi?id=25637) fixes the issue for me. This is on a Lenovo 3000 Y410 machine. Perhaps this bug should be marked as a duplicate of that bug, considering both are regarding the issue of ACPI-based backlight keys not working with KMS enabled.
Patch from #15054 works for me - I assume this issue is solved. Thanks. *** This bug has been marked as a duplicate of bug 15054 ***