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

It works on my old AS3104T, thank you very much #13

Open
Adios opened this issue Jan 6, 2024 · 1 comment
Open

It works on my old AS3104T, thank you very much #13

Adios opened this issue Jan 6, 2024 · 1 comment

Comments

@Adios
Copy link

Adios commented Jan 6, 2024

Just installed Void Linux (musl) on AS3104T and found the second top LED (system status) keep blinking. Did some search and it brought me here.

On a fresh Void, install the dev tools (I can't remember what exactly I installed), you will also need these packages:

# headers
sudo xbps-install -S linux-headers
# system.map
sudo xbps-install -S void-repo-debug
sudo xbps-install -S linux6.6-dbg # match your kernel version

And follow the README.md to stop the system LED from blinking:

sudo modprobe asustor_it87
sudo modprobe asustor_gpio_it87
sudo sh -c "echo 0 > /sys/devices/platform/asustor_it87.656/hwmon/hwmon2/gpled1_blink"

I can see the following lines in dmesg when modprobe: (i tried asustor as well)

[ 1215.674589] asustor_it87: loading out-of-tree module taints kernel.
[ 1215.674606] asustor_it87: module verification failed: signature and/or required key missing - tainting kernel
[ 1215.676235] asustor_it87: Found IT8728F chip at 0x290, revision 2
[ 1215.676281] asustor_it87: Beeping is supported
[ 1215.678253] asustor_gpio_it87: Found Chip IT8728 rev 2. 64 GPIO lines starting at 0600h
[ 1215.690004] asustor: No supported ASUSTOR mainboard found

I think the next step for me would be make a package for Void Linux, but I'm completely newbie to Void, so maybe not now :P

Anyway many thanks for this awesome proejct!

@Adios
Copy link
Author

Adios commented Jan 8, 2024

Didn't notice there is dkms target in the Makefile. So don't even bother void-repo-debug, linux6.6-dbg.

on a fresh void liunx, all I need is just

sudo xbps-install -S dkms

git clone https://github.com/mafredri/asustor-platform-driver
cd asustor-platform-driver
sudo make dkms
sudo sh -c "echo 11 > /sys/devices/platform/asustor_it87.656/hwmon/hwmon3/gpled1_blink_freq"

to make the LED steady green and that's it, excellent work!

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

No branches or pull requests

1 participant