Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for: Asustor AS5104T. Also requesting usage examples for testing #4

Open
OH1KK opened this issue Apr 7, 2023 · 5 comments · May be fixed by #8
Open

Support for: Asustor AS5104T. Also requesting usage examples for testing #4

OH1KK opened this issue Apr 7, 2023 · 5 comments · May be fixed by #8

Comments

@OH1KK
Copy link

OH1KK commented Apr 7, 2023

asustor_as5104t_front
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

asustor-AS5104T.txt

@OH1KK
Copy link
Author

OH1KK commented Apr 7, 2023

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.

@OH1KK
Copy link
Author

OH1KK commented Apr 7, 2023

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

@Smart123s
Copy link

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.

@OH1KK
Copy link
Author

OH1KK commented Apr 9, 2023

pwm3 works for AS5104T too. Thank you.

@mafredri mafredri linked a pull request Dec 17, 2023 that will close this issue
mafredri added a commit that referenced this issue Dec 17, 2023
@mafredri
Copy link
Owner

@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.

mafredri added a commit that referenced this issue Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants