Buffalo WHR-HP-G54/GPIO

GPIO (LED output control and switches)
The WHR-HP-G54 has the following GPIOs operational: ''Note:  shows 14 available as well. It is unknown what it does. Pin 8 also does not appear to do anything.''
 * 0 - Input - AOSS button on top - State 00 is down, state 01 is up
 * 1 - Output - Bridge LED - Lights 3rd LED on front panel
 * 2 - Output - WLAN LED
 * 3 - Output - Extra LED between bridge and WLAN (newer routers no longer have this LED)
 * 4 - Input - Reset Button
 * 5 - Input - Bridge/Auto Switch - State 01 is auto, state 00 is brd
 * 6 - Output - AOSS LED - Lights small orange LED on top
 * 7 - Output - DIAG LED - Lights red LED on front below the LED activated by 1
 * 9 - Output - Power LED

It seems that one must reverse  and   for the command to work, i.e. if you want to turn on a LED, use , off, use.