Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2004 14:21:09 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Brian Reichert <reichert@numachi.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: how to I know if I've got USB 2.0?
Message-ID:  <20040826212109.GF14825@odin.ac.hmc.edu>
In-Reply-To: <20040826211006.GA90604@numachi.com>
References:  <20040826211006.GA90604@numachi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--juZjCTNxrMaZdGZC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 26, 2004 at 09:10:07PM +0000, Brian Reichert wrote:
> Many moons ago, I got an eMachines M5305:
>=20
> <http://reviews-zdnet.com.com/eMachines_M5305/4514-3121_16-21183515.html>;
>=20
> I know it's USB ports work, generally, but now I was chasing a umass
> devices with sub-par thoughput.  I've mucking with a LaCie drive:
>=20
>   <http://www.techdepot.com/product.asp?productid=3D1630705>;
>=20
> Some specifics:  FreeBSD 5.2.1-RELEASE, with USB_DEBUG in the kernel.
>=20
> >From a dmesg after a boot -v:
>=20
>   ohci0: <NEC uPD 9210 USB controller> mem 0xf0004000-0xf0004fff irq 11 a=
t device 13.0 on pci0
>   usb0: OHCI version 1.0, legacy support
>   usb0: <NEC uPD 9210 USB controller> on ohci0
>   usb0: USB revision 1.0
>   uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>   uhub0: 3 ports with 3 removable, self powered
>   ohci1: <NEC uPD 9210 USB controller> mem 0xf0005000-0xf0005fff irq 11 a=
t device 13.1 on pci0
>   usb1: OHCI version 1.0, legacy support
>   usb1: <NEC uPD 9210 USB controller> on ohci1
>   usb1: USB revision 1.0
>   uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>   uhub1: 2 ports with 2 removable, self powered
>=20
> And when I plug in a LaCie drive:
>=20
>   usbd_new_device: addr=3D2, getting first desc failed
>   uhub_explore: usb_new_device failed, error=3DIOERROR
>   uhub0: device problem, disabling port 3
>   uhub0: port error, restarting port 3
>   umass0: LaCie USB 2.0 LaCie Big Disk, rev 2.00/9a.bc, addr 2
>   umass0: SCSI over Bulk-Only; quirks =3D 0x0000
>   umass0: Get Max Lun not supported (STALLED)
>   umass0:0:0:-1: Attached to scbus0
>   GEOM: create disk da0 dp=3D0xc4620c50
>   da0 at umass-sim0 bus 0 target 0 lun 0
>   da0: <LaCie Big Disk G372 > Fixed Direct Access SCSI-4 device=20
>   da0: 1.000MB/s transfers
>   da0: 381564MB (781443935 512 byte sectors: 255H 63S/T 48642C)
>=20
> A crude thoughput test with 'dd' on a ufs fs with softupdates:
>=20
>   # dd if=3D/dev/zero of=3D/new/junk bs=3D4k count=3D125000
>   125000+0 records in
>   125000+0 records out
>   512000000 bytes transferred in 619.612531 secs (826323 bytes/sec)
>=20
> The box claims 'up to 480 M bits/sec', which, if arithmetic serves
> me, should map to 60 M bytes/sec.  I know there's overhead for the
> fs and so forth, but I'm seeing on the order of 75x reduction here.
>=20
> Have I misunderstood the problem?

You need to enable the USB 2.0 controler ehci(4).  USB is weird in that
you actually have a USB 1.1 and USB 2.0 controler on the same bus.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--juZjCTNxrMaZdGZC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBLlRFXY6L6fI4GtQRAtR4AJ4t9mUXzkrwHuLri6+YzsTxD28c0gCdFF4q
0fxeTW0aXdVZjVMQ61HAr6w=
=kIdA
-----END PGP SIGNATURE-----

--juZjCTNxrMaZdGZC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040826212109.GF14825>