On Tue, Oct 05, 2010 at 11:16:44AM -0700, Adam Williamson wrote:
On Tue, 2010-10-05 at 19:05 +0100, Matthew Garrett wrote:
> No, but there is a use case where you'd want to have an external monitor
> connected and the system report that the lid is closed, but still have
> the internal system's display turned on. Hardware lies.
that is a hardware/kernel/acpi bug. The appropriate way to fix it, IMHO,
is to have the sensor report the correct information if it's at all
possible to fix it in the kernel/acpi layer, or if not, blacklist that
specific system so that its lid sensor is completely ignored.
I wholeheartedly agree, providing that we can obtain a list of every
piece of hardware that has this issue, along with a list of every piece
of hardware that will have it in future. If that's not available then
userspace is just going to have to deal.
--
Matthew Garrett | mjg59(a)srcf.ucam.org