Difference between revisions of "Information/HGAVR"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m
Line 8: Line 8:
  
 
  echo -n "commands" > /dev/ttyS1
 
  echo -n "commands" > /dev/ttyS1
{| style="width:75%; background:#E0FFFF" border="1" align=center
+
{| style="background:#DDDDDD; color:black"
||'''Command''' ||'''Action/Code'''  
+
|style="background:#CCCCCC; color:green" |'''Command'''  
 +
|style="background:#CCCCCC; color:green" |'''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.
 
| \30\30\30\30 || Stops smbd and atalkd if /dev/hda3 is not mounted to /mnt. Sent by /www/script/melsub_diskcheck.sh.

Revision as of 20:34, 6 September 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.
TTTT Flash memory update completed (stops blinking power, disk full, and diagnostic LEDs).
UUUU Flash memory update started (starts blinking power, disk full, and diagnostic LEDs).
VVVV Turns off disk full LED.
WWWW Turns on disk full LED.
XXXX Stops blinking disk full LED.
YYYY Starts blinking disk full LED.
ZZZZ Stops slowly blinking power LED. Sent by ppc_uartd.
gggg Diagnostic LED blinks 3 times and system shutdown (partition error).
iiii Diagnostic LED blinks 4 times and system shutdown (cooling fan error).
kkkk Diagnostic LED blinks 5 times and system powers off (flash memory error).
mmmm Diagnostic LED blinks 6 times and system shutdown (hard drive or ppc_uartd error).
oooo Diagnostic LED blinks 7 times and system shutdown (RAM, NIC, or HDD controller error).

Most of this information courtesy of http://www.yamasita.jp/linkstation.en/index.html.