On Friday 16 February 2007 19:49, Raymond Lewis Rebbeck wrote:
> On Saturday, 17 February 2007 6:08, Mick wrote:

> > Can you spot anything out of place?
>
> Your configs seem to all be in order.
>
> Are you sure that the acpid init script has been started?

I am sure it is running alright:
==================================
# rc-update -s -v | grep -i acpid
               acpid |      default
==================================

> Also try checking your logs while pressing the hibernate button and acpid
> should output what it is doing and what acpi events it is receiving, you
> can view this on vt12.

Thanks.  It seems that my syslog-ng is configured different to yours (I guess 
some more awful hacking to get xconsole to work is to blame for this) and 
nothing relevant to acpid is shown on vt12.  However, tail -f /var/log/acpid 
showed a couple of errors which I fixed - bar the last one which says:

  [Fri Feb 16 20:30:55 2007] BEGIN HANDLER MESSAGES
  /etc/acpi/default.sh: line 57: syntax error: unexpected end of file

The last few of lines of my /etc/acpi/default.sh show this much:
==================================
        ac_adapter)
                case "$value" in
                        # Add code here to handle when the system is unplugged
                        # (maybe change cpu scaling to powersave mode)
                        #*0)
                        #       ;;

                        # Add code here to handle when the system is plugged 
in
                        # (maybe change cpu scaling to performance mode)
                        #*1)
                        #       ;;


        *)      log_unhandled $* ;;
esac
==================================

What's your's like?
-- 
Regards,
Mick

Attachment: pgphWS5W3XlEc.pgp
Description: PGP signature

Reply via email to