Article 6D8ZD Linux PC GPIO

Linux PC GPIO

by
Krupski
from LinuxQuestions.org on (#6D8ZD)
Hi all,

I would like to know if there is any way to add GPIO functionality to a Linux PC (not a Raspberry PI). Imagine an old DOS machine where one could read and write bits to the parallel port. That's what I want to do, but with a modern PCIE card of some sort. 8 bits would be good enough, but I'll gladly take more :)

Also, I wonder if a PCIE parallel port card would do it. How would I access individual bits of the card. I'm sure I can't just peek and poke memory addresses using a modern protected mode OS (Debian 11, 64 bit).

I have been using an FTDI232RL in bitbang mode and it works, but it's slow and cumbersome to use (I have to build up a data stream with bits set or cleared, then send the bytes to the FTDI to turn individual bits on or off. Reading data lines is even more of a pain).

Any suggestions will be greatly appreciated!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments