From owner-freebsd-hardware@FreeBSD.ORG Fri Nov 13 09:09:06 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 820281065679 for ; Fri, 13 Nov 2009 09:09:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id DC7038FC16 for ; Fri, 13 Nov 2009 09:09:05 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=D-uDodvM0yAA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=jhrT6nCssbIPamiFIj8A:9 a=z6aLvXORTMyjuOFypT4A:7 a=frVLgRqW8-hKmBbt9cneEeMFiZUA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1320032357; Fri, 13 Nov 2009 09:09:03 +0100 From: Hans Petter Selasky To: freebsd-hardware@freebsd.org Date: Fri, 13 Nov 2009 09:08:05 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4AFADA49.5070401@bulinfo.net> <200911111704.20112.hselasky@c2i.net> <4AFD086F.4090009@bulinfo.net> In-Reply-To: <4AFD086F.4090009@bulinfo.net> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911130908.06079.hselasky@c2i.net> Cc: Subject: Re: USB SD, MMC, MS, CF card reader? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 09:09:06 -0000 On Friday 13 November 2009 08:19:11 Krassimir Slavchev wrote: > 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: 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: > 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: > 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? I don't know. Maybe your device needs some special command before it responds. --HPS