USB Printer?
Daniel Nielsen
djn at daimi.au.dk
Tue Aug 19 00:10:57 PDT 2003
On 18/08-03 20.31, Bernd Walter wrote:
> 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.
I'll have to check when I get home.
> What kind of USB controller do you have?
Its the onboard nvidia nforce2 controller, USB 2 is enabled in
BIOS. Switching it off doesn't help
> Are other full-speed USB devices working on this usb controller (mices
> are often low speed)?
No. I only have 2 usb devices, mouse and printer.
/Daniel
--
There are no great men, only great challenges that ordinary men are forced
by circumstances to meet.
-- Admiral William Halsey
More information about the freebsd-current
mailing list