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

From: Yan Li
Date: Fri Jan 02 2009 - 21:24:34 EST


On Fri, Jan 02, 2009 at 07:15:38PM +0100, Tino Keitel wrote:
> 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.

STOP SCSI command spins down the drive but the device is still `on'.

The only way I found on Linux to shut down it's power is to put it
into `suspend' mode.

--
Li, Yan
--
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/