From owner-freebsd-stable@FreeBSD.ORG Mon Sep 28 00:52:16 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8C0F1065679 for ; Mon, 28 Sep 2009 00:52:16 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 374D68FC19 for ; Mon, 28 Sep 2009 00:52:15 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n8S0qCpL032199; Sun, 27 Sep 2009 20:52:12 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200909280052.n8S0qCpL032199@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 27 Sep 2009 20:52:38 -0400 To: Robert Noland , "Daniel O'Connor" From: Mike Tancsa In-Reply-To: <1254062842.2048.1467.camel@balrog.2hip.net> References: <200909280009.28658.doconnor@gsoft.com.au> <1254062842.2048.1467.camel@balrog.2hip.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Excessivly cheap USB device issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 00:52:16 -0000 At 10:47 AM 9/27/2009, Robert Noland wrote: > > Sep 27 14:29:18 midget kernel: da1: Attempt to query device size > failed: NOT READY, Medium not present > > > > If I connect a CF card to da1 and run 'fdisk da1' I get.. > > [midget 0:06] ~ >fdisk da1 > > load: 0.29 cmd: fdisk 69630 [cgticb] 1.50r 0.00u 0.00s 0% 1160k > > load: 0.19 cmd: fdisk 69630 [cbwait] 24.42r 0.00u 0.00s 0% 1160k > > load: 0.19 cmd: fdisk 69630 [cbwait] 27.01r 0.00u 0.00s 0% 1160k > > fdisk: unable to get correct path for da1: Input/output error > > > > [midget 0:05] ~ >sudo usbconfig -u 5 -a 2 dump_device_desc > > ugen5.2: at usbus5, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON > > > > bLength = 0x0012 > > bDescriptorType = 0x0001 > > bcdUSB = 0x0200 > > bDeviceClass = 0x0000 > > bDeviceSubClass = 0x0000 > > bDeviceProtocol = 0x0000 > > bMaxPacketSize0 = 0x0040 > > idVendor = 0x058f > > idProduct = 0x6362 > > bcdDevice = 0x0129 > > load: 0.21 cmd: usbconfig 69643 [WCTRL] 1.73r 0.00u 0.00s 0% 1080k > > iManufacturer = 0x0001 > > load: 0.19 cmd: usbconfig 69643 [WCTRL] 8.56r 0.00u 0.00s 0% 1104k > > iProduct = 0x0002 > > iSerialNumber = 0x0003 > > bNumConfigurations = 0x0001 > > > > Perhaps some quirk would help but I'm not sure which one :) > >I also have a similar device, which I've been messing with a bit the >last couple of days. In your case, it isn't seeing the media, just the >"drive". I've had to try various combinations of unplugging the adapter >from usb, inserting the media then plugging it back in. It does seem to >work fairly reliably if you boot with the media already inserted, but it >doesn't seem to detect media change at all. I get around it (on my cheap reader) by always doing a cat /dev/null > /dev/da1 whever I change or insert new media into the reader That seems to work with the gear I have 99% of the time. ---Mike