Support for: Asustor AS5104T. Also requesting usage examples for testing
I have Asustor AS5104T. I have already installed Debian bullseye into it.
- sudo dmesg
- sudo dmidecode -s system-manufacturer
- sudo dmidecode -s system-product-name
- sudo dmidecode -s bios-vendor
- sudo dmidecode -s bios-version
- sudo dmidecode -s bios-release-date
- sudo dmidecode -s bios-revision
- sudo gpioinfo
as attachment. I also installed asustor platform module
git clone --branch it87 https://github.com/mafredri/asustor-platform-driver.git
Module compiled and loaded without warnings. I am unsure does it work as it should, I don't know how to test it. I would see instructions for, how to:
- Stop front green led blinking
- Dim down front led brightness
- Detect if front buttons are pressed (up, esc, down, enter)
- Change front panel LCD text "STARTING SYSTEM PLEASE WAIT..." to something else
- Generate beep sound
Buttons & LCD. There is project for LCD and buttons
https://github.com/mafredri/lcm
It works with AS5104T. Notes for installing on Debian bullseye. Debian default version for go is 1.15. It is too old for lcm. You need to install golang-go-1.17. You can find it from bullseye-backports repository.
To see current fan value
cat /sys/class/hwmon/hwmon4/pwm1
To change fan speed
Full speed
echo 255 > /sys/class/hwmon/hwmon4/pwm1
Default speed
echo 51 > /sys/class/hwmon/hwmon4/pwm1
Low speed (quiet)
echo 13 > /sys/class/hwmon/hwmon4/pwm1
On my AS6602T I can change the LED brightness with the same command as the fan speed, just replace pwm1 with pwm3. 255 is off and 0 is max brightness.
pwm3 works for AS5104T too. Thank you.
@OH1KK I opened a new PR, #8, for testing AS51XXT support, would you like to try it out?
I enabled it with the same pin configuration as AS67XXT (recently added by @DanielGibson), but I'm just making a guess here. Everything LED might not work, but most should. Disks in particular may not work.