Date: Tue, 08 Apr 2014 13:00:06 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Ivan Rokotov <ivan.rokotov.bsd@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: Realtek SD Card Reader 0x0bda / 0x0129 detection? Message-ID: <5343D6B6.9010802@selasky.org> In-Reply-To: <CAOTTJKGGVwY-RecSTPg5HMNUkGdaFRhaswn6hD_6wJ3PC34t=g@mail.gmail.com> References: <CAOTTJKGJFEwzhtL%2Br4Xp=hVx=dWAwXx7Jm1qu10MVXx5AHsC9A@mail.gmail.com> <53429E5F.1030407@selasky.org> <CAOTTJKGGVwY-RecSTPg5HMNUkGdaFRhaswn6hD_6wJ3PC34t=g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/08/14 02:33, Ivan Rokotov wrote: > 2014-04-07 16:47 GMT+04:00 Hans Petter Selasky <hps@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. > Hi, Can you check using: usbdump -i usbusX -f Y -s 65536 -vvv what is going on with regards to USB communication towards your adapter? X and Y are the numbers after ugenX.Y for your device. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5343D6B6.9010802>