2014-04-29, 10:04
(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$