If you allow me to suggest, I also think it´s best to ship it with hdparm package. The same logic explicited in README.distributions of pm-utils applies to acpi-support.<br><br>Also, it would create again a dependency between acpi-support and hdparm just because of this script. <br>
<br>Many thanks<br><br>Igor<br><br><br><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 9:52 AM, Michael Meskes <span dir="ltr"><<a href="mailto:meskes@debian.org">meskes@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Mar 22, 2012 at 03:46:03PM -0300, Igor Palmieri wrote:<br>
> - acpi-support (partially) solved  #448673 by including 90-hdparm.sh hooks<br>
> by default at Debian and Ubuntu[1]<br>
> - The 90-hdparm-sh hooks were incorporated at Ubuntu´s pm-utils package,<br>
> which also makes hard drive apm working by default[2]. Couldn´t find if<br>
> Debian did this too.<br>
> - Debian and Ubuntu removed 90-hdparm.sh scripts from acpi-support because<br>
> of the redundancy with pm-utils[3]<br>
> - The hooks /usr/lib/pm-utils/power.d/95hdparm-apm and<br>
> /usr/lib/pm-utils/sleep.d/95hdparm-apm were transferred to Ubuntu´s hdparm<br>
> package - that´s their current setting - and removed from pm-utils of<br>
> both[4]<br>
><br>
> So Ubuntu still have the default hd apm setting, Debian not.<br>
<br>
</div>Thanks a lot for this explanation, exactly what I was looking for.<br>
<br>
Now the big question is, wouldn't it be better if we add the scripts to hdparm,<br>
too? They don't naturally belong to acpi-support IMO. Stephen, what do you<br>
think?<br>
<br>
I'm absolutely willing to help with the packaging work in hdparm if time<br>
constraints are a problem.<br>
<div class="HOEnZb"><div class="h5"><br>
Michael<br>
--<br>
Michael Meskes<br>
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)<br>
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org<br>
Jabber: michael.meskes at googlemail dot com<br>
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL<br>
</div></div></blockquote></div><br>