1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
.\" Title: micro-evtd
.\"Author: Bob Perry
.TH MICRO-EVTD 8 "November 2008" "3.3" "User Commands"
.nh
.ad l
.SH NAME
micro-evtd \- Linkstation/Kuro/Terastation Micro Event Daemon
.SH SYNOPSIS
micro-evtd
.RB [ \-s\ \fIstring1,string2,..\fR ]
.RB [ \-c ]
.RB [ \-v ]
.RB [ \-q ]
.RB [ \-p\ \fIpriority\fR ]
.RB [ \-w\ \fIseconds\fR ]
.RB [ \-e ]
.SH DESCRIPTION
.IR micro-evtd
is an operating system daemon and should be started from /etc/init.d or
directly. It will return immediately, so you don't need to start
it with '&'.
.PP
.IR micro-evtd
is a simple and small user space interface to the Linkstation/Kuro/Terastation
Micro controller which is fitted to the ARM series of NAS boxes. It does not
have a lot of features but it's main task is to provide 'keep-alive'
messages to the on-board Micro. This device controls/monitors the fan,
various LEDs, system temperature and two buttons. This daemon provides
the necessary initialisation to the device and also monitors and controls
the fan depending on current temperature readings. It also monitors a power
button (located at the front) and a reset button (located at the rear).
.LP
A new feature of this daemon is the ability to code standby events for single
or groups of days. This allows the user to add any number of standby-on/off
events as required. You can send a SIGHUP to the daemon to get it to report
the time remaining before entering standby. Five minutes before standby, a
message is reported to all users. A user can delay standby by five minutes
by sending a SIGCONT to the daemon. Each successive SIGCONT adds another
five minutes. Alternatively, a SIGINT will log a standby skip. When the
timed event is reached, it will skip it for the next event.
.SH OPTIONS
.TP
\fB-s\fR
\fIstring1,string2,.. \fR Specifies a comma separated hexadecimal command
sequence which will be transmitted to the Micro.
.TP
\fB-c\fR
Don't fork, i.e. run in the foreground (debug use only).
.TP
\fB-v\fR
Displays the current daemon version information.
.TP
\fB-q\fR
Quiet mode for the display of results from use of the command sequence.
This option will prevent the display of returned results from the micro.
.TP
\fB-p\fR
\fIpriority\fR This allows the priority of the process to be changed. This
defaults to -4.
.TP
\fB-w\fR
.IR seconds
This is used by the standby process. The time specified is in seconds. This
is the time for which the unit will wait until issuing a wake up event.
.TP
\fB-e\fR
This is used by the standby process. The daemon will wait until an event
occurs to awaken the box.
.SH BUTTON OPERATION
All events, whether mechanical button operation, or software reset/shutdown
actions are routed through \fBmicro-evtd.event(8)\fR
.TP
\fIPOWER\fR
On release, a button event message is sent.
.TP
\fIRESET\fR
On release, a button event message is sent.
.LP
If the button is held for more than 4 seconds then an alternating sequence
event is sent.
.SH FILES
.RS 0
/etc/micro-evtd.conf
.RE
.RS 0
micro-evtd.event
.RS 0
/boot/pending_standby
.RE
.RS 0
/boot/standby
.RE
.RS 0
<TMP>/micro-evtd.status
.RE
.RS 0
<TMP>/micro-evtd.standby
.RE
.SH SEE ALSO
.TP
\fBmicroapl\fR(8), \fBmicro-evtd.conf\fR(5), \fBmicro-evtd.event\fR(8).
.SH AUTHOR
Bob Perry <lb-source@users.sourceforge.net>
|