On 04/06/14 03:53, Ivan Rokotov wrote:
Hi,

Environment: FreeBSD 10.0-RELEASE/amd64 on Lenovo IdeaPad S400.

SD Card Reader visible by usbconfig:
ugen1.4: <USB2.0-CRW Generic> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (500mA)

usbconfig info:
   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x00ff
   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

Adding/removing SD card yields nothing. The same with booting with SD
card and/or turning power on/off with usbconfig.

If I add this to /usr/src/sys/dev/usb/usbdevs
product REALTEK USB20CRW_T  0x0129  USB20CRW Card Reader

- nothing changes.

If I add these quirks to /usr/src/sys/dev/usb/quirk/usb_quirk.c
USB_QUIRK(REALTEK, USB20CRW_T, 0x0000, 0xffff, UQ_MSC_NO_GETMAXLUN,
UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI)

then I get:
umass0: <Bulk-In, Bulk-Out, Interface> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:3:0:-1: Attached to scbus3
...
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command
...
(probe0:umass-sim0:0:0:0): Error 5, Retries exhausted

Adding the 'UQ_MSC_NO_SYNC_CACHE" quirk changes nothing.

Does anybody know what should be done and is it possible at all to use
this card reader with FreeBSD 10.0?

Ivan
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Hi,

How did you add the quirk?

--HPS
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to