Kernel Bug Tracker – Bug 14649
KMS not working as lid is always reported as closed
Last modified: 2010-03-25 01:38:17 UTC
Created attachment 23848 [details]
With this kernel KMS is not working. Last tested and working kernel is 22.214.171.124.
This bug is similar to 14554.
Created attachment 23849 [details]
Created attachment 23850 [details]
Created attachment 23989 [details]
dmesg output of 2.6.32-rc8-git3
I've compiled the latest kernel with some debugging options enabled for drm and
acpi. The log shows, that the kms problem comes from acpi. The lid is detected
as "closed" and no external vga monitor is connected. A closed lid leads to
"LVDS-1 is disconnected". "VGA-1 is disconnected" and "LVDS-1 is disconnected"
leads to "No connectors reported connected with modes" and then kms fails.
I've commented out in file i915/intel_lvds.c in function intel_lvds_detect the following 2 lines:
if (!acpi_lid_open() && !dmi_check_system(bad_lid_status))
status = connector_status_disconnected;
KMS is now working again. lid problem in acpi is still present.
Is your lid always wrong? We might need to add a quirk for your system... Yakui will probably ask for a DSDT dump.
Yakui, can you take a look?
Created attachment 24008 [details]
Output of acpidump
Yes, the lid problem is present with all kernels I used.
Currently I'm using kernel 126.96.36.199 and the lid state is always closed.
Will you please attach the output of dmidecode on your box?
will you please add the boot option of "nomodeset" and attach the following output after the system is booted?
> cat /proc/acpi/button/lid/LID/state
I've currently tested it with kernel 188.8.131.52 and "nomodeset".
The result ist the same. Always read as closed.
The strange thing is that an event is emmitted when I close the lid, but the state is always the same.
Please attach the output of dmidecode on your box.
Created attachment 24783 [details]
output of dmidecode
Created attachment 25157 [details]
try the patch that adds Insyde PC-81005 to ACPI LID quirk list
will you please try the attached patch and see whether it can work for you?
Yes this seems to fix the problem. Thnx. Tested with 184.108.40.206.
Now the mechanism of LVDS detection by using LID is abandoned in the following commit:
Author: Eric Anholt <firstname.lastname@example.org>
Date: Wed Mar 17 13:48:06 2010 -0700
drm/i915: Stop trying to use ACPI lid status to determine LVDS connection.
So the lid quirk is not needed any more. And this bug will be marked as resolved.