Realtek SD Card Reader 0x0bda / 0x0129 detection?

Ivan Rokotov ivan.rokotov.bsd at gmail.com
Tue Apr 8 00:33:17 UTC 2014


2014-04-07 16:47 GMT+04:00 Hans Petter Selasky <hps at selasky.org>:
> Hi,
>
> How did you add the quirk?

Hi hps@,

I added this to sys/dev/usb/usbdevs:
product REALTEK USB20CRW_T  0x0129  USB20CRW Card Reader

and this to sys/dev/usb/quirk/usb_quirk.c
USB_QUIRK(REALTEK, USB20CRW_T, 0x0000, 0xffff, <LIST OF QUIRKS>),

and recompiled my kernel. 'usbconfig' confirms that quirks were added, e.g.

# usbconfig -d 1.4 dump_device_quirks | grep 0x0129
VID=0x0bda PID=0x0129 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_MSC_NO_SYNC_CACHE

Changing quirks without recompiling kernel (simply using add_quirks
and then turning off/on the device) gave no visible effect, i.e. no
dmesg events.

Ivan


More information about the freebsd-usb mailing list