Bolagnaise Posted December 16, 2020 Share Posted December 16, 2020 I recently switched from an intel based system to an Ryzen 5950x on an MSI motherboard and discovered that dynamix system temp plugin does not detect cpu temp due to not having the correct driver in the linux kernel. The driver in question is the NCT6687 driver and it was recently added to the latest linux NEXT kernel in hwmon 6683 driver https://www.reddit.com/r/linuxhardware/comments/kahmb1/nct_6687_support_added_to_linux_kernel/?utm_source=share&utm_medium=ios_app&utm_name=iossmf https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/hwmon?h=next-20201215 Noting that unraid 6.9.0-rc1 is running kernel 5.9.13 and that 5.9.14 also doesn’t contain the updated driver package, is there a way for me to install this driver package? TIA Quote Link to comment
UNOPARATOR Posted December 16, 2020 Share Posted December 16, 2020 I would like to learn about this too. Thanks for bringing it up. Quote Link to comment
Bolagnaise Posted December 16, 2020 Author Share Posted December 16, 2020 Maybe @ich777 could input some insight if this is even possible. He maintains the kernel helper plugin but i’m not sure if updating this driver is possible to do individually? Quote Link to comment
ich777 Posted December 16, 2020 Share Posted December 16, 2020 22 minutes ago, Bolagnaise said: Maybe @ich777 could input some insight if this is even possible. He maintains the kernel helper plugin but i’m not sure if updating this driver is possible to do individually? I will take a look at this tomorrow. Quote Link to comment
Bolagnaise Posted December 16, 2020 Author Share Posted December 16, 2020 3 minutes ago, ich777 said: I will take a look at this tomorrow. Much appreciated. Have a great day/night. Quote Link to comment
ich777 Posted December 17, 2020 Share Posted December 17, 2020 11 hours ago, Bolagnaise said: Much appreciated. Have a great day/night. I've tried something now but no garantuee that it works... Open up the Unraid terminal and copy paste this: cd /tmp wget https://fastdl.minenet.at/nct-1.txz installpkg nct-1.txz depmod -a modprobe nct6687 The package is based on this source (slightly modified to easily create a Slackware package). EDIT: I forgot to say this package will only work on Unraid 6.9.0 RC1 !!! 2 Quote Link to comment
Bolagnaise Posted December 17, 2020 Author Share Posted December 17, 2020 (edited) 1 hour ago, ich777 said: I've tried something now but no garantuee that it works... Open up the Unraid terminal and copy paste this: cd /tmp wget https://fastdl.minenet.at/nct-1.txz installpkg nct-1.txz depmod -a modprobe nct6687 The package is based on this source (slightly modified to easily create a Slackware package). EDIT: I forgot to say this package will only work on Unraid 6.9.0 RC1 !!! Your an actual god. It worked, thank you so much! Edited December 17, 2020 by Bolagnaise Quote Link to comment
ich777 Posted December 17, 2020 Share Posted December 17, 2020 2 hours ago, Bolagnaise said: Your an actual god. It worked, thank you so much! Please keep in mind you have this to do after every reboot... This is only a temporary solution... Quote Link to comment
Bolagnaise Posted December 17, 2020 Author Share Posted December 17, 2020 Just now, ich777 said: Please keep in mind you have this to do after every reboot... This is only a temporary solution... Yep, i assume i can just run this in user scripts for the time being Quote Link to comment
ich777 Posted December 17, 2020 Share Posted December 17, 2020 1 minute ago, Bolagnaise said: Yep, i assume i can just run this in user scripts for the time being Yes but I will remove the download soon. Place it on your USB boot device and install it from there. Quote Link to comment
Bolagnaise Posted December 17, 2020 Author Share Posted December 17, 2020 Just now, ich777 said: Yes but I will remove the download soon. Place it on your USB boot device and install it from there. ok thanks! Quote Link to comment
ich777 Posted December 19, 2020 Share Posted December 19, 2020 On 12/17/2020 at 3:03 PM, Bolagnaise said: ok thanks! If you need the package for RC2 here is the link where you can download it (just change the link behind the 'wget' command): https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz Quote Link to comment
Bolagnaise Posted December 19, 2020 Author Share Posted December 19, 2020 2 minutes ago, ich777 said: If you need the package for RC2 here is the link where you can download it (just change the link behind the 'wget' command): https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz Thanks very much mate, really appreciate the help. Please consider setting up a donate link on your signature:) 1 Quote Link to comment
ich777 Posted December 19, 2020 Share Posted December 19, 2020 18 minutes ago, Bolagnaise said: Thanks very much mate, really appreciate the help. Please consider setting up a donate link on your signature:) Search in the CA App for my username and the click in my username on a Docker and you will see the Donate button. In the Unraid-Kernel-Helper thread should be also a link I think. Quote Link to comment
UNOPARATOR Posted December 20, 2020 Share Posted December 20, 2020 (edited) v6.9-rc2 can show the CPU temp without anything special, @ich777 what does your .txz package solve for RC2? I tried the above script - changing the url for RC2 - but modprobe line gives an error: Quote # modprobe nct6687 modprobe: ERROR: could not insert 'nct6687': No such device Edited December 20, 2020 by UNOPARATOR Quote Link to comment
ich777 Posted December 20, 2020 Share Posted December 20, 2020 48 minutes ago, UNOPARATOR said: v6.9-rc2 can show the CPU temp without anything special, @ich777 what does your .txz package solve for RC2? I tried the above script - changing the url for RC2 - but modprobe line gives an error: Oh nice didn't know that since I don't got such hardware. As I mentioned above you have to change the link and also the filename is now different where you install tge package. EDIT: Then this is depricated and I will not build it for further versions of Unraid. Quote Link to comment
UNOPARATOR Posted December 20, 2020 Share Posted December 20, 2020 First of all, as I mentioned in my previous post, I did change the url to your RC2 .txz link, ran all lines one by one in unRAID Terminal, but the last line gave an error. Should I change anything in System Temps before trying? Secondly, RC2 only shows the CPU temp but no MB temp or fans. Did your workaround offer those values? I know you don't own such hardware but who would know what your package does other than yourself, right? (maybe @Bolagnaise does, since your RC1 package worked for him.) Quote Link to comment
Bolagnaise Posted December 20, 2020 Author Share Posted December 20, 2020 1 minute ago, UNOPARATOR said: First of all, as I mentioned in my previous post, I did change the url to your RC2 .txz link, ran all lines one by one in unRAID Terminal, but the last line gave an error. Should I change anything in System Temps before trying? Secondly, RC2 only shows the CPU temp but no MB temp or fans. Did your workaround offer those values? I know you don't own such hardware but who would know what your package does other than yourself, right? (maybe @Bolagnaise does, since your RC1 package worked for him.) what motherboard do you own? Quote Link to comment
UNOPARATOR Posted December 20, 2020 Share Posted December 20, 2020 I have an ASUS ROG STRIX B550-F GAMING (WI-FI) with an AMD Ryzen 7 5800X CPU. Quote Link to comment
Bolagnaise Posted December 20, 2020 Author Share Posted December 20, 2020 4 minutes ago, UNOPARATOR said: I have an ASUS ROG STRIX B550-F GAMING (WI-FI) with an AMD Ryzen 7 5800X CPU. This will not work then mate, you should have mentioned this. you need the WMI ASUS plugin 1 Quote Link to comment
UNOPARATOR Posted December 20, 2020 Share Posted December 20, 2020 5 minutes ago, Bolagnaise said: This will not work then mate, you should have mentioned this. you need the WMI ASUS plugin Thank you for this information but I couldn't find that plugin when I searched in CA. Any ideas? Quote Link to comment
ich777 Posted December 20, 2020 Share Posted December 20, 2020 30 minutes ago, UNOPARATOR said: I know you don't own such hardware but who would know what your package does other than yourself, right? As I mentioned above this is not my work, I only compiled it and made a package for Unraid so that it installs correctly and is user friendly, please look at the Github repo from above that I've linked. From my understanding this is only the Kernel Module for NCT6687 so that the temps and fans are recognized and also that you can control the fans also please note that with different implementations from different manifacturers not everything can/will work correctly. 1 hour ago, UNOPARATOR said: modprobe: ERROR: could not insert 'nct6687': No such device If it gives you this error than something went wrong at the installation of the package and/or depmod. EDIT: @Bolagnaise is this needed for RC2? Should I build it for upcoming versions of Unraid? 1 Quote Link to comment
UNOPARATOR Posted December 20, 2020 Share Posted December 20, 2020 Supposedly by, the github repo owner tested this with a B550 MB. Since I'm not a linux expert, I don't know why the procedure gave an error. Quote Link to comment
ich777 Posted December 20, 2020 Share Posted December 20, 2020 3 minutes ago, UNOPARATOR said: Supposedly by, the github repo owner tested this with a B550 MB. Since I'm not a linux expert, I don't know why the procedure gave an error. Can you try it once more and give me the output of every command? cd /tmp wget https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz installpkg nct6687d-1.txz depmod -a modprobe nct6687 Quote Link to comment
UNOPARATOR Posted December 20, 2020 Share Posted December 20, 2020 (edited) 2 minutes ago, ich777 said: Can you try it once more and give me the output of every command? cd /tmp wget https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz installpkg nct6687d-1.txz depmod -a modprobe nct6687 Quote root@UNONAS:~# cd /tmp root@UNONAS:/tmp# wget https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz --2020-12-20 14:03:25-- https://github.com/ich777/unraid-plugins-repo/releases/download/5.10.1-Unraid/nct6687d-1.txz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/307910727/6c47ef00-41e2-11eb-898f-bae39626833e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201220%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201220T110328Z&X-Amz-Expires=300&X-Amz-Signature=409f9f1cb55662ea01030f337a3286ca147754be3d38f81b746365324992c125&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307910727&response-content-disposition=attachment%3B filename%3Dnct6687d-1.txz&response-content-type=application%2Foctet-stream [following] --2020-12-20 14:03:28-- https://github-production-release-asset-2e65be.s3.amazonaws.com/307910727/6c47ef00-41e2-11eb-898f-bae39626833e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201220%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201220T110328Z&X-Amz-Expires=300&X-Amz-Signature=409f9f1cb55662ea01030f337a3286ca147754be3d38f81b746365324992c125&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307910727&response-content-disposition=attachment%3B filename%3Dnct6687d-1.txz&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.78.84 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.78.84|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5900 (5.8K) [application/octet-stream] Saving to: ‘nct6687d-1.txz.1’ nct6687d-1.txz.1 100%[====================================================>] 5.76K --.-KB/s in 0s 2020-12-20 14:03:32 (24.5 MB/s) - ‘nct6687d-1.txz.1’ saved [5900/5900] root@UNONAS:/tmp# installpkg nct6687d-1.txz Verifying package nct6687d-1.txz. Installing package nct6687d-1.txz: PACKAGE DESCRIPTION: Package nct6687d-1.txz installed. root@UNONAS:/tmp# depmod -a root@UNONAS:/tmp# modprobe nct6687 modprobe: ERROR: could not insert 'nct6687': No such device root@UNONAS:/tmp# Edited December 20, 2020 by UNOPARATOR Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.