Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
IRQ 7 and port 0x378 is fine for a built-in parallel port. It's what I used in the old machine. The new machine doesn't have any serial or parallel ports, just USB and a single Firewire port (plus ethernet and audio, of course), which is why I'm using a PCI card to supply the needed port. Dmseg keeps saying a parallel port was found at 0xc800 and IRQ 19. That seems to be close to right because I can cram ASCII into /dev/lp0 and at least see the printer respond. The problem is the output is consistently unusable. As things stand now, Picard's commands would become "make it sew! Enrage!"...
Remember this is a PCI card and doesn't use the 0x378.
This is a good place to wrap up the story. I decided I need a parallel port like a Ferrari needs a buggy whip socket and replaced the LJ-5P with a Brother HL-5370DW, now sitting on my wired net. End of problem. (Anyone in the Phila., PA area wanting a nicely broken in LP-5J is encouraged to PM me.)
My recollection of the old server is three modules were used, lp, parport, and parport_pc. Lsmod kept saying the new server was loading lp, ppdev, parport_pc, and parport. Something seems odd in that. Keep in mind that things seemed to work well enough that YaST2 saw the right port(s) and IRQ but any attempt to print failed. The "hello, world" experiment shows that something is chewing up even a simple ASCII stream. Fixing this is above my skill level and, frankly, I haven't the time to make a career of fixing the problem. My thanks for all of the suggestions and advice.
Thanks for the pointers. However, I literally pulled the plug on the whole issue and went with a networked printer. Hardly the hero's way out, I admit, but the press of other projects forced me to the quick solution of changing the printer.
Actually im working with hardware Interrupts on parallel port.
So, for that i hv to register my handler at IRQ7 (and i know irq7 = IRQ7 ) but call to request_irq() is failing as the original parallel port handler has already acquired irq7.
What should i do to register my handler???