-
Notifications
You must be signed in to change notification settings - Fork 21
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
unRaid #10
Comments
Hi, if building the kernel module is difficult (and if you have time), you can also try using the programs in the userspace-daemon branch, and check the "Build & Usage" section therein. I didn't merge this branch to Basically, you can switch to that branch with
|
@miskcoo are you okay that I build a plugin for Unraid from your repo and build the modules so that users can easily use it on Unraid? I already have a toolchain that does most of the heavy lifting and auto compiles everything for each new Unraid version. I will then push it to the Unraid Community Applications where users can easily make use of the driver. Sorry for the maybe dumb question but I would need to build the cli tool and the Kernel module correct? |
@ich777 its written somewhere that the cli tool and the kernel module would get in conflict with each other. so you can do both but they do not require each other. how do you build the modules? the developer documentations and tools i found so far are kind of outdated. how are updates handled? does unraid contain something like dkms? |
I am ok with that if you could note the source in the plugin's description. But if there's no such place, that's okay too. Including the kernel modules and the |
I have a special toolchain (and build process for that which involves a Jenkins, VM, Docker and a really complicated script) for that and I work closely together with the developers from Unraid to deliver updates so that driver packages are available when a new Unraid version drops.
Sure thing, I always include the source repo since you are the main developer and I only made the plugin for it, examples: Do you have a donation link somewhere so that I can link it in the plugin? BTW, do you know if the driver will also compile against a newer Kernel since the next Unraid version will use either Kernel 6.7.x+ |
There are no donation link.
Yes, I have tried it on 6.8.9, and as far as I know, it supports >= 5.15. |
Give me a bit please, I will try to build it for a few different versions and let you know if it compiles correctly. |
@miskcoo I'm happy to report that the module compiles against Kernel 6.8.12: Another question, are you also using Unraid? Would one need to run them on boot or is this something that users have to set up manually? |
I am not using Unraid, but if it supports systemd, you can just copy the aforementioned scripts to |
Forget to mention that, including the |
@miskcoo understood, I think I will make the base plugin ready that installs the modules since this will probably take me one or two days. Unraid doesn't support systemd because it's based on Slackware it uses rc.d however I can do that all when installing the plugin (this is basically done on every boot from Unraid and on the first installation from the plugin).
I know the i2c-dev module because it's built into the base OS from Unraid, however where do I get |
Nevermind, I found it: |
@miskcoo just to keep you updated, I already integrated your repository into my built toolchain. Unraid is missing About the scripts: |
@ich777 that sounds good, and you are right |
@miskcoo I've gone now through the scripts and I think it will be best to implement About the
I now pushed a PR #12 , please let me know what you think of the changes. |
When using I may implement this loop using a more efficient language later. I think we can increase the interval from 0.1s to 0.2s or 0.5s by default at this moment. |
@miskcoo I think 0.5 or even 1 second would be sufficient enough for most users. From what I saw if you put in another drive in the NAS it wouldn't pick up the new drive how it's implemented now however that's not that important for now. Thanks for your answers and help. :) Let me know how the changes from my PR impact everything too, really curious. |
@ich777 You are right. In the current implementation, inserting a new disk requires restarting the script so that it can rebuild the disk mapping. I think the new version is nearly equivalent to the original version, and removing the existence check of |
@miskcoo thank you very much for implementing the changes, it helps a lot! Really much appreciated! The plugin is now done and I will try to find a few users to test the plugin when the new public beta is released. @werty1st do you want to close this issue or leave it open for now until the public beta is released? Oh I completely forgot you can have a complete build environment, just head over to this repository. |
Hi @ich777 amazing work! I have an DXP6800PRO with Unraid. I can test if you like. |
Please see this post, we have to wait until a public beta is released with the necessary Kernel modules included. |
Hi @ich777, I just want to let you know that the PR #15 fixed an issue of mapping from disks to LED, and added a config file in
|
@miskcoo thanks for the heads up, I'll have to look into this on Monday because I have a busy weekend, but I already just took a quick look at the changes. About the I really like the idea with Was the old way of setting the led color for the Network device not sufficient enough or was this just a static color? |
That is a good idea, but I think I will keep them separated at this moment.
The old way is sufficient so you can also ignore it. It is not a static one. The netdev's blinking is done by the trigger provided by the The new version only changes the color based on the link speeds, and whether we can ping the gateway. Maybe there aren't many people would need them.
Thanks! |
No worries, I'm fine with that too... :) I will take a closer look at the changes on Monday and report back, do you maybe have a way of communicating through Discord or Matrix/Synapse? |
The ugreen_leds_cli is working on unraid.
I would like to build the kernel module. But I have zero XP with unRaid and slackware.
I will try to load a slackware docker image matching unRaids kernel version and build the module.
The text was updated successfully, but these errors were encountered: