Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 20:31:30 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: USB Printer?
Message-ID:  <20030818183129.GW70636@cicely12.cicely.de>
In-Reply-To: <20030818145328.GA5193@daimi.au.dk>
References:  <20030818110251.GA10975@daimi.au.dk> <20030818125910.GR70636@cicely12.cicely.de> <20030818145328.GA5193@daimi.au.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 18, 2003 at 04:53:29PM +0200, Daniel Nielsen wrote:
> On 18/08-03 14.59, Bernd Walter wrote:
> > On Mon, Aug 18, 2003 at 01:02:51PM +0200, Daniel Nielsen wrote:
> > > Hi.
> > > 
> > > I installed 5.1-RELEASE on a compuiter with a nforce2 mobo, worked
> > > nice... Then I bought a Brother-5050 Laser printer
> > > (Postscript). Installed and configured cups. cups worked fine. Then I
> > > realized, the printer only works if it is turned on before my freebsd
> > > boots. 
> > > 
> > > When I power it up, it is detected by the freebsd usb-system:
> > > 
> > > zits root # dmesg | grep ulpt
> > > ulpt0: Brother HL-5050, rev 2.00/1.00, addr 3, iclass 7/1
> > > ulpt0: using bi-directional mode
> > > zits root #
> > > 
> > > And when I turn it off:
> > > zits root # dmesg | grep ulpt
> > > <snip>
> > > ulpt0: at uhub0 port 2 (addr 3) disconnected
> > > ulpt0: detached
> > > zits root #
> > > 
> > > but when I send a job to the printer, the CUPS usb backend just
> > > hangs, locking /dev/ulpt0
> > > 
> > > I tried cat /root/some-file > /dev/ulpt0 , and it also just hangs. 
> > 
> > /dev/ulpt0 shouldn't exist after ulpt0 was detached.
> 
> It doesn't... I wasn't being clear, I only try the cat thing after the
> printer is attached and turned on.

What does ps -axl say.
What kind of USB controller do you have?
Are other full-speed USB devices working on this usb controller (mices
are often low speed)?

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



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