Poll: Does ACPI lid state work on your Linux laptop?

Pasi Kärkkäinen pasik at iki.fi
Tue Jul 12 20:44:59 UTC 2011


Hello list,

I'm curious to know how many laptops have problems with
ACPI lid state in Linux. I've been told some laptops report
wrong lid state through ACPI, while my laptop seems to report it properly.

This poll is related to Fedora bugreport:
"ACPI LID state ignored on laptop, wrong display used for desktop/installer":
https://bugzilla.redhat.com/show_bug.cgi?id=712706

So, if you want to help and test this on your laptop,
please try these things with recent Fedora/kernel:

- You can check the ACPI lid state like this:
  cat /proc/acpi/button/lid/LID/state

- Set up external monitor/display, and disable the laptop internal 
  LVDS display panel using xrandr or gnome display settings tool. 

1) Close the laptop LID and then check the lid state. Is it reported correct?

2) Open the laptop LID and then check the lid state. Is it reported correct?

3) Repeat the previous steps multiple times. Is the lid state still reported correctly?
 
4) Reboot the laptop with LID closed. 
   Then check the lid state, is it properly reported as closed?

5) Reboot the laptop with LID open. 
   Then check the lid state, is it properly reported as open?

The point of checks 4 and 5 is to verify the "initial" lid state
is correctly reported.

I guess that should cover all the usecases..
Please post your findings to this list.

btw. if you don't have external display you could also ssh into the laptop
and run the tests over ssh.

Thanks!

-- Pasi



More information about the devel mailing list