Tiny Core Base > Corepure64
[SOLVED] Lm-sensors on Corepure64 5.x
fodder:
--- Quote from: Juanito on April 18, 2014, 12:31:36 AM ---does "lsmod" show if the coretemp module is loaded?
--- End quote ---
No sir, here are the modules that are listed after loading all the needed TCZs (compiletc squashfs-tools perl5 hwmon-3.8.10-tinycore64):
--- Code: ---cpufreq_userspace
cpufreq_stats
cpufreq_powersave
cpufreq_conservative
squashfs
loop
hid_logitech_d j
mperf
microcode
r8169
serio_raw
pcspkr
lpc_ich
xhci_hcd
mfd_core
--- End code ---
Juanito:
Does "sudo modprobe coretemp" load it?
fodder:
--- Quote from: Juanito on April 22, 2014, 11:20:46 AM ---Does "sudo modprobe coretemp" load it?
--- End quote ---
Nope, I get:
--- Code: ---modprobe: module coretemp not found in modules.dep
--- End code ---
Juanito:
--- Quote from: fodder on April 17, 2014, 10:38:16 AM ---Boot Pure64 5.2
tce-load -wi compiletc squashfs-tools perl5 hwmon-3.8.10-tinycore64
...the rest of the process in identical...
--- End quote ---
You should be using hwmon-3.8.13-tinycore64 with corepure64-5.2 - it's maybe better to use "tce-load -i hwmon-KERNEL"
fodder:
--- Quote from: Juanito on April 22, 2014, 08:31:51 PM ---You should be using hwmon-3.8.13-tinycore64 with corepure64-5.2 - it's maybe better to use "tce-load -i hwmon-KERNEL"
--- End quote ---
Brilliant!!! I didn't realize that the "-KERNEL" option gave you the most current hwmon for the booted core.
Everything works as expected now, thanks a ton Juanito!
In summary, here is my full working process to get coretemp sensor readings:
* COMPILE AND INSTALL:
* Boot Pure64 5.2
* tce-load -wi compiletc squashfs-tools perl5 hwmon-KERNEL
* cd /home/tc/
* wget -O - http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-3.3.5.tar.bz2 > /home/tc/lm_sensors-3.3.5.tar.bz2
* tar -xvf lm_sensors-3.3.5.tar.bz2
* cd /home/tc/lm_sensors-3.3.5
* make all
* make DESTDIR=/tmp/lm-sensors install
* mksquashfs /tmp/lm-sensors/ /mnt/sda1/tce/optional/lm-sensors.tcz
* tce-load -i lm-sensors
* RUN DETECTION SCRIPT:
* sudo /usr/local/bin/perl /usr/local/sbin/sensors-detect
* BOOT PERSISTENCE:
* echo etc/sysconfig/lm_sensors >> /opt/.filetool.lst
* echo /sbin/modprobe coretemp >> /opt/bootlocal.sh
* REBOOT WITH BACKUP:
* filetool.sh -b
* sudo reboot
Once I get this project complete I will properly package up all the tczs that I have compiled for 5.x x86_64 and submit them for inclusion in the repo. I have actually had to compile quite a few that will hopefully be be helpful to other users (ncursesw, nano, lsof, ntpclient, unclutter, xdotool, imake, GraphicsMagick, etc.) but I need to make sure everything is working correctly first.
fodder
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version