[ltp] Detecting lid close

Alex Polite linux-thinkpad@linux-thinkpad.org
Wed, 29 Aug 2007 22:27:12 +0200


2007/8/27, Daniel Maier <nusse@teamidiot.de>:
>
> ACPI works really reliable on the X30, there is no reason to use APM
> instead.
>

Reinstated ACPI. Suspend works great ... it's just the resume part
that doesn't happen. Any usual suspects for that kind of behavior?

BTW Here's the output from acpitool -e

 Kernel version : 2.6.20-16-lowla20060707   -    ACPI version : 20060707
  -----------------------------------------------------------
  Battery status : <not available>

  AC adapter     : <not available>
  Fan            : <not available>

  CPU type               : Mobile Intel(R) Pentium(R) III CPU - M  1200MHz
  Min/Max frequency      : 798/1197 MHz
  Current frequency      : 1197 MHz
  Frequency governor     : ondemand
  Freq. scaling driver   : speedstep-ich
  Cache size             : 512 KB
  Bogomips               : 2393.10
  Processor ID           : 0
  Bus mastering control  : yes
  Power management       : yes
  Throttling control     : yes
  Limit interface        : yes
  Active C-state         : C2
  C-states (incl. C0)    : 4
  Usage of state C1      : 10 (0.0 %)
  Usage of state C2      : 21118339 (100.0 %)
  Usage of state C3      : 1175 (0.0 %)
  T-state count          : 8
  Active T-state         : T0


  Thermal zone 1 : ok, 61 C
  Trip points :
  -------------
  critical (S5):           96 C
  passive:                 91 C: tc1=5 tc2=4 tsp=600 devices=0xd5e7d338


   Device	Sleep state	Status
  ---------------------------------------
  1.  LID	   3		* enabled
  2. SLPB	   3		* enabled
  3. PCI0	   4		disabled
  4. UART	   3		disabled
  5. PCI1	   4		disabled
  6. DOCK	   4		disabled
  7. USB0	   3		disabled
  8. USB1	   3		disabled
  9. USB2	   3		disabled
  10. AC97	   4		disabled


-- 
http://polite.se