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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I have a laptop with the following card reader:
ugen1.3: <Generic USB2.0-CRW> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

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

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?

-- 
Peter Jeremy

[-- Attachment #2 --]
-----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-----
home | help

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