Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2010 19:24:27 +0200
From:      Antonio Vieiro <antonio@antonioshome.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Can't control laptop's lid... how to debug?
Message-ID:  <4C6C174B.5000900@antonioshome.net>

next in thread | raw e-mail | index | archive | help
Hi all,

I am unable to control my laptop's lid. Whenever I close the lid the 
system enters a weird state and I have to reboot.

I've already added

#Lid switch
notify 0 {
match "system" "ACPI";
match "subsystem" "Lid";
match "notify" "0x00";
action "xset dpms force off";
};

notify 0 {
match "system" "ACPI";
match "subsystem" "Lid";
match "notify" "0x01";
action "xset dpms force on";
};


to my /etc/devd.conf

This seemed to work the very first time, but then the system entered a 
weird state and I couldn't recover it, so I had to reboot.

Is there any way to debug acpi events so that I can see what's going on 
without having to reboot?

Thanks,
Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6C174B.5000900>