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 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.

> (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.


Hans


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown


Home | Main Index | Thread Index | Old Index