Can't control laptop's lid... how to debug?

Antonio Vieiro antonio at antonioshome.net
Wed Aug 18 17:26:10 UTC 2010


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


More information about the freebsd-questions mailing list