From owner-freebsd-usb@FreeBSD.ORG Wed Oct 19 19:46:09 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15288106566C for ; Wed, 19 Oct 2011 19:46:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 809378FC1B for ; Wed, 19 Oct 2011 19:46:08 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 191338221; Wed, 19 Oct 2011 21:46:05 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 19 Oct 2011 21:42:51 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111019183247.GA1735@devbox> In-Reply-To: <20111019183247.GA1735@devbox> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <201110192142.51927.hselasky@c2i.net> Cc: Eugene Dzhurinsky Subject: Re: Support of internal card-reader for ASUS K43SJ X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2011 19:46:09 -0000 On Wednesday 19 October 2011 20:32:48 Eugene Dzhurinsky wrote: > Hello, all! > > I need some advice - it seems that the cardreader is not recognizable on > > FreeBSD 8.2 STABLE: > > uname -a > > FreeBSD devbox 8.2-STABLE FreeBSD 8.2-STABLE #5: Wed Oct 19 12:20:43 EEST > 2011 root@devbox:/usr/obj/usr/src/sys/BOFHMOD amd64 > > > usbconfig list > > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE ugen0.2: at usbus0, > cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.2: 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen0.3: > at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON ugen0.4: at usbus0, > cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.5: at > usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON > > And dumps follow: > > =========================================================================== > ================= > > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0009 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x0000 > idProduct = 0x0000 > bcdDevice = 0x0100 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0009 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x0000 > idProduct = 0x0000 > bcdDevice = 0x0100 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > > ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0009 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x8087 > idProduct = 0x0024 > bcdDevice = 0x0000 > iManufacturer = 0x0000 > iProduct = 0x0000 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > > ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0009 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x8087 > idProduct = 0x0024 > bcdDevice = 0x0000 > iManufacturer = 0x0000 > iProduct = 0x0000 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0110 > bDeviceClass = 0x00e0 > bDeviceSubClass = 0x0001 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x13d3 > idProduct = 0x3304 > bcdDevice = 0x0001 > iManufacturer = 0x0000 > iProduct = 0x0000 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > ugen0.4: at usbus0, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x00ef > bDeviceSubClass = 0x0002 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x058f > idProduct = 0xa014 > bcdDevice = 0x0003 > iManufacturer = 0x0003 <04G6200086K1AN17J000SGH> > iProduct = 0x0001 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > ugen0.5: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x00ff > bDeviceSubClass = 0x00ff > bDeviceProtocol = 0x00ff > bMaxPacketSize0 = 0x0040 > idVendor = 0x0bda > idProduct = 0x0139 > bcdDevice = 0x3960 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <20100201396000000> > bNumConfigurations = 0x0001 > Hi, You need to dump the configuration descriptor using usbconfig. Also see the quirks available how to force the UMASS mode of a device. --HPS