2014-04-29, 13:13
(2014-04-29, 10:04)Endeavour79 Wrote:(2014-04-28, 00:20)locomot1f Wrote: @Endeavour, you are like me with the sensors.
for some reason ours is backwards -- the k10temp comes first. but the provided advancedsetting.xml is set for if the radeon-pci is first.
here's mine:
Code:<cputempcommand>sensors|sed -ne '1h;1!H;${g;s/k10temp.*temp1: \+\([-+][0-9]\+\).*/\1 C/p}'</cputempcommand>
<gputempcommand>sensors|sed -ne '1h;1!H;${g;s/k10temp.*temp1: \+\([-+][0-9]\+\).*radeon.*/\1 C/p}'</gputempcommand>
Thank you. But this doesn't work anymore;;
Output below:
Code:xbmc@boombox:~/testar$ sensors
radeon-pci-0008
Adapter: PCI adapter
temp1: +68.0°C (crit = +120.0°C, hyst = +90.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +67.8°C (high = +70.0°C)
(crit = +100.0°C, hyst = +97.0°C)
xbmc@boombox:~/testar$ sensors|sed -ne '1h;1!H;${g;s/k10temp.*temp1: \+\([-+][0-9]\+\).*/\1 C/p}'
radeon-pci-0008
Adapter: PCI adapter
temp1: +68.0°C (crit = +120.0°C, hyst = +90.0°C)
+67 C
xbmc@boombox:~/testar$ sensors|sed -ne '1h;1!H;${g;s/k10temp.*temp1: \+\([-+][0-9]\+\).*radeon.*/\1 C/p}'
xbmc@boombox:~/testar$
Why not pass the argument to sensors ? I have the same problem. Not only that. It can't pick up the CPU temperature as well if I simply copy and paste the one in OP (there is an extra 'Temp' in my output)
jkl@xbmc:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +40.0°C (crit = +100.0°C)
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +33.0°C
Core1 Temp: +33.0°C
radeon-pci-0300
Adapter: PCI adapter
temp1: +34.5°C (crit = +120.0°C, hyst = +90.0°C)
jkl@xbmc:~$ sensors radeon-pci-0300
radeon-pci-0300
Adapter: PCI adapter
temp1: +35.0°C (crit = +120.0°C, hyst = +90.0°C)
jkl@xbmc:/home/xbmc$ sensors radeon-pci-0300|sed -ne "s/temp1: \+[-+]\([0-9]\+\).*/\1 C/p"
44 C