On Fri, 6 Feb 2004, David Monniaux wrote: > I have a Midiman (M-Audio) MobilePre USB sound card. This card needs a > firmware download before being able to operate as a normal USB audio > device. One method is to boot and log in to Windows, then reboot into > Linux, but it's a bit annoying. :-) > > I thus wrote a DFU firmware downloader. It works (well, it seems to work > most of the time - I have to understand why not 100%). At the end of the > reprogramming, it resets the card. At that point, the Linux kernel becomes > extremely confused; it either spews information about not being able to > set the address of the device [apparently, can be fixed by inserting a > delay after reset], either complains about short reads of descriptors, > then completely screws up /proc/bus/usb/n1, inserting a file number -01. > Remove and inserting the USB plug then makes the kernel issue a oops! > > It seems to be that there's something severely broken in 2.4.x and 2.6.y > kernels when dealing with the results of a reset, when the enumeration > associated with the device changes a lot. > > Are there any patches applicable to a straight 2.4 or 2.6 kernel? > > I noticed that David Brownell and Alan Stern are working on something in > that respect, but I did not find anything that I could apply.
David has made some changes and has posted them on this mailing list. You could try applying them to your system; they might help. Those changes have not yet been accepted into the kernel, and there's a good change they won't get in before version 2.7 starts up. My work depends on David's, so it's even farther from being available. I don't even have something for you to try yet. Alan Stern ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
