! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
request for nvme drive support
Status:
RESOLVED: MOVED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Wes Newell 2019-12-20 15:29:08 CET
Would be nice to get nvme drive temps in viewer. Here's how I can get them in terminal.
root@mythfe0:/home/wes# smartctl -a /dev/nvme0|grep ure:
Temperature:                        36 Celsius
root@mythfe0:/home/wes# nvme smart-log /dev/nvme0|grep temp
temperature                         : 35 C
Couldn't get it with hddtemp. Maybe just didn't know how.
Comment 1 Wes Newell 2019-12-21 19:29:56 CET
Don't think this matters, but xubuntu 18.04LTS
xfce4-sensors-plugin 1.2.6-1
Comment 2 Wes Newell 2020-01-03 14:38:09 CET
To get around this limitation for the moment, I created this bash script.
wes@mythfe0:~$ cat /sbin/m2log
#!/bin/bash
sudo nvme smart-log /dev/nvme0
xfce4-sensors
# echo PRESS ANY KEY TO CLOSE
# read -n 1 -s

Added this to /etc/sudoers so no password is required to run nvme.
wes ALL = NOPASSWD: /usr/sbin/nvme

And then added an entry in the menu to run the m2log script.
This launches the terminal for the m2 drive nvme0, and then opens the xfce4 sensor viewer. When you close the sensor viewer, the terminal with the drive data also exits.
Comment 3 Wes Newell 2020-02-05 15:32:20 CET
Upgraded both system and kernel this morning and now get nvme-900 temp in viewer. Don't know which added it, but it's all good now.
Comment 4 Git Bot editbugs 2020-05-23 00:43:27 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/8.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16287

Reported by:
Wes Newell
Reported on: 2019-12-20
Last modified on: 2020-05-23

People

Assignee:
Fabian Nowak
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information