OPNsense Forum

English Forums => General Discussion => Topic started by: MozOz on December 26, 2017, 08:39:46 am

Title: Printer port to control other devices GPIO
Post by: MozOz on December 26, 2017, 08:39:46 am
how to control the printer port for the use of resetting modems and other devices
and the reading the port for feedback


Title: Re: Printer port to control other devices
Post by: fabian on December 26, 2017, 09:14:59 am
If you are looking for a CLI tool, I usually use minicom for RS-232 communication on Linux - It is available for FreeBSD too:
https://www.freebsd.org/cgi/man.cgi?minicom
It might work with a parallel port too.
Title: Re: Printer port to control other devices GPIO
Post by: MozOz on December 26, 2017, 09:41:16 am
looked around for minicom parallel port looks like mostly RS232

i found this
https://numato.com/product/8-channel-usb-gpio-module-with-analog-inputs
they also have eg code
maybe can adopt it
https://numato.com/product/8-channel-usb-gpio-module-with-analog-inputs
using Python