isDipesh / gnome-shell-extension-sensors

Gnome shell extension: Shows CPU temperature, HDD temperature, voltage and fan RPM
https://motorscript.com/gnome-shell-extension-sensors/
161 stars 153 forks source link

Using UDisks2 displays the device model name, not a human readable id. #94

Open adrianbroher opened 10 years ago

adrianbroher commented 10 years ago

While the current UDisks2 query implementation allows to query the disk temperature without installing hddtemp it returns only the Model name of the installed drive. This makes it hard to identify a drive when using multiple drives of the same model in a setup.

On first look is seems like UDisks2 doesn't expose a human readable identifier for drives, but for block devices exposed as HintName and set with UDISKS_NAME in the udev scripts or even an config file(?).

To fix this the implementation needs to: