← Back to team overview

kernel-packages team mailing list archive

[Bug 89860] Re: /proc/acpi/button/lid/*/state always says "open"

 

For those of you with a Samsung laptop showing this problem, please see
this issue:

           https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/971061

in particular my last two posts.

I think a kernel patch can be made to flush the events from the embedded
controller, at resume, in the same way that I do it with my C program
that I attached to that issue for Samsung laptops (and maybe others with
the problem). TL;DR: If the events don't get flushed (queried), the GPE
of the EC is never triggered again (chicken and egg situation), my
little program queries the events and "unstucks" the EC immediatly.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/89860

Title:
  /proc/acpi/button/lid/*/state always says "open"

Status in “linux” package in Ubuntu:
  Won't Fix
Status in “linux-source-2.6.20” package in Ubuntu:
  Won't Fix
Status in “linux-source-2.6.22” package in Ubuntu:
  Won't Fix

Bug description:
  My laptop is an HP Pavilion dv4000.  I'm running up-to-date Feisty.

  Regardless of whether my laptop lid is open or closed, I always get
  this:

  root@peace:/etc/acpi# cat /proc/acpi/button/lid/*/state
  state:      open

  This would explain why I can suspend the laptop using Gnome's power
  management menu, but why it doesn't do it when I close the lid.  (I
  have specified under power management preferences that it's to suspend
  when I close the lid.)

  I know that at some level the lid switch works because when I press it
  the screen backlight turns off (although I can still faintly see that
  the display is still live).

  There was one hint of the issue in this email:
     http://lists.opensuse.org/opensuse-mobile/2007-02/msg00016.html

  Here's a Ubuntu bug that seems similar, but got rejected:
     https://launchpad.net/ubuntu/+source/kernel-package/+bug/16662

  My bug is different than this one:
     https://launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/34389
  because my laptop state is *always* reported as open.

  I've attached the output of dmesg and dmidecode.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/89860/+subscriptions