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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090102132355.GA4833@thyme.bj.intel.com>
Date:	Fri, 2 Jan 2009 21:23:56 +0800
From:	Yan Li <elliot.li.tech@...il.com>
To:	Alan Stern <stern@...land.harvard.edu>
Cc:	gregkh@...e.de, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: Enable CONFIG_USB_SUSPEND by default or some mobile HD can't
	be unplugged safely

On Thu, Jan 01, 2009 at 12:29:51PM -0500, Alan Stern wrote:
> On Fri, 2 Jan 2009, Yan Li wrote:
> > On it's manual read "you should unplug and remove the device only when
> > the light is off."
> 
> It's not clear whether you should believe this.  The manual may have 
> overstated things.  Still, better to be safe.

Yeah, that maybe true. Better to be safe. And we can't tell users just
to ignore the warnings on the manual.

> > On Windows and Mac OS, `safely remove this device' function effectly
> > turns it into `suspend' mode, and it's light off.
> 
> Yes -- but they don't suspend the device; instead they disable its 
> upstream port.  As far as the device is concerned, there's no 
> difference.  However the Linux API doesn't include any way to disable a 
> USB port.  Maybe we should add one...

Definitely.

> >  I did a
> > quick search in LKML and haven't found specific oppose to enable USB
> > suspend by default, and Debian has started shipping a kernel with
> > it turned on since 2.6.26.
> > 
> > Perhaps we should consider turning it on by default?  Thanks!
> 
> That is indeed the next step to take.

Hope to see this happen soon.

-- 
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