Re: ACPI, wierd error

From: Adam Cooper (adam.j.cooper_at_ntlworld.com)
Date: 04/18/04

  • Next message: Bill Kenney: "Re: problems accessing scsi tape drive."
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 18 Apr 2004 14:46:42 +0100
    
    

    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@woman nesscg]$ ps -aux | grep acpid
    > root 3078 0.0 0.1 1516 528 ? S 07:35 0:00
    > /usr/sbin/acpid

    [adam@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@localhost root]# killall acpid
    [root@localhost root]# acpid &
    [1] 5642
    [root@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.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Bill Kenney: "Re: problems accessing scsi tape drive."