Just wondering how I would go about incorporating the k10temp module
temperature in an awesome widget.
If I type for example:
sensors | grep temp1
I get the following information
temp1: +6.4°C (high = +70.0°C)
temp1: +24.0°C (low = +79.0°C, high = +65.0°C) sensor =
thermistor
The first temp1 is the core and the next one is my socket temperature. The
reason for the low temp is due to a closed water cooling loop.
How would I incorporate this information into a widget in Awesome?
A simple temperature widget is the following:
-- {{{ CPU temperature
local thermalwidget = widget({ type = "textbox" })
vicious.register(thermalwidget, vicious.widgets.thermal, " - $1°C", 20,
{ "coretemp.0", "core"} )
-- }}}
But as you can see coretemp.0 is for Intel chips and not for AMD.
The file with the temp information is located at
/sys/module/k10temp/drivers/pci:k10temp/0000:00:18.3/temp1_input
How would I apply this?
Regards,
Dean
--
Nobody knows what goes between his cold toes and his warm ears.
-- Roy Harper
--
To unsubscribe, send mail to [email protected].