SATMGR(4) | sandpoint | SATMGR(4) |
The device file /dev/satmgr can be written to control the satellite processor and the LEDs. Reading it will return single characters for button press events. This facility was designed to implement a NAS control CGI program.
satmgr detects a soft power-off condition, which is triggered by holding the front panel power button pressed for several seconds. This driver can optionally invoke powerd(8) to get a finer control over the system shutdown procedure. It is capable of reporting a power-button-pressed event. Refer to the powerd(8) manual section for more details.
For Kurobox/Linkstation NAS products it also provides a way to toggle the system watchdog with the sysctl(8) utility. The usage is:
# sysctl -w machdep.satmgr.hwwdog_enable=1 # sysctl -w machdep.satmgr.hwwdog_enable=0
NAS products currently supported by satmgr:
January 26, 2011 | NetBSD 5.99 |