[PATCH] hddtemp reports drive name incorrectly

Bug #1878780 reported by Yura Pakhuchiy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hddtemp (Ubuntu)
New
Undecided
Unassigned

Bug Description

hddtemp reports drive name incorrectly for some drives:

$ sudo hddtemp /dev/sda
/dev/sda: KINGSTON RBU-SC100S37128DG �: 37°C

Note extra spaces and garbage characters before colon. This is not only minor cosmetic issue, but breaks some gnome-shell plugins for HDD temperature reporting. I've found a patch included into Fedora which fixes the issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1061649

hddtemp output is correct with the patch applied:

$ sudo hddtemp /dev/sda
/dev/sda: KINGSTON RBU-SC100S37128GD: 37°C

Patched package is available in my ppa: https://launchpad.net/~yura-p/+archive/ubuntu/tests

Tags: patch
Revision history for this message
Yura Pakhuchiy (yura-p) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "hddtemp-fix-drive-name.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.