SATMGR(4) sandpoint SATMGR(4)

NAME

satmgrdriver for satellite processor, controlling power, front panel LEDs, and buttons

SYNOPSIS

satmgr0 at eumb? unit 0
satmgr0 at eumb? unit 1

DESCRIPTION

This driver provides an interface to the NAS builtin satellite microprocessor which controls the power, front panel LEDs, and push buttons. Communication is performed through character sequences, whose definition and usage depend on the NAS product models.

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:

FILES

/dev/satmgr
communication inferface to satmgr.
/dev/power
event notify channel to powerd(8).

SEE ALSO

powerd(8)

HISTORY

The satmgr driver first appeared in NetBSD 6.0.
January 26, 2011 NetBSD 5.99