Comment 22 for bug 49521

Revision history for this message
evolipel (mlepilov) wrote :

This seems to be an issue affecting many Dell laptops. I'm running a Dell Inspiron 8100 with an nvidia GeForce 2 Go (using the proprietary driver) on Hardy, and have fixed it with the advice given in this thread:
http://ubuntuforums.org/showthread.php?t=358432

My variation on the advice (it is essentially the same as above) was to place

#!/bin/sh
grep -q open /proc/acpi/button/lid/*/state
if [ $? = 0 ]
then
    # lid is open; turn the screen on
    vbetool dpms on
fi

before

if [ `CheckPolicy` == 0 ]; then exit; fi

in /etc/acpi/lid.sh.

Basically, there seems to be *something* on Dell laptops that turns off a screen regardless of the OS or anything, and the only way to turn it back on is to run "vbetool dpms on"; "xset dpms force on", which the lid.sh script uses, doesn't seem to work, so the screen remains blank. Additionally, it also seems that in recent releases of Ubuntu, or at least on Hardy, the script never even gets past the aforementioned policy check.

The following bugs seem to be related:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/67231
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/44393
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/22987