Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 276081

Summary: app-laptop/laptop-mode-tools should depend on sys-apps/hdparm
Product: Gentoo Linux Reporter: Märt Bakhoff <mbakhoff>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=644920
Whiteboard:
Package list:
Runtime testing required: ---

Description Märt Bakhoff 2009-07-01 16:14:12 UTC
laptop-mode-tools does compile+run w/o hdparm but is using it:

# grep hdparm /usr/sbin/laptop_mode
hdparm -C $disk 2>/dev/null | sed "s/^/   /"

command `laptop_mode status` diff with-without hdparm shows: 
 Drive power status:
+   
+   /dev/sda:
+    drive state is:  active/idle

Maybe laptop-mode-tools should depend on hdparm or have USE="+hdparm" ?

Reproducible: Always

Steps to Reproduce:
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-16 18:15:05 UTC
fixed in cvs.
thanks for the report.