Date: Fri, 13 Nov 2009 09:19:11 +0200 From: Krassimir Slavchev <krassi@bulinfo.net> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-hardware@freebsd.org Subject: Re: USB SD, MMC, MS, CF card reader? Message-ID: <4AFD086F.4090009@bulinfo.net> In-Reply-To: <200911111704.20112.hselasky@c2i.net> References: <4AFADA49.5070401@bulinfo.net> <200911111704.20112.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AFD086F.4090009>