If i attach an external VGA monitor to my laptop with 945GM *after* X has started and run xrandr, internal LVDS immediately switches off, with xrandr saying "LVDS1 disconnected". This doesn't happen if i connect external VGA before starting X.
This issue happens with kernels 2.6.32-rc1 and later, doesn't happen with 188.8.131.52.
Still happen with current kernels?
Also note some distributions have an X that listens for hotplug events, so it could be that your desktop is reconfiguring your system when you plug in the VGA (though LVDS definitely shouldn't be marked as "disconnected" at that time).
What does /proc/acpi/button/lid/LID/state report after you plug in VGA?
(In reply to comment #2)
> What does /proc/acpi/button/lid/LID/state report after you plug in VGA?
This was right on -- after I close the lid once it reports its state as closed even after I open it.
Blacklisting my laptop fixes the issue for me. Patch attached.
Created attachment 33638 [details] [review]
patch fixing this issue
Nice. Can you send the patch to firstname.lastname@example.org (cc email@example.com) and add a signed-off-by line? Then we can close this one out.
So i sent the patch ~two weeks ago. When is something going to happen?
Thanks Anton, we ended up just removing the lid state checking since so many machines were broken.