Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2009 00:09:11 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Subject:   Excessivly cheap USB device issue
Message-ID:  <200909280009.28658.doconnor@gsoft.com.au>

next in thread | raw e-mail | index | archive | help
--nextPart1674175.q8gkGua1Nb
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I have a very cheap USB CF/SD/SM/MS connected to an 8.0-RC1 system and
 it is detected, ie..
Sep 27 14:29:18 midget kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Sep 27 14:29:18 midget kernel: da0: <Generic USB SD Reader 1.00> Removable =
Direct Access SCSI-0 device
Sep 27 14:29:18 midget kernel: da0: 40.000MB/s transfers
Sep 27 14:29:18 midget kernel: da0: Attempt to query device size failed: NO=
T READY, Medium not present
Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): TEST UNIT READY. =
CDB: 0 20 0 0 0 0
Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): CAM Status: SCSI =
Status Error
Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): SCSI Status: Chec=
k Condition
Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): NOT READY csi:0,a=
a,55,40 asc:3a,0
Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): Medium not present
Sep 27 14:29:18 midget kernel: (probe7:umass-sim0:0:0:1): Unretryable error
Sep 27 14:29:18 midget kernel: da1 at umass-sim0 bus 0 target 0 lun 1
Sep 27 14:29:18 midget kernel: da1: <Generic USB CF Reader 1.01> Removable =
Direct Access SCSI-0 device
Sep 27 14:29:18 midget kernel: da1: 40.000MB/s transfers
Sep 27 14:29:18 midget kernel: da1: Attempt to query device size failed: NO=
T READY, Medium not present

If I connect a CF card to da1 and run 'fdisk da1' I get..
[midget 0:06] ~ >fdisk da1
load: 0.29  cmd: fdisk 69630 [cgticb] 1.50r 0.00u 0.00s 0% 1160k
load: 0.19  cmd: fdisk 69630 [cbwait] 24.42r 0.00u 0.00s 0% 1160k
load: 0.19  cmd: fdisk 69630 [cbwait] 27.01r 0.00u 0.00s 0% 1160k
fdisk: unable to get correct path for da1: Input/output error

[midget 0:05] ~ >sudo usbconfig -u 5 -a 2 dump_device_desc
ugen5.2: <Mass Storage Device Generic> at usbus5, cfg=3D0 md=3DHOST spd=3DH=
IGH (480Mbps) pwr=3DON

  bLength =3D 0x0012
  bDescriptorType =3D 0x0001
  bcdUSB =3D 0x0200
  bDeviceClass =3D 0x0000
  bDeviceSubClass =3D 0x0000
  bDeviceProtocol =3D 0x0000
  bMaxPacketSize0 =3D 0x0040
  idVendor =3D 0x058f
  idProduct =3D 0x6362
  bcdDevice =3D 0x0129
load: 0.21  cmd: usbconfig 69643 [WCTRL] 1.73r 0.00u 0.00s 0% 1080k
  iManufacturer =3D 0x0001  <retrieving string failed>
load: 0.19  cmd: usbconfig 69643 [WCTRL] 8.56r 0.00u 0.00s 0% 1104k
  iProduct =3D 0x0002  <retrieving string failed>
  iSerialNumber =3D 0x0003  <retrieving string failed>
  bNumConfigurations =3D 0x0001

Perhaps some quirk would help but I'm not sure which one :)

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart1674175.q8gkGua1Nb
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iD8DBQBKv3kg5ZPcIHs/zowRAgtoAJ9FeGu/GGCrguYsN/je/6fWFB6kkQCfQUuz
pn6APHY4dOboeUa+PQpJDLw=
=TEj0
-----END PGP SIGNATURE-----

--nextPart1674175.q8gkGua1Nb--



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