Excessivly cheap USB device issue

Andrew Thompson thompsa at FreeBSD.org
Tue Sep 29 10:34:40 UTC 2009


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


More information about the freebsd-stable mailing list