Re: cups 1.2 - no output
- From: Jan-Espen Pettersen <sigsegv@xxxxxxxxxxxxx>
- Date: Tue, 04 Jul 2006 22:38:58 +0200
Rainer Heesen wrote:
root@desktop ~# echo test > /dev/ulpt0It can't be any other program if fstat is not reporting anything. I've
bash: /dev/ulpt0: Device busy
so I think it is not a cups problem, but what kind of program make the usb
device busy?
been reading on the usb printer standard, and the ulpt code. I found
that it will return 'device busy' (EBUSY) in one more condition other
than that it is in use by another program. It will first do a soft reset
on the printer, telling it to forget everything about previous request
and/or errors. Then it'll wait for the printer to set it's state to
Selected (ie. online). If the printer doesn't set its state to online
FreeBSD will return EBUSY (device busy).
You can try running your kernel in verbose mode ('boot -v' from the
loader), and if this is the case you'll see series of messages on the
console like:
ulpt_open: waiting a while
...
To get your printer working again, maybe you can unplug, powercycle (ie.
hard reset) your printer. And then try /dev/unlpt0. (No reset) 'echo
test > /dev/unlpt0' is an effective test.
Maybe your printer sets the online bit correctly if it doesn't receive
the reset.
And otherwise if you can confirm that the printer is not online, then
maybe you can manually tell it to get online or power up. (By pushing an
eventual 'power up'/'online' button on the printer itself)
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- cups 1.2 - no output
- From: Rainer Heesen
- Re: cups 1.2 - no output
- From: Rainer Heesen
- Re: cups 1.2 - no output
- From: Jan-Espen Pettersen
- cups 1.2 - no output
- Prev by Date: Re: Installation on private network
- Next by Date: Re: KDE & Text to Speech
- Previous by thread: Re: cups 1.2 - no output
- Next by thread: How to disconnect ADSL
- Index(es):
Relevant Pages
|