SlackwareThis Forum is for the discussion of Slackware 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.
I have a Lexmark Optra E+ connected to the parallel port of my mainboard. It works very well, printing results are great, the only problem is, that it takes very long to process a page (about 4-6 minutes). I googled a bit and found out, that I could speed up printing, if I could make the parport use IRQ (whatever that might be).
Now I read the parport.txt from the kernel documentation and there it says, IRQs are not used by default, because it might cause problems. I did a:
# cat /proc/interrupts
CPU0 CPU1
0: 10298056 0 IO-APIC-edge timer
1: 15146 0 IO-APIC-edge i8042
8: 1 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
12: 493198 0 IO-APIC-edge i8042
14: 44008 1 IO-APIC-edge ide0
15: 24 0 IO-APIC-edge ide1
16: 633508 0 IO-APIC-level nvidia
17: 178886 0 IO-APIC-level Intel ICH5
18: 14 0 IO-APIC-level aic7xxx
20: 377644 0 IO-APIC-level eth0
NMI: 0 0
LOC: 10254700 10254802
ERR: 0
MIS: 0
And it shows, that I have plenty of unused IRQ's. I now tryed to load the parport_pc modules with custom IRQ sinsmod /lib/modules/2.6.8.1/kernel/drivers/parport/parport_pc.ko io=0x3bc irq=7
ettings:
This works and will show the parport using IRQ 7, but then the printer will not print. I guess the problem is the wrong io parameter, but I have no idea which one to use. I got this form the kernel documentation, but I do not understand what it might mean. Can anyone tell me which value to choose, or what this value is and how to find the "right" one?
You can't just pick an IRQ at random to use with your printer. You need to use the settings that get assigned to the parallel port by the BIOS. This is usually listed when the computer starts up or by going into the BIOS to view settings.
Having said that, IRQ 7 is commonly used for parallel ports, so this may be another issue.
Thank you for your reply. I gave it a short try, but it did not work. Unfortunately I am in a hurry and do not have time to try more today. I will give it some more tries during the Weekend and post, if I could get it working :-)
It is quite some time since my post, but I finally resolved the issue:
Instead of using the (recommended) hpijs driver I now use the gutenprint driver. They work just as well and are a lot faster.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.