home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.gentoo      Stupid OS you gotta compile EVERYTHING      17,684 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,269 of 17,684   
   Vitus Jensen to All   
   debugging acpi   
   19 Apr 08 09:57:35   
   
   From: vjensen@gmx.de   
      
   Hej!   
      
   I'm running gentoo on my Thinkpad R51e which works real fine.  WLAN,   
   Ethernet, Sound, Suspend to RAM, Video (I only need 2D), etc, no problem.   
   But I have a hard time optimising life on battery.  For starters the switch   
   from ac to battery doesn't lead to execution of scripts in /etc/acpi :-(   
      
   How do I debug this?  It seems acpid never reports the switch as event:   
      
   Apr 18 08:53:55 asterix acpid: received event "processor CPU 00000081   
   00000000"   
   Apr 18 08:53:55 asterix acpid: notifying client 4346[104:443]   
   Apr 18 08:53:55 asterix acpid: notifying client 4669[0:0]   
   Apr 18 08:53:55 asterix acpid: client has disconnected   
   Apr 18 08:53:55 asterix acpid: notifying client 4669[0:0]   
   Apr 18 08:53:55 asterix acpid: client has disconnected   
   Apr 18 08:53:55 asterix acpid: completed event "processor CPU 00000081   
   00000000"   
   Apr 18 08:53:55 asterix acpid: client connected from 4669[0:0]   
   Apr 18 08:53:55 asterix acpid: 1 client rule loaded   
   Apr 19 01:34:16 asterix acpid: client connected from 13718[0:0]   
   Apr 19 01:34:16 asterix acpid: 1 client rule loaded   
   Apr 19 08:39:10 asterix acpid: received event "processor CPU 00000081   
   00000000"   
   Apr 19 08:39:10 asterix acpid: notifying client 4346[104:443]   
   Apr 19 08:39:10 asterix acpid: notifying client 4669[0:0]   
   Apr 19 08:39:10 asterix acpid: notifying client 13718[0:0]   
   Apr 19 08:39:10 asterix acpid: completed event "processor CPU 00000081   
   00000000"   
   Apr 19 08:39:10 asterix acpid: client connected from 4669[0:0]   
   Apr 19 08:39:10 asterix acpid: 1 client rule loaded   
      
   01:34 was start of suspend-to-RAM and 08:39 the resume.  There are never any   
   other events logged!  I've added logger lines to the scripts   
   in /etc/acpi/actions (from laptop mode) but those aren't executed.   
      
   The state variable in /proc/acpi report the switch just fine:   
      
   vitus@asterix:~$ cat /proc/acpi/ac_adapter/AC/state   
   state:                   on-line   
   vitus@asterix:~$ cat /proc/acpi/ac_adapter/AC/state   
   state:                   off-line   
   vitus@asterix:~$ cat /proc/acpi/ac_adapter/AC/state   
   state:                   on-line   
      
   Module thinkpad_acpi is loaded, controlling fan, volume and brightness   
   works.  Where do I start investigating?  acpid, hald, thinkpad_acpi?   
      
   Vitus   
      
   PS: thing is this notebook can't really save power (celeron-m, atheros w/o   
   powersave mode), but this is another story.   
   --   
   Vitus Jensen, Hannover, Germany, Earth, Milky Way, Universe (current)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca