Bug 14506 - Backlight not working when KMS is enabled
Summary: Backlight not working when KMS is enabled
Status: RESOLVED DUPLICATE of bug 15054
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: ykzhao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-29 08:30 UTC by Radek Pilar
Modified: 2010-03-29 08:21 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.29-2.6.32-rc8
Subsystem:
Regression: No
Bisected commit-id:


Attachments
acpidump output (132.16 KB, text/plain)
2009-10-29 08:30 UTC, Radek Pilar
Details
xev output without modesetting (1.16 KB, application/octet-stream)
2009-10-29 08:31 UTC, Radek Pilar
Details
acpi_listen output without modesetting (59 bytes, application/octet-stream)
2009-10-29 08:31 UTC, Radek Pilar
Details
Kernel 2.6.32-rc5 config (59.37 KB, application/octet-stream)
2009-10-29 08:32 UTC, Radek Pilar
Details

Description Radek Pilar 2009-10-29 08:30:33 UTC
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
Comment 1 Radek Pilar 2009-10-29 08:31:11 UTC
Created attachment 23576 [details]
xev output without modesetting
Comment 2 Radek Pilar 2009-10-29 08:31:48 UTC
Created attachment 23577 [details]
acpi_listen output without modesetting
Comment 3 Radek Pilar 2009-10-29 08:32:14 UTC
Created attachment 23578 [details]
Kernel 2.6.32-rc5 config
Comment 4 Radek Pilar 2009-11-01 13:05:00 UTC
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)
Comment 5 Jesse Barnes 2009-12-02 19:19:54 UTC
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.
Comment 6 Radek Pilar 2009-12-02 21:46:33 UTC
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.
Comment 7 Jesse Barnes 2009-12-02 22:17:11 UTC
Yakui, can you take a look?  Could be ACPI OpRegion related.
Comment 8 avieth 2010-02-23 01:13:56 UTC
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.
Comment 9 Chow Loong Jin 2010-03-24 20:32:32 UTC
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.
Comment 10 Radek Pilar 2010-03-29 08:21:30 UTC
Patch from #15054 works for me - I assume this issue is solved. Thanks.

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

Note You need to log in before you can comment on or make changes to this bug.