Re: avoid resetting mode-switched devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Dec 2009, Oliver Neukum wrote:

> Hi Josua, Alan,
> 
> as we discussed earlier devices which need to be switched must
> not be reset. Currently I think only the storage driver is affected.
> Ideally we would not put all those devices into the quirks list.
> I'd prefer the user space tools making the switch to tell the kernel
> that the new device is quirky.
> What kind of API for that would you prefer?

Note that users can turn the persist_enabled flag back on through 
sysfs.

Also note that other drivers will reset a device to recover from errors 
(usbhid for example).

Do we really have to do this?  How often will it be a problem?  
usb-storage's class-specific reset mechanism almost never works, 
probably because Windows doesn't use it.  So what does Windows do when 
such a device gets an error in its mass-storage interface?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux