Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 1995 18:55:23 -0500 (EST)
From:      Peter Dufault <>
Subject:   Re: lpt0 modifications
Message-ID:  <>
In-Reply-To: <> from "" at Dec 6, 95 10:48:21 am

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> I hope this question will not be too much of a trouble for 
> you, I have spent some time looking around the documentation
> and could not find answer for it myself so here goes:
> I owuld like to use the Paralel Prot of a FreeBSD running 
> machine to control another very simple device which is not a
> printer. The interface to that device, however, is not
> compatible with the interface to a printer and does not 
> support the hardware hand-shake protocol a normal printer 
> would do. Is there a way I could reconfigure the kernel 
> respectively the /dev/lpt0 device to ignore those errors and
> simply dump numbers to the parallel port? It has to be 
> something very simple, but I don't seem to be able to find 
> it.,

I did something like this a while back (386bsd) to drive a stepper
motor.  I can dig up the driver but you'll have to fold it in as
I don't have much time right now.  It will even do trapezoidal
profiling for you.

Will opening /dev/io and doing outbs directly to the data port from
your user process work for this application?

Peter Dufault               Real Time Machine Control and Simulation
HD Associates, Inc.         Voice: 508 433 6936             Fax:   508 433 5267

Want to link to this message? Use this URL: <>