Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424417 - app-admin/hddtemp wakes up drives
Summary: app-admin/hddtemp wakes up drives
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-01 16:48 UTC by Martin Jürgens
Modified: 2012-07-31 10:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Stop hddtemp from waking up drives (hddtemp-0.3_beta15-dontwake.patch,515 bytes, patch)
2012-07-01 16:48 UTC, Martin Jürgens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jürgens 2012-07-01 16:48:14 UTC
Created attachment 316885 [details, diff]
Stop hddtemp from waking up drives

app-admin/hddtemp-0.3_beta15-r3 and app-admin/hddtemp-0.3_beta15-r4 as currently available in portage wake up sleeping drives. SATA drives in my case. 

As a result monitoring tools such as xfce4-sensors wake up drives that have been deliberately set to sleep/standby. 

Unfortunately I cannot find a place to have this fixed upstream. Some distributions have this already fixed. Such as debian here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479840

I have tested this with hddtemp-0.3_beta15-r3 and attached the patch for this specific issue. It works fine in my local portage overlay when added directly after the iconv.patch already present in the ebuild.
Comment 1 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-07-31 10:51:12 UTC
Thank you!

+  31 Jul 2012; Amadeusz Żołnowski <aidecoe@gentoo.org>
+  +hddtemp-0.3_beta15-r4.ebuild:
+  Fixed bug #424417 for rev. without network-cron.
+
+*hddtemp-0.3_beta15-r21 (31 Jul 2012)
+*hddtemp-0.3_beta15-r20 (31 Jul 2012)
+
+  31 Jul 2012; Amadeusz Żołnowski <aidecoe@gentoo.org>
+  -hddtemp-0.3_beta15-r4.ebuild, +hddtemp-0.3_beta15-r20.ebuild,
+  +hddtemp-0.3_beta15-r21.ebuild, +files/hddtemp-0.3_beta15-dontwake.patch:
+  Moved rev. with network-cron to r20 and applied fix for bug #424417 in r21.
+  Thanks to Martin Jürgens <martin.accounts@gmx.de> for finding the report and
+  the patch. The patch has been written by Eduard Bloch <blade@debian.org>, see
+  <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479840>.
+