[301] in linux-net channel archive
Re: plip and parallel printers
daemon@ATHENA.MIT.EDU (Rob Janssen reading Linux mailingl)
Wed May 10 09:14:13 1995
To: gniibe@mri.co.jp (NIIBE Yutaka)
Date: Wed, 10 May 1995 10:15:07 +0200 (MET DST)
Cc: hab@engr.ucf.edu, linux-net@vger.rutgers.edu
In-Reply-To: <199505100154.KAA13854@agochikuwa.mri.co.jp> from "NIIBE Yutaka" at May 10, 95 10:54:01 am
Reply-To: linux-vger@wab-tis.rabobank.nl
From: linux@sys3.pe1chl.ampr.org (Rob Janssen reading Linux mailinglist)
According to NIIBE Yutaka:
> Hubert Bahr writes:
> > When I try to config the kernel for both plip and parallel printer
> > I can get one or not the other. I have two parallel ports is there
> > any way to have both plip and a parallel printer.
>
> The problem is that PLIP and LP register all the I/O region.
> They should handle kernel arguments (currently they don't).
> Possible work around is comment out following lines in plip_init().
>
> /* Check region before the probe */
> if (check_region(PAR_DATA(dev), 3) < 0)
> return -ENODEV;
You can compile them as modules and load the modules for the respective
ports only. That should work, I think.
(also for alternate use as a printer and plip port without rebooting the
system)
Rob
--
+------------------------------------+--------------------------------------+
| Rob Janssen rob@knoware.nl | AMPRnet: rob@pe1chl.ampr.org |
| e-mail: pe1chl@wab-tis.rabobank.nl | AX.25 BBS: PE1CHL@PI8WNO.#UTR.NLD.EU |
+------------------------------------+--------------------------------------+