This repository has been archived by the owner on Aug 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 450
No Temps on Dell XPS9650 #101
Labels
bug
Something isn't working
Comments
Can you paste the output of Btw you can use ``` to format a large selection of text. |
Thanks! |
Thanks for the info. So I'm not seeing anything strange. Can you run this and copy the output here: package main
import (
"fmt"
"github.com/shirou/gopsutil/host"
)
func main() {
temperatures, err := host.SensorsTemperatures()
fmt.Println(temperatures)
fmt.Println(err)
} |
cjbassi
added a commit
that referenced
this issue
Feb 4, 2019
So this should be fixed now! Let me know if you get any more issues otherwise. |
cjbassi
added a commit
that referenced
this issue
Feb 4, 2019
Sometimes a temperature sensor file in `/sys/class/hwmon/hwmon*/temp*_*` fill return 'ENETDOWN: Network is down' when being read for some reason, which gopsutil propogates up to gotop. gopsutil still returns a slice of valid temperatures when it errors, so we can render those instead of ignoring the return value.
cjbassi
added a commit
that referenced
this issue
Feb 4, 2019
Sometimes a temperature sensor file in `/sys/class/hwmon/hwmon*/temp*_*` will return 'ENETDOWN: Network is down' when being read for some reason, which gopsutil propogates up to gotop. gopsutil still returns a slice of valid temperatures when it errors, so we can render those instead of ignoring the return value.
cjbassi
added a commit
to cjbassi/gopsutil
that referenced
this issue
Feb 5, 2019
- SensorsTemperatures now returns a slice of errors - Previously, the function would return as soon as an error occured, but now we can continue to process the rest of the sensors even if an error occurs with one. Sometimes one sensor interface will be misbehaving but the rest will provide valid data. - cjbassi/gotop#101, cjbassi/gotop#103
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Required information:
gotop -v
): 2.0.0uname -a
: Linux 4.19.14-300.fc29.x86_64 Increase height of sparkline to match widget height #1 SMP Wed Jan 9 21:30:35 UTC 2019 x86_64 x86_64 x86_64 GNU/LinuxAlso please copy or attach the following file if it exists and contains logs:
~/.local/state/gotop/errors.log
: EmptyThe temp widget is empty, but hwmon sensor data is available:
The text was updated successfully, but these errors were encountered: