From owner-freebsd-hardware@FreeBSD.ORG Fri Nov 13 07:19:20 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 190CF106566B for ; Fri, 13 Nov 2009 07:19:20 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id BF6F68FC16 for ; Fri, 13 Nov 2009 07:19:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id D94815C3AA; Fri, 13 Nov 2009 09:19:17 +0200 (EET) X-Virus-Scanned: amavisd-new at bulinfo.net Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YiPAvipDj+Fl; Fri, 13 Nov 2009 09:19:17 +0200 (EET) Received: from [192.168.2.187] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 9F2855C2AC; Fri, 13 Nov 2009 09:19:17 +0200 (EET) Message-ID: <4AFD086F.4090009@bulinfo.net> Date: Fri, 13 Nov 2009 09:19:11 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.23 (X11/20091110) MIME-Version: 1.0 To: Hans Petter Selasky References: <4AFADA49.5070401@bulinfo.net> <200911111704.20112.hselasky@c2i.net> In-Reply-To: <200911111704.20112.hselasky@c2i.net> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hardware@freebsd.org 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 07:19:20 -0000 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? Best Regards