[cups.general] installed gutenprint, now cant print on Epson C88

Johannes Meixner jsmeix at suse.de
Tue Dec 12 01:44:05 PST 2006


Hello,

On Dec 11 22:54 jeff wrote (shortened):
> linux:/home/jeff # fuser -v /dev/lp0
> linux:/home/jeff #
> 
> linux:/home/jeff # escputil -i -u -r /dev/lp0
....
> Cannot open /dev/lp0 read/write: Device or resource busy


For me it works well:

# escputil -d -r /dev/lp0
....
Epson Stylus Color 460


# escputil -i -r /dev/lp0
....
         Ink color       Percent remaining
             Black                      76
              Cyan                      91
           Magenta                      91
            Yellow                      91


I have openSUSE 10.2 installed on i386 architecture (i.e. 32-bit)
with the "out-of-the-box" Gutenprint (i.e. version 5.0.0).


In your previous mail you wrote
--------------------------------------------------------------------
output of dmesg:

parport 0x17a (WARNING): CTR: wrote 0x0c, read 0xff
parport 0x17a (WARNING): DATA: wrote 0xaa, read 0xff
parport 0x17a: You gave this address, but there is probably
               no parallel port there!
parport0: PC-style at 0x17a, irq 1 [PCSPP,TRISTATE]
setup_irq: irq handler mismatch
 [<c0131bb7>] setup_irq+0xd6/0xe9
 [<df0379e5>] parport_pc_interrupt+0x0/0x2e [parport_pc]
 [<c0131c39>] request_irq+0x6f/0x8b
 [<df03777a>] parport_pc_probe_port+0x96e/0xb21 [parport_pc]
 [<de8742f7>] parport_pc_init+0x211/0x3ef [parport_pc]
 [<c012afac>] sys_init_module+0x12d6/0x1444
 [<c010299b>] sysenter_past_esp+0x54/0x79
parport0: irq 1 in use, resorting to polled operation
lp0: using parport0 (polling).
--------------------------------------------------------------------
This does not look good.
Neither IO address 0x17a nor IRQ 1 is normal for any BIOS
which I know about regarding the parallel port.
Perhaps you have broken settings in /etc/modprobe.conf
(e.g. "io=378" instead of "io=0x378")?

There are some bug reports about problems with the parallel port
in our Novell/Suse Bugzilla. A good report to start is
https://bugzilla.novell.com/show_bug.cgi?id=185135
See also the other bug reports which are mentioned there.

Something is fishy with the parallel port stuff in the kernels
since Suse Linux 10.0, see
http://lists.suse.com/archive/suse-linux-e/2005-Nov/1206.html

The current workaround is to experiment with various BIOS settings
and explicite additional settings in /etc/modprobe.conf to find a
setup, which actually works in a particular problematic case.

Note that the higher-level fast bidirectional modes (EPP or ECP)
normally require an interrupt and ECP additionally requires DMA.
To activate the interrupt mode, set in /etc/modprobe.conf
something like

options parport_pc io=0x378 irq=7

where io and irq must match to your BIOS settings.

Make sure that the IRQ which you use for the parallel port
is not used by any other stuff, see our online documentation
(package suselinux-manual_en)
/usr/share/doc/manual/suselinux-manual_en/manual/sec.drucken.prob.html
Chapter 11. Printer Operation
11.7. Troubleshooting
11.7.3. Parallel Ports


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix at suse.de
90409 Nuernberg, Germany                    WWW: http://www.suse.de/





More information about the cups mailing list