SATMGR(4) (sandpoint)

SATMGR(4) | NetBSD Kernel Interfaces Manual (sandpoint) | SATMGR(4)

# NAME

satmgr — driver 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.

NAS products supported by satmgr:

- Buffalo LinkStation
- Conceptronic CH3WNAS
- D-Link DSM-G600 (Rev. B)
- Iomega StorCenter
- KuroBox
- LevelOne FNS-5000B
- QNAP TurboStation
- Synology DiskStation

# SYSCTL VARIABLES

The following sysctl(3) variables are available for Kurobox/Linkstation NAS products:

machdep.satmgr.hwwdog_enable
  Toggle the system watchdog on (1) or off (0).

For the Iomega StorCenter the following variables have been defined:

machdep.satmgr.fan_low_temp
  Set the temperature below which the fan is turned off.
machdep.satmgr.fan_high_temp
  Set the temperature above which the fan is turned on.

# FILES

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

# SEE ALSO

powerd(8), sysctl(8)

# HISTORY

The satmgr driver first appeared in NetBSD 6.0.

January 15, 2012 | NetBSD 5.99