Re: [PATCH] ar9170usb: add mode-switching for AVM Fritz!WLAN USB N devices in cdrom mode

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

 



On Thu, 5 Nov 2009, Oliver Neukum wrote:

> Yes, similar problems exist. But is better to not trigger such problems
> rather than handle them. Prevention here has additional benefits
> as kicking off drivers for no good cause is wrong. Therefore a reset
> that is known to morph a device is no use in error handling and may
> do harm to do other drivers.

Go ahead and add a quirks flag for devices which should not be reset
during error recovery.  The only drivers I can think of at the moment
which use resets that way are usb-storage, usbhid, and the hub driver.  

You may also want to turn off the persist_enabled bit and disable
reset-resumes for such devices.

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