On a Dell Latitude E6400 with a GM45 closing the display lid turns the backlight off, opening the lid however doesn't turn it back on. I have to switch to another VT to turn it back on, then switch back to X.
This was tested with the latest mainline kernel (http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2010-03-15/linux-image-2.6.34-999-generic_2.6.34-999.201003151003_amd64.deb).
Originally reported at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/488328 and https://bugs.launchpad.net/ubuntu/+source/linux/+bug/540134.
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
If you don't quickly switch to the VT, xorg will crash.
I've collected logs before closing and opening the lid, see those links:
Can you add the boot option of "drm.debug=0x04" and do the following test?
1. get the output of "cat /proc/acpi/button/LID/*/state", dmesg, intel_reg_dumper before close the LID
2. close the LID
3. Open the LID
4. Please login the system by using ssh and get the output of " cat /proc/acpi/button/LID/*/state", dmesg, intel_reg_dumper again.
The logs I linked are done with drm.debug=0x04
The other info is also required. For example: LID state, intel_reg_dumper
At the same time it seems that the option of "drm.debug=0x06" is added in the links log. Will you please change it to "drm.debug=0x04"? Otherwise the useful info is flushed.
My distribution was able to fix this bug.
Some information might be here: https://bugs.launchpad.net/bugs/488328
I looked and it seems like this is a combination of these two bugs:
Windows Vista has changed the keycodes around and gnome-settings-daemon needs to be updated to match. (Not a kernel bug).
Both bugs have a fix now, so can we close this bug?