Comment 7 for bug 21440

Revision history for this message
Paul Dufresne (paulduf) wrote :

Moving the status from 'Incomplete' to 'Confirmed'.

http://konsistent.de/wiki/doku.php?id=public:latitude110l says:
  -Warning: vbetool needed to reactivate display after lid close
  -Never close the lid if you don’t have vbetool installed. The display will be deactivated and you may only reactivate it with X.org < 6.8.99 running (switch to console).
  -I searched long for a solution and - surprise surprise - have found one. It’s a kernel bug. Just emerge vbetool and execute the following script when the OS receives an ACPI lid event:
#!/bin/sh

if [[ ! `grep open /proc/acpi/button/lid/*/state` = "" ]]
then
    logger "ACPI lid opened. Reactivating display.";
    /usr/sbin/vbetool dpms on
else
    logger "ACPI lid closed.";
fi

To react on the lid event put this at the appropriate place into your /etc/acpi/default.sh:

lid) /etc/acpi/actions/lid.sh
    ;;