Hi, i have analysed the stock kernel and maybe i found the way to the solution for fan, leds and maybe usb...
there is a package named nas-fw-arm where quite much stuff is inside. You actually get the content of the
package by typing "dpkg -L nas-fw-arm" on a nas with stock firmware...
I have added a file with the contents of the package above... simply untar them in the root-directory with
tar -xzvf nas-fw-arm.tar.gz
as far as i can see it seems that you have to set the path to work with the stuff:
if you get a error for missing libbuffalo....so simply link it / copy it from /usr/local/lib ;
if you want to try the leds, simply type in "led_test.sh start"
i guess, that the miconapl controls the leds, fans and a part of the power management. It seems, that the usb-port is usualy powered of ( see "cat /proc/buffalo/gpio/power_control/usb0"). There must be a way to activate it, but i am too tired to try it today... maybe someone of you will find a solution in the meantime
Quite much tools from buffalo can be started as deamons...simply look in the config fileshttp://bluehost.to/file/WEcG6LgUw/nas-fw-arm.tar.gz
have fun!UPDATE2:: USB:
Put the following lines in a sh-file and run it at every boot:
/usr/local/sbin/miconapl -a usb_set_power all_on
you can check by "lsusb" that the devices appear....it seems that you can connect more that one usb-storage-device