ASRock 970 Pro3 R2.0 sensors
Posted: 2018-07-12 Filed under: system | Tags: ASRock 970 Pro3 R2.0, config_sensors_nct6775, nct6775, nct6776-290, nct6776-isa-0290, sensors, sensors-detect 2 CommentsI decided to make a ‘budget upgrade’ on the computer that I use for checking my SlackBuilds and I bought an ASRock 970 Pro3 R2.0 motherboard and an AMD FX8350 CPU. So, compared to my old FX4100 processor, I now have twice more cores and a bit higher clockspeed. The old CPU and motherboard, in turn, found their use to upgrade another PC. Unfortunatelly, I did not get the hardware sensors to work out-of-the-box with the new motherboard. As a result, I was not able to monitor the CPU temperature, which (for me) is quite important.
I am running Slackware -current and the sensors did not work with its stock kernel nor with kernel 4.17.2, built from source. Of course I tried:
sensors-detect
Nothing. I googled around, I really did, I searched, but could not find a solution. In the end I asked in the ##slackware IRC channel at freenode. I had my problem solved in less than 10 min by the community, thanks shadowsun.
The module that had to be loaded is: nct6775
. So, I just put the following in my /etc/rc.d/rc.local
file:
#!/bin/sh # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local startup commands in here. Also, if you have # anything that needs to be run at shutdown time you can # make an /etc/rc.d/rc.local_shutdown script and put those # commands in there. # config_sensors_nct6775 generates nct6775 modprobe nct6775
EDIT (14.07.18). Actually, a better place seems to be /etc/rc.d/rc.modules.local
, as the comment in the file says. Thanks anestis for the suggestion. Therefore:
#!/bin/sh # /etc/rc.d/rc.modules.local # The Linux kernel source is the best place to look for documentation # for the many available kernel modules. This can be found under # /usr/src/linux-$VERSION/Documentation/. # Almost all necessary modules are automatically loaded when needed, # but there are a few exceptions. Here's a (not all-inclusive) list, # so uncomment any of the below entries or add others as needed: # Note that you could also create/edit rc.modules-$version if you # only wanted specific modules loaded for particular kernels. #/sbin/modprobe tun # Universal TUN/TAP device driver #/sbin/modprobe sg # Generic SCSI support for SATA DVD-RW # config_sensors_nct6775 generates nct6775 /sbin/modprobe nct6775
Now, the Xfce sensors plugin suggests to display information from nct6776-290
and typing in the terminal:
sensors
outputs the same information from nct6776-isa-0290
. Well, in moments like this I wish I knew more about hardware and stuff, because I really do not know why these are called nct6776-* and not nct6775-* like the module. Sorry…
Anyway. It works! Great.
I am in a similar situation with an AMD APU system so thanks for that. As I noticed there is also rc.modules.local in rc.d directory. Could the module be placed there instead?
Yes, rc.modules.local seems to works and is probably the right place. Thanks!