Re: USB Printer?

From: Bernd Walter <ticso_at_cicely12.cicely.de>
Date: Mon, 18 Aug 2003 20:31:30 +0200
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_at_bwct.de                                  info_at_bwct.de
Received on Mon Aug 18 2003 - 09:31:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:19 UTC