Comment 9 for bug 157691

Revision history for this message
Roger Irwin (rogirwin) wrote : Re: Gusty crashes when the lid is closed on a HP 6710b

In the past, the Linux/ACPI video driver invoked _DOS (Display Output Switch) with the parameter 1 to tell the BIOS to switch the video output display for us.

But this conflicts with Linux native graphics drivers, and can cause all sorts of issues, including hanging the system.

http://bugzilla.kernel.org/show_bug.cgi?id=6001

Here we change the Linux default to evaluate _DOS=0, which tells the BIOS to simply send us a hotkey event and not touch the graphics hardware.

The acpi video driver sends the display switch hotkey event up through the intput layer, and X can interpret that and use its native graphics driver to switch the display.

For the case where Linux has no native graphics driver running, or the graphics driver doesn't know how to switch video and the BIOS (safely) does, the previous behaviour can be restored with:

sudo echo 1 > /proc/acpi/video/*/DOS

I haven't had my computer crash since I did this..