Alan Stern wrote:
On Fri, 6 Feb 2004, David Monniaux wrote:

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.

Yeah, I don't think the reset code has ever worked well. Except maybe in some rather constrained paths, and you don't seem to have been on one of those.

The at76c503a also has some DFU code, which seemed to work
for me on 2.6 when I grabbed a snapshot.  Maybe between
your two efforts, a reusable DFU module can happen?  :)


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.

I thought that was mostly for the changes to really make usbfs behave! (Which at one extreme is "switch over to usbfs2".)

The simplest way for you to get those changes is to pull my gadget-2.6
tree.  Alternatively take 2.6.1 and apply:

    http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107281400904072&w=2
    http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107325845324500&w=2
    http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107329882620130&w=2
    http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107369460101804&w=2

I think versions of the first two could be merged without much risk.
The third one (with a minor update) would get rid of one deadlock
that people need to work around (reset from probe), and should be OK
to merge soonish.  The fourth one needs coordination with Alan's
changes and Duncan's usbfs updates.

- Dave



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

Reply via email to