On Fri, 2004-02-06 at 17:32, 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!
I nearly missed this thread... There already is dfu firmware loader, it works quite well, see http://at76c503a.berlios.de/. It is part of the at76c503 driver. Did you look at it? I wrote it, using code from other people, and had reusabilty for other hardware in mind. Greetings, Oliver
signature.asc
Description: This is a digitally signed message part
