current state of the 2.5.1 USB tree
PATCH 1/1 current state of the 2.5.1 USB tree
Hi,
Since there has been a bit of development lately in the USB tree, and I'm holding off in submitting USB changes for a bit to Linus while the bio stuff stabilizes, I thought I would make a snapshot of my current tree for the other USB developers to sync up with.
A patch against a clean 2.5.1 tree is at:
http://www.kroah.com/linux/usb/linux-2.5.1-gregkh-1.patch.gz
This patch contains 5 new USB drivers (stv680, vidcam, ipaq, kl5kusb105, and the usb 2.0 ehci-hcd driver), documentation for all of these new drivers, a rewrite of usbdevfs/usbfs, and lots of other smaller fixes and changes.
If anyone has any questions, problems, or I'm missing any patches that you have sent to me, please let me know. (I still have your module usage patch, Oliver. I'm waiting for some more discussion before adding it though.)
And if anyone wants me to post my 2.4 tree (which has most of these same driver additions), just ask.
thanks,
greg k-h
PATCH 1/1 current state of the 2.4.17-rc2 USB tree
Quoted 3 lines · Greg KH
And if anyone wants me to post my 2.4 tree (which has most of these same driver additions), just ask.
Ok, people asked :)
It can be found at:
http://www.kroah.com/linux/usb/linux-2.4.17-rc2-gregkh-1.patch.gz
I've backported a number of the small 2.5.1 changes into this tree (the new drivers, and the usb_fill_bulk_*_urb() functions and documentation.) I haven't backported the USB 2.0 changes here. If you want to play with USB 2.0 devices, you have to use the 2.5 tree.
Again, if anyone notices any missing patches that should be in here, please let me know.
thanks,
greg k-h
Quoted 7 lines
A patch against a clean 2.5.1 tree is at:
http://www.kroah.com/linux/usb/linux-2.5.1-gregkh-1.patch.gzThis patch contains 5 new USB drivers (stv680, vidcam, ipaq, kl5kusb105, and the usb 2.0 ehci-hcd driver), documentation for all of these new drivers, a rewrite of usbdevfs/usbfs, and lots of other smaller fixes and changes.
By the way -- if folk need to see EHCI (60 MByte/sec USB) on 2.4, drop a line. The code is in CVS, and clearly most of that development was done on the 2.4 kernel. A number of folk are using that code with success on those highspeed USB storage devices.
But most of the USB 2.0 work will be done in the 2.5 tree, so that's going to be the place to watch!
- Dave
Yes, I would very much like to see EHCI support in a 2.4.x compatible form, even if it's not in the mainline kernel. Last time I tried the CVS code, I couldn't even get it compile, but maybe things have improved since then (two months ago) :-)
I also have a USB 2.0 external hard drive that I'd sure like to see run at something higher than 1 megabyte per second <G>
----- Original Message -----
From: "David Brownell" <[email protected]>
To: "Greg KH" <[email protected]>; <[email protected]>; <[email protected]>
Sent: Thursday, December 27, 2001 4:22 PM
Subject: Re: [linux-usb-devel] [PATCH] current state of the 2.5.1 USB tree
Quoted 28 lines
Quoted 7 lines
A patch against a clean 2.5.1 tree is at:
http://www.kroah.com/linux/usb/linux-2.5.1-gregkh-1.patch.gzThis patch contains 5 new USB drivers (stv680, vidcam, ipaq, kl5kusb105, and the usb 2.0 ehci-hcd driver), documentation for all of these new drivers, a rewrite of usbdevfs/usbfs, and lots of other smaller fixes and changes.
By the way -- if folk need to see EHCI (60 MByte/sec USB) on 2.4, drop a line. The code is in CVS, and clearly most of that development was done on the 2.4 kernel. A number of folk are using that code with success on those highspeed USB storage devices.
But most of the USB 2.0 work will be done in the 2.5 tree, so that's going to be the place to watch!
- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 4 lines
Yes, I would very much like to see EHCI support in a 2.4.x compatible form, even if it's not in the mainline kernel. Last time I tried the CVS code, I couldn't even get it compile, but maybe things have improved since then (two months ago) :-)
I'm surprised you had problems even then, but for a while you needed a 2.4ac kernel. Those usbcore changes merged into Linus' tree at about 2.4.10 and I know folk used that OK.
What was your build problem? I was going to suggest "try the CVS ref24 tag", but somehow it's missing most of EHCI (odd). I'd expect the 1-December code to behave on recent 2.4.x systems; I certainly used it on 2.4.15 ...
Looks like the best solution is for me to try to build some patch. It won't be as current as what the 2.5 USB tree has, but maybe the only major issue can be lack of transaction translator (hub) support.
Quoted 2 lines
I also have a USB 2.0 external hard drive that I'd sure like to see run at something higher than 1 megabyte per second <G>
Quite doable ... that was the first device I got working, and it was a treat to get a dozen times faster than that! (One person benched a single drive at over 22 MByte/sec on a 2.4.5/PPC box, one that I think doesn't have a very fast CPU.) For now it'll only work on 2.4 since the bio/scsi changes appear to have confused usb-storage.
Also 22 MByte/sec needs smarter scatter/gather I/O in usb-storage, or making sure SCSI delivers physically contiguous buffers (no I don't think that one's very realistic :).
- Dave