Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2016 20:01:54 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Larry Rosenman <ler@lerctr.org>, "freebsd-usb@FreeBSD.org" <freebsd-usb@FreeBSD.org>
Subject:   Re: USB CRW for SDCard?
Message-ID:  <56D34422.9070108@selasky.org>
In-Reply-To: <20160228184457.GA43926@lrosenman-dell2.lerctr.org>
References:  <20160228172219.GA1495@lrosenman-dell2.lerctr.org> <56D33E0C.7040809@selasky.org> <20160228184457.GA43926@lrosenman-dell2.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02/28/16 19:44, Larry Rosenman wrote:
> On Sun, Feb 28, 2016 at 07:35:56PM +0100, Hans Petter Selasky wrote:
>> On 02/28/16 18:22, Larry Rosenman wrote:
>>> So, how do I get this device to read my SD cards?
>>>
>>>
>>> ugen0.5: <USB2.0-CRW Generic> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
>>>
>>>
>>
>> Can you dump the device and configuration descriptor?
>>
>> usbconfig -d 0.5 dump_device_desc dump_curr_config_desc
>
> ugen0.5: <USB2.0-CRW Generic> at usbus0, 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

Hi,

Try to add a USB quirk for your device:

kldload usb_quirk
usbconfig -d 0.5 add_quirk UQ_MSC_FORCE_WIRE_BBB

Then re-plug it.

Can be permanently added to sys/dev/usb/quirk/usb_quirk.c

--HPS



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