ACPI, wierd error

Adam Cooper adam.j.cooper at ntlworld.com
Sun Apr 18 13:46:42 UTC 2004


On Sat, 2004-04-17 at 17:50, Christopher Ness wrote:
> Stupid questions, but you never know.  Is acpid installed?  Is it
> running?

Yes

> [nesscg at woman nesscg]$ ps -aux | grep acpid
> root      3078  0.0  0.1  1516  528 ?        S    07:35   0:00
> /usr/sbin/acpid

[adam at localhost adam]$ ps -aux |grep acpid
root      4847  0.0  0.0  2460  488 ?        S    14:28   0:00
/usr/sbin/acpid

> It seemed from your post it was running.  If that's the case you need to
> set up the /etc/acpi/{actions,events} files which can be a pain.  Just
> google for someone else' files that run on a dell.

Ok I found a set of scripts. Seems simple enough, installed them as per
instructions and restarted acpid. Still not working. From what I've read
about the file '/var/log/acpid' whenever an event is processed it is
logged 'before' the appropriate event processing file is called. i.e. I
close my laptop lid and

'button0lid\ LID\ 00000080\ 00000001' appears in '/var/log/acpid'

then the correct action is called based on how it's beens set up in the
events files.

But this entry is not appearing which leads me to believe that the event
is not ever being caught. 

I'll continue to google it but if anybody has any advice I'd appreciate
it.


> You can try this as well to test it.
> 
> # killall acpid
> # acpid &
> # tail -f /var/log/acpid

[root at localhost root]# killall acpid
[root at localhost root]# acpid &
[1] 5642
[root at localhost root]# tail -f /var/log/acpid
[Sat Apr 17 23:15:46 2004] 1 rule loaded
[Sat Apr 17 23:18:43 2004] exiting
[Sat Apr 17 23:18:43 2004] starting up
[Sat Apr 17 23:18:43 2004] 1 rule loaded
[Sat Apr 17 23:18:48 2004] exiting
[Sun Apr 18 14:28:57 2004] starting up
[Sun Apr 18 14:28:58 2004] 1 rule loaded
[Sun Apr 18 14:37:24 2004] exiting
[Sun Apr 18 14:37:29 2004] starting up
[Sun Apr 18 14:37:29 2004] 1 rule loaded


Cheers for any help

Adam.






More information about the fedora-list mailing list