Hello everyone.
I've had my X5040 board for coming up to 2 years now and never bothered with Linux since I have other machines with linux on but last weekend I decided to take the plunge. I got MintPPC up and running using kernel 6.15-rc7 and the single root partition method. I copied the kernel modules into /lib/modules (in a folder of the same name as reported by `name -r`) and installed the psensors package, and yet I get no temp readings except for my 2 hard drives (one of which is clearly wrong since it is locked at 100C and I'm guessing a SATA 6 SSD is not going to be that hot!).
The only hardware monitoring module I could see is lm90 (I think it was called that) so I inserted that but still nothing. Are there known issues with sensors on P5040, or something further I need to do?
Thanks.
X5040 Sensors
Re: X5040 Sensors
I am not sure about X5000, but you can try universal lmsensors:
At least, it show PCIe devices temperature. Depending on X5000 design it should show motherboard and CPU temperature. Look here viewtopic.php?t=4938. Sensors-detect takes some time and user interaction.
To check SSD temperatures use one of this:
Code: Select all
apt-get install lm-sensors
sensors-detect
sensors
To check SSD temperatures use one of this:
Code: Select all
apt-get install hddtemp
hddtemp /dev/sdX
Code: Select all
apt-get install smartmontools
smartctl -a /dev/sdX
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad
AmigaOS, MorphOS, linux, MacOS X
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad
AmigaOS, MorphOS, linux, MacOS X
Re: X5040 Sensors
I did already try lm-sensors and sensors-detect but it didn’t find any sensors. I believe I’ve seen it working for x5020 so I would think it should work for 5040 but maybe there is something missing from the device tree file? I don’t really understand that files source.
For now I wrote some C code to get the temps from the MCU over serial as per the manual. It works so at least I have something even if it’s a crude command like app for now. It’s also not finished yet, it displays all the info in hex at the moment but it won’t take me long to sort that.
I’m guessing there is a better way to integrate it into the OS sensor platform but I don’t know anything about that.
For now I wrote some C code to get the temps from the MCU over serial as per the manual. It works so at least I have something even if it’s a crude command like app for now. It’s also not finished yet, it displays all the info in hex at the moment but it won’t take me long to sort that.
I’m guessing there is a better way to integrate it into the OS sensor platform but I don’t know anything about that.