The AVR controls much of the LinkStation hardware, including the power button and LED indicator. It is controlled by the commands sent to <tt>/dev/ttyS1</tt>. To send commands to the AVR:

+

The [[AVR]] controls much of the LinkStation hardware, including the power button and LED indicator. It is controlled by the commands sent to <tt>/dev/ttyS1</tt>. To send commands to the AVR:

echo -n "commands" > /dev/ttyS1

echo -n "commands" > /dev/ttyS1

Revision as of 08:46, 22 October 2006

This article
Based on work by Frontalot
at Linkstationwiki.org
The AVR controls much of the LinkStation hardware, including the power button and LED indicator. It is controlled by the commands sent to /dev/ttyS1. To send commands to the AVR:

echo -n "commands" > /dev/ttyS1

Command

Action/Code

\30\30\30\30

Stops smbd and atalkd if /dev/hda3 is not mounted to /mnt. Sent by /www/script/melsub_diskcheck.sh.

[[[[

Starts slowly blinking power LED (sleep).

]]]]

High-speed cooling fan rotation.

\\\\

Low-speed cooling fan rotation.

>>>>

Unknown. Sent by ppc_uartd on boot.

AAAA

Unknown. Sent by ppc_uartd on boot.

CCCC

Sent by shutdown -r now (reboot).

EEEE

Sent by shutdown -h now (halt).

FFFF

Unknown. Sent by ppc_uartd on boot.

JJJJ

Unknown. Sent by ppc_uartd on boot.

KKKK

Unknown. Sent by ppc_uartd on boot.

QQQQ

Unknown. Sent by ppc_uartd on set timer.

RRRR

End of clear flash memory.

SSSS

Start of clear flash memory and /www/script/melsub_init.sh. Sent by /www/script/melsub_flash.sh.