[rescue] Solaris Parallel Port Programming

Sheldon T. Hall shel at cmhcsys.com
Fri Jul 25 13:49:21 CDT 2003


Dave McGuire writes, about parallel port programming ...

>    IOCTL dicking is pretty easy...in general, you allocate a struct of a
> particular type (depending on the IOCTL you want to use), stuff its
> members with the (IOCTL-dependent) values depending on what you want to
> do, then call ioctl() with the IOCTL number that you want to call and a
> pointer the struct as parameters.
>
>    It should be fairly easy to build a command-line program to twiddle
> those bits.  If you decide to do that, drop me a note and I'll do what
> I can to help out.

Write that offer on a sticky-note and put it on your monitor.  It'll
probably be a few days, but I'm very likely to take you up on that!

-Shel



More information about the rescue mailing list