From owner-freebsd-stable@FreeBSD.ORG Tue Sep 29 10:34:39 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 DF0741065672; Tue, 29 Sep 2009 10:34:39 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id A31738FC0C; Tue, 29 Sep 2009 10:34:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 46426FF61; Tue, 29 Sep 2009 23:16:28 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h54WGWUMfpui; Tue, 29 Sep 2009 23:16:23 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Tue, 29 Sep 2009 23:16:23 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 0A36111475; Tue, 29 Sep 2009 23:16:23 +1300 (NZDT) Date: Tue, 29 Sep 2009 23:16:22 +1300 From: Andrew Thompson To: Robert Noland Message-ID: <20090929101622.GA64206@citylink.fud.org.nz> References: <200909280009.28658.doconnor@gsoft.com.au> <1254062842.2048.1467.camel@balrog.2hip.net> <200909280052.n8S0qCpL032199@lava.sentex.ca> <200909291435.08797.doconnor@gsoft.com.au> <1254219084.2248.982.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1254219084.2248.982.camel@balrog.2hip.net> User-Agent: Mutt/1.5.17 (2007-11-01) 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: Tue, 29 Sep 2009 10:34:40 -0000 On Tue, Sep 29, 2009 at 05:11:24AM -0500, Robert Noland wrote: > On Tue, 2009-09-29 at 14:35 +0930, Daniel O'Connor wrote: > > On Mon, 28 Sep 2009, Mike Tancsa wrote: > > > >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. > > > > Hmm OK, I sort of expected fdisk da1 to fail straightaway though (it > > takes ~30 seconds to fail for me). > > > > I have unplugged it for now, it interacts annoyingly with SANE because > > that scans the SCSI bus(es) looking for scanner and each umass takes > > 30+ seconds to fail. > > FWIW, on yesterdays kernel, mine seems to be working properly and > detecting media change. I'm not sure what change helped. Note that I > am running -CURRENT. Was that after the sync to Hans's repo? There were around 20 commits so if anyone can narrow it down to a single rev then it may be able to be merged. Andrew