Re: Enable CONFIG_USB_SUSPEND by default or some mobile HD can'tbe unplugged safely

From: Tino Keitel
Date: Fri Jan 02 2009 - 13:16:05 EST


On Fri, Jan 02, 2009 at 10:51:05 -0500, Mark Lord wrote:
> Mark Lord wrote:

[...]

>> Incidently, the WD Passport drives support SG_IO,
>> so things like hdparm and smartctl can work with them as well.
> ..
>
> s/SG_IO/SG_IO+SAT/

The issue I noticed with the WD Passport drives is that the hard disk
won't spin down with /usr/bin/eject, which is used by HAL if the user
ejects the device (i.e. via his desktop environment). The WD Passport
drives need to be set into a sleep power condition. Something
like "sg_start --pc=3 /dev/sdX" needs to be used in this case.

I just checked hdparm -Y, and this works too.

Regards,
Tino
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/