UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear fellows:
I'm experiencing more than little problems installing a Epson Stylus Photo printer in an old recycled PC Pentium 200 MMX with a Xubuntu desktop running smoothly.
This PC runned formerly a Debian Sarge with a 2.4 kernel and this printer got installed and configured to work easily with the CUPS web interface. But I felt in love with Xubuntu forever so I switched...
OK... I had some work to do with the "alternate" text installer in advanced mode but I coped to get everything working well but the printer. The CUPS web interface describes this printer as follows:
Make and Model: EPSON Stylus Photo - CUPS+Gutenprint v5.0.0-rc2
Printer State: idle, accepting jobs, published.
Device URI: parallel:/dev/lp0
It seems apparently well installed, being both port and driver correct. Yes, actually it prints but at a rate of 10 (yes ten!) minutes per page it does no matter if only text or text+graphics. I guess it an issue with the parallel port on an old ISA pnp card. The onboard parallel por no longer exists and is almost impossible to get it, so I unabled it in the BIOS settings to elliminate undesirable interferences. The dmesg output estates:
parport0: PC-style at 0x278 [PCSPP,TRISTATE,EPP]
parport0: Printer, EPSON Stylus Photo
lp0: using parport0 (polling).
Thanks a lot for reading my post. I'll apreciate all advice. If you need more information just let me know!
Some older ISA-bus parallel ports had a jumper to enable the card to generate interrupts. Perhaps this is missing/misconfigured. The dmesg output would suggest that the kernel driver was unable to get the device running with interrupts, and is using a polled mode. That would probably account for the slow speed, especially on a slower machine like that.
I did more investigating and I got some answers. I guess the guilt of this bad performance is actually the old processor. Indeed with the former driver gimp-print (debian sarge) everything went ok, but these problems started with the new one included in both xubuntu and debian testing (yes, also tried it!). This old processor doesn't works well with the new driver gutenprint (xubuntu and debian etch) because it demands more recurses. Looking the top output when trying to print I can see that three processes started by lp: gs-esp, rastertoguntenpr and parallel consuming almost 100% cpu. So I switched to a less sophisticated driver, the one included with the cups system. Although I get far less quality in printing it seems to work and the use of cpu is better.
Please, can you add more about interrupts versus polled mode? Are you suggesting to change settings in the BIOS is a way to workaround these annoyances? I thing I always saw the (polling) mode in all of my former dmesg's.
If more information is needed to make a more accurate diagnostic just let me know!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.