From: Bela Lubkin <belal@sco.com> Subject: Re: How to add PCI Parallel card to Openserver 5 Date: Tue, 3 Dec 2002 03:24:05 GMT References: <371f3e34.0212021756.4bd8def1@posting.google.com> Chris Schmidt wrote: > Okay, a while back I think I posted a message looking for some newer > PCI 3.3V LPT cards. Well I finally got them, and managed to get them > working in a Proliant ML350 with The latest release of United Linux. > > Now, the actual machine they need to go in is the same Compaq Server > ML350 but in a tower config so should be the same hardware setup. I > need the two cards to be /dev/lp1 and /dev/lp2. The builtin parallel > is /dev/lp0 and is in use. > > The cards used the following hardware setup: > > builtin port: 0x378 irq7 > card 1: 0x3400 irq 10 > card 2: 0x3410 irq 5 > > How do I go about adding these to an Openserver 5.0.6 system? Will > there be any problems using the above addresses and irqs? > > These cards are plug and play and there is no way to disable that, but > they should always get the above addresses and irq's from the system > because there will be no further hardware added to this server. It > would be nice if they had a legacy mode but they don't and Sunix is > the only one right now who is making 3.3V cards for the newer PCI bus. > Lava does not have one yet, they are all 5 Volt and will not work. > > They worked fine in Linux, so should work fine in Openserver. I > didn't need any special drivers in linux, just > > # insmod parport.c > # insmod parport_pc.c (or .o whatever) io=0x378,0x3400,0x3410 > irq=7,10,5 > > And then add them as regular printers in cups.
You should be able to do this with `mkdev parallel`. Things you need to know: - It supports at most three parallel ports. Your kernel is probably already configured with three at addresses 378, 3bc, 278. Tell it to remove the latter two. - It will ask for an "end base address". It's not very important, but give it 340f and 341f. - The ports should be configured for the oldest/stupidest parallel port style they support (if you have any control at all over this). - You'll probably run `mkdev parallel` a total of 4 times -- two to delete the old ISA addresses, two to add the new ones. Tell it not to relink the kernel until the last time.
- The OSR5 parallel driver is not the slightest bit PCI-aware until OSR507. By hardwiring the addresses and IRQs, you are relying on the kindness of the BIOS to always configure them to the same address. >Bela<
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar