USB SD, MMC, MS, CF card reader?
Krassimir Slavchev
krassi at bulinfo.net
Fri Nov 13 07:19:20 UTC 2009
Hans Petter Selasky wrote:
> On Wednesday 11 November 2009 16:37:45 Krassimir Slavchev wrote:
>> Hi All,
>>
>> I have an old USB card reader which is not recognized by 8.0.
>> The reader is based on a C-Media CM320L chip.
>>
>> Does this reader need special handling or umass driver can be used?
>>
>> # usbconfig -u 7 -a 2 dump_info
>> ugen7.2: <product 0x5200 vendor 0x0d8c> at usbus7, cfg=0 md=HOST
>> spd=HIGH (480Mbps) pwr=ON
>>
>> # usbconfig -u 7 -a 2 dump_device_quirks
>>
>
> Hi,
>
> The umass quirks are currently not available through the USB quirks API.
> Can you do: dump_device_desc and dump_curr_config_desc ?
> You probably need to edit sys/dev/usb/storage/umass.c and add a device entry
> there.
I have tried almost all possible protocol combinations but no luck.
With UMASS_PROTO_SCSI | UMASS_PROTO_BBB:
umass0: <vendor 0x0d8c product 0x5200, class 0/0, rev 2.00/1.00, addr 2>
on usbus7
umass0: SCSI over Bulk-Only; quirks = 0x0000
umass0: Get Max Lun not supported (USB_ERR_TIMEOUT)
umass0:0:0:-1: Attached to scbus0
Adding NO_GETMAXLUN quirk:
umass0: <vendor 0x0d8c product 0x5200, class 0/0, rev 2.00/1.00, addr 2>
on usbus7
umass0: SCSI over Bulk-Only; quirks = 0x0100
umass0:0:0:-1: Attached to scbus0
The same reader works on windows with 'Generic USB Mass Storage' driver
and in the chip documentation I found that it is 'Compliant with USB
Mass Storage Device Class specifications'.
May be something is handled differently?
Best Regards
More information about the freebsd-hardware
mailing list