Re: More USB_QUIRK_RESET_RESUME devices
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 11 Sep 2007 [email protected] wrote: > Hi again, > > I have been thinking, why not use /sys/block/sdX/removable to know whether USB > device needs USB_QUIRK_RESET_RESUME. Lots of devices set the Removable flag incorrectly. > If the device is not removable then it is > safe to use USB_QUIRK_RESET_RESUME, right? No. The one has nothing to do with the other. USB_QUIRK_RESET_RESUME should always be safe -- except that many drivers don't support it. > That is true for ClassmatePC since > you must disassemble it to remove the internal flash memory. Using > /sys/block/sdX/removable could make USB_QUIRK_RESET_RESUME list short in > quick.c, don't you think? No. You don't seem to understand what USB_QUIRK_RESET_RESUME means. It doesn't mean that it is "safe" to reset the device during a resume. It means that the device _must_ be reset during a resume because otherwise the resume won't work. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel