On Sun, 3 Aug 2003, Joerg Albert wrote: > Hi all, > > I'm currently adapting a driver for WLAN USB devices based on > Atmel's AT76C503A chip to 2.6.x. This chip requires a DFU firmware > download, a REMAP command and a USB reset. After the reset it comes up > with new interface descriptors (containing two bulk EPs), while it keeps > it's old device descriptor. > > If I simply call usb_reset_device() the interface descriptors are not > updated due to the unchanged device descriptor. > My current workaround is to manipulate the device descriptor: > dev->udev->descriptor.idProduct++; > usb_reset_device(dev->udev); > > Is there any other way to let the USB subsys retrieve the new interface > descr. after usb_reset_device ?
No, unfortunately there isn't. The whole usb_reset_device() approach is badly in need of updating. There was a lengthy discussion about it some months ago, but no one has submitted any code. See http://sourceforge.net/mailarchive/message.php?msg_id=5073658 http://sourceforge.net/mailarchive/message.php?msg_id=5102348 and http://sourceforge.net/mailarchive/message.php?msg_id=5076167 Alan Stern ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
