CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2021/03/25 14:46:55
Modified files: usr.sbin/apmd : apmd.c Log message: Log ioctl failures Otherwise there is no way to determine why e.g. zzz(8) does not do anything on certain machines; macppc and arm64 for example have no suspend/resume suspend at all (for now) and loongson has partial support. This still does not make `zzz' or `apm -z' report the informative warning on standar error, but syslog now prints apmd: system suspending apmd: battery status: unknown. external power status: not known. estimated battery life 0% apmd: suspend: Operation not supported OK benno