Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2020 11:32:43 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        freebsd-usb@freebsd.org
Subject:   Realtex 0x0129 Card Reader problems
Message-ID:  <20200705013243.GF30039@server.rulingia.com>

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

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

I have a laptop with the following card reader:
ugen1.3: <Generic USB2.0-CRW> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (480M=
bps) pwr=3DON (500mA)

  bLength =3D 0x0012=20
  bDescriptorType =3D 0x0001=20
  bcdUSB =3D 0x0200=20
  bDeviceClass =3D 0x00ff  <Vendor specific>
  bDeviceSubClass =3D 0x00ff=20
  bDeviceProtocol =3D 0x00ff=20
  bMaxPacketSize0 =3D 0x0040=20
  idVendor =3D 0x0bda=20
  idProduct =3D 0x0129=20
  bcdDevice =3D 0x3960=20
  iManufacturer =3D 0x0001  <Generic>
  iProduct =3D 0x0002  <USB2.0-CRW>
  iSerialNumber =3D 0x0003  <20100201396000000>
  bNumConfigurations =3D 0x0001=20

and I'm trying to get it working.  I've found several previous threads:
https://lists.freebsd.org/pipermail/freebsd-usb/2013-July/012200.html
https://lists.freebsd.org/pipermail/freebsd-usb/2014-April/012874.html
https://lists.freebsd.org/pipermail/freebsd-usb/2016-February/014128.html
that suggest various quirks but none of those threads mention success and
the suggested quirks don't work for me - in particular, unless I force
both the wire and command protocol, nothing works and even with both
UQ_MSC_FORCE_WIRE_BBB and UQ_MSC_FORCE_PROTO_SCSI, I also need
UQ_MSC_NO_INQUIRY and UQ_MSC_NO_GETMAXLUN - which just moves the error to:
(da0:umass-sim0:0:0:0): got CAM status 0x44
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
That all makes me wonder if FreeBSD is actually communicating with the
device at all.

Can anyone offer a set of quirks that will actually work with this reader?

--=20
Peter Jeremy

--7CZp05NP8/gJM8Cl
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE2M6l8vfIeOACl4uUHZIUommfjLIFAl8BLbVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQ4
Q0VBNUYyRjdDODc4RTAwMjk3OEI5NDFEOTIxNEEyNjk5RjhDQjIACgkQHZIUommf
jLI1mA/6A1or6okb15PcAv3u4COIyBnUC3QSm6x8ZLIhHSJ7uTd6JPODtKOaXfce
L+JaGLyKVM2qZpAAE8D3J5G7tZm5J8N5zbusBADHp4ZbsIKm3hGTQwVlbC4L4sel
upFgjvZNEvT0oVqiEmzaJzVX8EWzEqBlg35X9SXMU3UntuEeB97vC/nayQiAlGc4
fA0NTDQI8/eKnttIOJPCcoJ2ZwGEMYRGgiP0Wrw6iu3m977wkAyD5ORiymN5Or/i
CDCz5s3kp/pWwJ7RrPPBHxMMuSn1YMcntxNYgMJA4CO/WuGL9sAX+Jp3giKBgRa9
g5+Us/Kao1uV77df2wjcrG6K9ZY49ha/Ft25IOCv5/rz6C40DlNM9Z0gDV+AB9xm
fSZ7q21qqSm/wSgSKnMCsMkNDmGZcddLHyRzhQjl81kPEHQTtKtc4LV7TS/DGCtV
fbXab5JSMq5XEUbUA6Mz6L3jLYdJmhf4YD6yAWMPFtUFtrVd6wWswS1S+miA01mx
zpq3cqrYY64N7gJHi37/s0wIdhkH53eCgYX1pJIHh9H2YcLZHgZQbwnwtLKeYVDv
zU1xXzm1mOPoxIvkmzpsFEIJRkdmsgVcaWo74NDBljuPd0nlaVxQgAgQYGzPPYAc
8KVWYYdiPUxEAt7qokWIW/s+a7lQNYUmpGJPFMjXVXENx8LL4Cg=
=WiHm
-----END PGP SIGNATURE-----

--7CZp05NP8/gJM8Cl--



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