Re: how to perform a low level reset for a USB device

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

 



On Wed, 27 May 2009, Dean Warren wrote:

> Quick question:
> 
> In the event of a USB device not responding to it's normal commands is there a 
> method of performing a low level reset on the USB controller/system? Perhaps a 
> power down or something? Something as though the device was to be pulled from 
> the bus?

That is two questions, not one.  You can do a low-level reset on the 
device by calling usb_reset_device().  You can do a low-level reset on 
the host controller by unloading and then reloading the controller's 
driver module.

Depending on the controller hardware, neither of these resets is quite
the same as unplugging the device from the bus.

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