Re: PROBLEM : Device Re-enumeration not happening after reset
Oliver Neukum <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Freitag 26 Oktober 2007 schrieb Jithu Joseph:
> The problem i am facing is that after issuing the "usb_reset_device
> (struct usb_device *dev) ", though i am able to see a reset in the
> CATC( USB protocol Analyzer) , the disconnect of the current usb
> client driver is not getting called and also the probe of the DFU
> driver is not getting called (the driver has support for both the
> VIDs/PIDs)
This check from usb_reset_device() should trigger.
/* Device might have changed firmware (DFU or similar) */
if (memcmp(&udev->descriptor, &descriptor, sizeof descriptor)
|| config_descriptors_changed (udev)) {
dev_info(&udev->dev, "device firmware changed\n");
udev->descriptor = descriptor; /* for disconnect() calls */
goto re_enumerate;
}
I suggest you dump the old and the new descriptors immediately before
they are compared. If they are identical we need to find out what happens.
Regards
Oliver
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel