lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090103022401.GA6778@thyme.bj.intel.com>
Date:	Sat, 3 Jan 2009 10:24:01 +0800
From:	Yan Li <elliot.li.tech@...il.com>
To:	Tino Keitel <tino.keitel@....de>
Cc:	linux-kernel@...r.kernel.org, gregkh@...e.de,
	linux-usb@...r.kernel.org
Subject: Re: Enable CONFIG_USB_SUSPEND by default or some mobile HD can't
	be unplugged safely

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ