[S.u.S.E. Linux] Printer Problems
![](https://seccdn.libravatar.org/avatar/f3fa15dd80a00876389319c56757ed36.jpg?s=120&d=mm&r=g)
Hello, I have a Postcript Laserprinter (NEC Silentwriter 2Model 90 to be exact) and I am having some difficulties. I have Printer Parrallel support built as a module, and it loads fine. But the SuSE manual says it should be for most (since I do not have a Hercules card) on lp1. For me, using Yast to configure, I cannot even, reach the printer on lp1. Now on lp0 I try to print something and this is what happens. There is communication with the printer, and after about 10 seconds of processing it reverts back to the ready state. Running dmesg I get lp0 at 0x03bc, (polling) I used to run 0S/2 and I experienced these exact same symptoms. IBM tech support worked with me and we figured out that if I disable polling and use IRQ then everything is fine. Could this go for linux as well? I am assuming from dmesg that I am using polling here as well. Does anybody know how to change this? One other knote that baffels me. The manual says lp0 is on IRQ5 which is what I have my Sound Card configured to. Now that would explain why it is not working completely, but it would not explain why I cannot even see the printer on lp1 IRQ7 which is vacant. Any ideas would be much aappreciated. Thanks, Kimon Tsinteris -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
![](https://seccdn.libravatar.org/avatar/a473658e05aa9ef34d5325c56c8c34f5.jpg?s=120&d=mm&r=g)
Somehow over the weekend I was able to get a module sound driver to work
with the stock kernel provided with SuSE 5.2. What I would like to do
now is recomplile the kernel with modules but excluding request of alot
module devices I know I will never use. In thinking over this I've come
up with several concerns:
1) The original SuSE 5.2 kernel must have been configured with some
.configure file in /usr/src/linux. I cannot seem to locate it. Does
anyone know where it is located. I'd like to see what it looks like
and use it as a basis of making my own kernel.
2) I want to keep the ability to load the present kernel which uses a
certian set of modules, located in /lib/modules(?). How can I identify
a new kernel with different module requirements in /lib/...? How do you
tell the system to boot with kernelA using modulesA and boot with kernelB
using modulesB. Is this possible?
3) I know that /etc/conf.modules contains arguments for the various
modules. Can a single /etc/conf.modules be used with two kernels each
requiring a different set of modules?
Thanks,
Terry
_____________________________________________________________________________
Terry Eck
![](https://seccdn.libravatar.org/avatar/fecbb491e479d7f053afacfe160588f5.jpg?s=120&d=mm&r=g)
kimon@wtco.net wrote:
Hello,
I have a Postcript Laserprinter (NEC Silentwriter 2Model 90 to be exact) and I am having some difficulties. I have Printer Parrallel support built as a module, and it loads fine. But the SuSE manual says it should be for most (since I do not have a Hercules card) on lp1. For me, using Yast to configure, I cannot even, reach the printer on lp1.
Now on lp0 I try to print something and this is what happens. There is communication with the printer, and after about 10 seconds of processing it reverts back to the ready state. Running dmesg I get lp0 at 0x03bc, (polling)
Then you know there is data moving. I had an old apple laserwrite, postscript only, and all this on a serial port. not much fun. can you set this printer to print any cleartext emulation? a cat file > /dev/lp1 would show you something: either garbage or readealbe text, possibly with staircase effect. next could be setting the printer to unix mode (LF only instead of CR LF) to enable text printing. If this runs well try to 'cat ps-file > /dev/lp1' (you can do this now as well, but if the printer is silent it can be both a communication problem or "bad" postscript code.
I used to run 0S/2 and I experienced these exact same symptoms. IBM tech support worked with me and we figured out that if I disable polling and use IRQ then everything is fine. Could this go for linux as well? I am assuming from dmesg that I am using polling here as well. Does anybody know how to change this?
polling is standard. I know it can be changed, but not how. ;-( but wait: there is an articke in the german SDB, search for "polling", first hit. the tool you need is called tunelp, it configures the *aktuel used* module, if the module is unloaded and reloaded it is back to polling mode. (that's the article about) very short: compile printing into the kernel and use kernel parameters. <A HREF="http://localhost/support-db/sdb/avaron_lpd_irq_polling.html"><A HREF="http://localhost/support-db/sdb/avaron_lpd_irq_polling.html</A">http://localhost/support-db/sdb/avaron_lpd_irq_polling.html I'm to tired now to translate. A rough guess can be taken from it, though.
One other knote that baffels me. The manual says lp0 is on IRQ5 which is what I have my Sound Card configured to. Now that would explain why it is not working completely, but it would not explain why I cannot even see the printer on lp1 IRQ7 which is vacant. Any ideas would be much aappreciated.
no idea ;-( -- ========================================== __ _ Jürgen Braukmann e-mail: brauki@cww.de | / / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | / /__/ / _ \/ // /\ \/ / ========================================== /____/_/_//_/\_,_/ /_/\_\ -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
![](https://seccdn.libravatar.org/avatar/1f76eeb33b5a366be0beb80fa632bbc5.jpg?s=120&d=mm&r=g)
Hi! Trying to kill the keyboard, brauki@cityweb.de produced:
<A HREF="http://localhost/support-db/sdb/avaron_lpd_irq_polling.html"><A HREF="http://localhost/support-db/sdb/avaron_lpd_irq_polling.html</A">http://localhost/support-db/sdb/avaron_lpd_irq_polling.html
I'm to tired now to translate. A rough guess can be taken from it, though.
Ok, I'll do it. (slightly enhanced, though) Printer does not stay in IRQ mode Symptom: The lpd ought to work in IRQ mode instead of the (default) polling mode. However even after switching to IRQ mode with 'tunelp' the lpd switches back to polling mode after a few minutes. Cause: Tunelp configures only the currently loaded printing module. If the printer is not used for some minutes the printing module will be unloaded. Using the lpd the next time reloads the printing module with the original (polling) configuration. Solution: Either compile the printer support into the kernel and switch to IRQ mode via kernel options at boot time or add a line in /etc/conf.modules. For switching at boot time add the line append="lp=????????" after the line image=???? . The configuring line for the printer driver is build as follows: lp=port0[,irq0[,port1[,irq1[,port2[,irq2]]]]] e.g.: lp=0x378,0 or lp=0x278,5,0x378,7 You must specify all ports you want to use! Should e.g. the port 0x278 use IRQ 7 for data transfer you'd have to use the following line in /etc/lilo.conf: append="lp=0x278,7" If further kernel options need to be added, they have to be separated by a space character, e.g.: append="lp=0x278,7 auto" If you want to use modules for printer support (neccessary if you want to share the parallel port for a ZIP-Drive or PLIP or similar), try to add the parameters in /etc/conf.modules, e.g.: options lp io=0x278 irq=7 Now the printing module should use IRQ mode even after reloading. -Wolfgang PS: Forwarded to feedback@suse.com (I hope that is the right address) so it can be included in the SDB. -- PGP 2 welcome: Mail me, subject "send PGP-key". If you've nothing at all to hide, you must be boring. Unsolicited Bulk E-Mails: *You* pay for ads you never wanted. Is our economy _so_ weak we have to tolerate SPAMMERS? I guess not. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (4)
-
brauki@cityweb.de
-
eck@ti.com
-
kimon@wtco.net
-
weissel@jupiter.ph-cip.uni-koeln.de