Hi David and Alan, On Mon, 3 May 2004, Alan Stern wrote:
> This patch imports the changes that David Brownell has made to the > device-reset functions in his gadget-2.6 tree. Once these ongoing > troubling questions about locking are settled, I'll add support for the > "descriptors changed" case. thanks for the usb_reset_device() change in 2.6.7! I can call __usb_reset_device() in my probe, but as my DFU device (Atmel AT76C503A) changes its _interface_ descriptors only, no re-enumeration is triggered. I tried to trick it by dev->udev->descriptor.bDeviceSubClass++; __usb_reset_device(dev->udev); which fails, too (dev->udev->actconfig->interface[0]->altsetting[0].desc.bNumEndpoints==0 after the reset). My current workaround until 2.6.6 was to call usb_reset_device in keventd and retrieve and parse the interface descriptors myself afterwards. Is there any more reasonable way for this DFU device with 2.6.7 ? Regards, Jörg. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel