[laptop-mode] [PATCH] do not show drive power status if CONTROL_HD_POWERMGMT is disabled
Olivier Blin
blino at mandriva.com
Tue Sep 15 13:28:23 CEST 2009
Ritesh Raj Sarraf <rrs at researchut.com> writes:
> Hi Olivier,
>
> Control would be for changing. For reporting, should it matter ?
> Just reporting hard drive status shouldn't be a harm.
Hi,
Right, the setting makes more sense for changing.
Though, I need a solution to avoid running hdparm -C from
laptop-mode-tools, else booting from this USB drive is impossible with
laptop-mode-tools enabled.
Maybe another setting could be added to avoid printing power status, but
it looks overkill to add it just for this drive model...
Thanks for your input
> On Monday 14 Sep 2009 23:38:29 Olivier Blin wrote:
>> Do not show drive power status if CONTROL_HD_POWERMGMT is disabled
>> (some USB harddisks disconnect after using hdparm -C or -B)
>>
>> This might now be the best approach to workaround the hardware bug, but
>> it does not look so useful to show drive power status if
>> laptop-mode-tools is configured not to handle drive power.
--
Olivier Blin (blino) - Mandriva
More information about the laptop-mode
mailing list