Ralph Becker-Szendy <[email protected]> writes:

> Two quick questions about the 6501.  First: According to the 
> documentation, it has USB 2.0 ports.  But so does the 5501, and on my 
> 5501 under OpenBSD, the USB ports run at USB 1.0 speed.  Which is a 
> problem, because I need to occasionally connect a USB disk drive for 
> backups, and at USB 1.0 speed, that takes ludicrously long.  So does 
> anyone know what chipset on the 6501 provides the USB?  And maybe even 
> whether OpenBSD supports that chipset at 2.0 speed?  I'm still running 
> OBSD 4.6, but new 6501's would be installed with version 4.9 (but I 
> think the USB stack hasn't changed significantly).

For what it's worth, this is what happens under NetBSD 5.1_STABLE on a
5501:

ohci0 at pci0 dev 21 function 0: vendor 0x1022 product 0x2094 (rev. 0x02)
ohci0: interrupting at irq 7
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
gcscehci0 at pci0 dev 21 function 1: vendor 0x1022 product 0x2095 (rev. 0x02)
gcscehci0: interrupting at irq 7
gcscehci0: EHCI version 1.0
gcscehci0: companion controller, 4 ports each: ohci0
usb1 at gcscehci0: USB revision 2.0
uhub0 at usb0: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
uhub1 at usb1: vendor 0x1022 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Western Digital Ext HDD 1021, rev 2.00/20.02, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <WD, Ext HDD 1021, 2002> disk fixed

I get about 11.7 MB/s (dd from raw disk at 32k blocksize, and 12.6 MB/s
at 256k), which is slow for USB2, but definitely the right order of
magnitude - I think that drive does about 23 MB/s when connected to an
Intel desktop.

I suspect it's not so much the USB stack as the chipset glue for ehci
attachment.

So you can probably either use NetBSD code as a guide or just merge some
of it into OpenBSD.

Attachment: pgpnrBvHMLFD3.pgp
Description: PGP signature

_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to