Re: some question about unbind and rebind usb interfaces

2014-08-25 Thread Alan Stern
On Mon, 25 Aug 2014, vichy wrote: > hi Alan: > >> After usb_reset_device, the whole enumeration will run again, > > > > No, only part of the enumeration. The kernel does read the device and > > config descriptors again. But if the reset succeeded, the kernel > > doesn't carry out any of the othe

Re: some question about unbind and rebind usb interfaces

2014-08-25 Thread vichy
hi Alan: >> After usb_reset_device, the whole enumeration will run again, > > No, only part of the enumeration. The kernel does read the device and > config descriptors again. But if the reset succeeded, the kernel > doesn't carry out any of the other parts of enumeration. here the kernel you mea

Re: some question about unbind and rebind usb interfaces

2014-08-24 Thread Alan Stern
On Sun, 24 Aug 2014, vichy wrote: > hi all: > below patch introduce unbind and rebind interfaces during usb reset > https://lists.ubuntu.com/archives/kernel-team/2014-April/042177.html > "If a driver claims additional interfaces, the > claim may fail because the old binding instance may still own

some question about unbind and rebind usb interfaces

2014-08-24 Thread vichy
hi all: below patch introduce unbind and rebind interfaces during usb reset https://lists.ubuntu.com/archives/kernel-team/2014-April/042177.html "If a driver claims additional interfaces, the claim may fail because the old binding instance may still own the additional interface when the new instanc