Gentoo Archives: gentoo-sparc

From: "张韡武" <zhangweiwu@××××××.com>
To: gentoo-sparc@l.g.o
Subject: [gentoo-sparc] parallel port printer stop working on 2.6 kernel
Date: Mon, 18 Dec 2006 12:01:08
Message-Id: 1166443216.18581.48.camel@joe.realss.com
1 I have been struggling with this issue for a long time: using 2.6
2 kernel, device /dev/lp0 swallow all input to it without error, and
3 nothing comes out from the printer.
4
5 example:
6 $ dmesg > /dev/lp0
7 $ [no output on commandline, no output from printer, nothing happens]
8
9 also cups running on this server shows every job is completed, nothing
10 comes out in paper form.
11
12 Here is the dmesg section that seems to be related to this issue:
13
14 [ 5.293312] lp: driver loaded but no devices found
15 [ 5.340515] rtc_init: no PC rtc found
16 [ 5.380379] /pci@1f,0/pci@1,1/ebus@1/su@14,3083f8: Keyboard port at 1fff13083f8, irq 6
17 [ 5.472406] /pci@1f,0/pci@1,1/ebus@1/su@14,3062f8: Mouse port at 1fff13062f8, irq 7
18 [ 5.561939] parport0: PC-style at 0x1fff13043bc (0x1fff13047bc), irq 8, dma 0 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
19 [ 5.812374] parport0: Printer, Hewlett-Packard hp LaserJet 3015
20 [ 5.979388] lp0: using parport0 (interrupt-driven).
21
22 from dmesg it seems kernel not only able to detect parallel port, but
23 also possible to activate ECP mode and detect printer model (which is
24 correct). I also have activated all kernel configuration options I can
25 think of. I attached my kernel configuration file as well as whole dmesg
26 output hoping that can help.
27
28 The machine is Ultrasparc U5. It has been serving as print server for
29 more then one year, or probably two years.

Attachments

File name MIME type
dmesg text/plain
config text/plain
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-sparc] [SOLVED] Re: parallel port printer stop working on 2.6 kernel "张韡武" <zhangweiwu@××××××.com>