Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2010 20:31:24 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Cc:        remegius@comcast.net, perryh@pluto.rain.com, freebsd-questions@freebsd.org
Subject:   Re: Interactive Port
Message-ID:  <201009022031.24920.hselasky@c2i.net>
In-Reply-To: <4c7e075b.8edSaF5Xw9mGHkRS%perryh@pluto.rain.com>
References:  <20100901000413.GA1559@bsd.remdog.net> <4c7e075b.8edSaF5Xw9mGHkRS%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 01 September 2010 09:57:15 perryh@pluto.rain.com wrote:
> Rem P Roberti <remegius@comcast.net> wrote:
> > Brother!  Muttprint is now working fine.  The problem: the printer
> > was offline!  Now, before you go accusing me of being a complete
> > dufus, let me say that I had no way of knowing that that condition
> > existed.  The printer itself indicated that it was online---no
> > problem.  What happened is that somehow, and I'm not sure what
> > caused this, the printer became disengaged from its usb port.
> 
> I'd call it a bug in the printer that it continues to indicate
> online when it has lost its connection to its host (unless it
> also has a network connection, and in that case I imagine you'd
> be using the network instead of USB).
> 
> > ...  The only way that I could get it talking again to usb was by
> > doing a reboot.
> 
> Now _that_ sounds like a possible bug in the USB subsystem, since
> USB is supposed to be completely hot-pluggable and should not need
> a reboot to get itself straightened out after a mishap.  Cc-ing usb@
> list.
> 
> One question which will surely arise is, which FreeBSD version are
> you using?  The USB stack was completely rewritten in 8.0.

If the USB application does not close the /dev/XXX handles, it will block the 
enumeration of new USB devices on that bus.

Also see "usbconfig -d X.Y reset"

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009022031.24920.hselasky>