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.

Regards,

David Monniaux            http://www.di.ens.fr/~monniaux
Laboratoire d'informatique de l'�cole Normale Sup�rieure,
Paris, France










-------------------------------------------------------
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

Reply via email to