I remember looking into parallel port i/o before, and came across a C library called parapin (available at http://www.circlemud.org/~jelson/software/parapin/). I never actually tried it, but it looked pretty straightforward. Also, it wouldn't be too difficult to write something like this in C or C with embedded Assembly (assuming you're on an x86 architecture).

Hope this helps,
Lloyd Brown



Gabriel Gunderson wrote:

I'm picking-up on an old project that I wrote in C# under windows that
would read and set the pins on parallel ports.  It used a .dll that
someone had written to do the dirty work and I simply wrapped a nice
object model around it.  With mono becoming ready for a ver. 1 release,
I thought it would be nice to see if I could get it working under
Linux.  The deal is I would need to write or find a library in another
language to do the actual reading and writing and use the
System.Runtime.InteropServices to get at it.

What I'm wondering is....
Anyone know of how to do this in Linux?
Will mono let you get to the hardware in places that .NET will not?

Thanks for the feedback,

Gabe

P.S. Anyone into motion control or robotics on the list?


____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list






--

--------------------
"Open Source is not a crime."
               -Seen on a bumper sticker
--------------------



____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to