Hello On my notebook (Compaq Armada M700, 6.1), after sleep state mouse freeze. So, I added in devd.conf action for restart moused. But, as I can see, devd don't catch ACPI Button 0x00 event (run him with -Dd flags and don't see any new strings at all), but kernel write "wakeup from sleeping state (slept 00:00:31)" in logger right. Also, devd catching and working on with all other ACPI event's correctly (Button 0x01, Lid, etc). Searched some info on the web, try some tips, but any luck... Close to my problem discussion here: daemonnews.org/mailinglists/FreeBSD/freebsd-acpi/msg02409.html But in 6.1 no such staff, like maybe present in CURRENT. With resume log string I see other: kernel: pci0: Failed to set ACPI power state D2 on \_SB_.C005.C1CA: AE_BAD_PARAMETER But I believe, this is something related to ESS card. Any help, please?... ;) Thx.
Oleg Kozheltsev wrote:> On my notebook (Compaq Armada M700, 6.1), after sleep state mouse > freeze. So, I added in devd.conf action for restart moused. But, as I > can see, devd don't catch ACPI Button 0x00 event (run him with -Dd flags > and don't see any new strings at all), but kernel write "wakeup from > sleeping state (slept 00:00:31)" in logger right. Also, devd catching > and working on with all other ACPI event's correctly (Button 0x01, Lid, > etc). Searched some info on the web, try some tips, but any luck...If somebody interesting, the other way to do this is: sysctl -w hw.acpi.sleep_button_state=NONE notify 10 { match "system" "ACPI"; match "subsystem" "Button"; match "notify" "0x01"; action "/usr/sbin/acpiconf -s 3"; }; And rc.suspend and rc.resume will be executed (acpiconf(8)).