tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ppbus (bi-directional parallel port) for i386?
On Thu, Feb 28, 2013 at 05:34:08AM +0100, Hans Rosenfeld wrote:
> On Thu, Feb 28, 2013 at 01:04:39AM +0100, tlaronde%polynum.com@localhost
> wrote:
> > Hello,
> >
> > On my NetBSD 5.1.2/i386 system, there are man pages for ppbus. But from
> > grep'ing the sources, it seems the support is only included (optionally)
> > for acorn32. There is a conditional in
> > sys/arch/i386/pnpbios/files.pnpbios for "!ppbus" and that's all.
> >
> > Is there no support except in acorn32?
>
> I used it successfully on i386, using a custom kernel. You have to
> remove or comment out all lpt devices and then add the stuff from the
> manpage.
>
Thanks for the tip! I will try.
> > (FWIW, the reason is to try to get status information from the printer
> > via HP PJL for a parallel port printer, and this needs bi-directional
> > parallel port support.)
>
> I don't know how well this works. I only used it to get gpio(4) access
> to the parallel port pins.
This is at the present not crucial, so it will not be a problem if that
does not work. But I want to know how far one can go this way.
Best,
--
Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
Home |
Main Index |
Thread Index |
Old Index