Dear USB users, We have made a patch available of the USB stack in -current, back ported to -stable. I am looking for feedback from USB users as to whether it works or not so that we can consider incorporating it into the next stable release. The patch is at: http://www.josef-k.net/misc/RELENG_4-USB-20030828.patch.gz To apply it, cvsup to the latest RELENG_4 and type: # cd /usr/src && zcat /path/to/RELENG_4-USB-20030828.patch.gz | patch Then rebuild and install the kernel. Please note that I've not tested this code on -stable myself, but the original patches that I based this on were submitted to me by Luoqi Chen, so claims that it works :). Feedback to this list is probably the best thing so that we can all benefit from it. Many thanks, Joe -- Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ ================ An eclectic mix of fact and theory. ================-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030828/f4441d2e/attachment.bin
* Josef Karthauser <joe@FreeBSD.org> [2003-08-28 21:30 +0100]:> We have made a patch available of the USB stack in -current, back ported > to -stable. I am looking for feedback from USB users as to whether it > works or not so that we can consider incorporating it into the next > stable release.My USB Stick which works on -current: Aug 25 12:14:20 aiolos kernel: uhub1: Luwen ELECTRONIC CO, 'LTD. USB Embedded Hub, class 9/0, rev 2.00/0.01, addr 2 Aug 25 12:14:20 aiolos kernel: uhub1: 1 port with 0 removable, self powered Aug 25 12:14:21 aiolos kernel: umass0: Luwen ELECTRONIC CO, 'LTD. USB Mass Storage Device, rev 2.00/0.01, addr 3 Aug 25 12:14:21 aiolos kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug 25 12:14:21 aiolos kernel: da0: <Luwen EasyDisk P1.0> Removable Direct Access SCSI-0 device Aug 25 12:14:21 aiolos kernel: da0: 1.000MB/s transfers Aug 25 12:14:21 aiolos kernel: da0: 1000MB (2048000 512 byte sectors: 64H 32S/T 1000C) still does not work with your patch: Aug 28 23:02:07 galore /kernel: uhub2: Luwen ELECTRONIC CO, 'LTD. USB Embedded Hub, class 9/0, rev 2.00/0.01, addr 2 Aug 28 23:02:07 galore /kernel: uhub2: 1 port with 0 removable, self powered Aug 28 23:02:08 galore /kernel: umass0: Luwen ELECTRONIC CO, 'LTD. USB Mass Storage Device, rev 2.00/0.01, addr 3 Aug 28 23:02:08 galore /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug 28 23:02:08 galore /kernel: da0: <Luwen EasyDisk P1.0> Removable Direct Access SCSI-0 device Aug 28 23:02:08 galore /kernel: da0: 650KB/s transfers Aug 28 23:02:08 galore /kernel: da0: Attempt to query device size failed: NOT READY, Medium not present :-( Regards, Olli -- Oliver Braun -- obraun @ { unsane.org | FreeBSD.org | haskell.org } -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030828/31a8c0fa/attachment.bin
In local.freebsd-stable, you wrote:> Dear USB users, > We have made a patch available of the USB stack in -current, back ported > to -stable. I am looking for feedback from USB users as to whether it > works or not so that we can consider incorporating it into the nextThe machine froze after detecting the two busses and the attached hub. I booted with -v, but the USB info didn't make it into dmesg. It looked normal, so if you are interested I can send you the current logs. The kernel sources are a week old (08-22). Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine
Hi Josef, My machine freezes during boot when I have my usb mouse/keyboard attached. I changed hw.usb.ohci.debug=9999 and now during boot I see: ... ohci_intr1: enter ohci_intr1: enter ohci_intr1: enter ohci_intr1: enter ohci_intr1: enter ... repeating *extremely* quickly. Can't break to the debugger. Basically toast. These are my devices - ukbd0: Logitech USB Receiver, rev 1.10/21.00, addr 3, iclass 3/1 ums0: Logitech USB Receiver, rev 1.10/21.00, addr 3, iclass 3/1 I saw this with the regular -stable code when I had added pseudo-device crypto to my kernel config. Must be some kind of timing problem. Andrew.
On Thu, 28 Aug 2003 21:30:25 +0100 Josef Karthauser <joe@FreeBSD.org> wrote: JK> Dear USB users, JK> JK> We have made a patch available of the USB stack in -current, back JK> ported to -stable. I am looking for feedback from USB users as to JK> whether it works or not so that we can consider incorporating it into JK> the next stable release. I tried it on my Asus A7V333 based box, it didn't go well. With devices attached it locks up after detecting the hubs. The devices are an HP 970Cxi printer, an Epson 1240U scanner and the receiver for my ATI remote control (which I was hoping to get going). Pulling them out and rebooting I get this: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port error, restarting port 2 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhub2: port error, restarting port 1 uhub2: port error, giving up port 1 uhub2: port error, restarting port 2 uhub2: port error, giving up port 2 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered uhub3: port error, restarting port 1 uhub3: port error, giving up port 1 uhub3: port error, restarting port 2 uhub3: port error, giving up port 2 -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/
Hi Josef, Though I have the boot probe problem (freeze during usb/uhub probe), I've been working around it by plugging in my usb devices after the usb/uhub probes have completed and my devices seem to be working much better than with the stock -stable usb. In particular, umass now recognizes my Kingston Data Traveller USB memory stick, and it is quite useable. Which is very cool. Cheers, Andrew.