USB CRW for SDCard?

Hans Petter Selasky hps at selasky.org
Sun Feb 28 18:59:22 UTC 2016


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


More information about the freebsd-usb mailing list