2014-04-07 16:47 GMT+04:00 Hans Petter Selasky <[email protected]>: > 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[email protected]"
