Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Printer port to control other devices GPIO
« previous
next »
Print
Pages: [
1
]
Author
Topic: Printer port to control other devices GPIO (Read 2976 times)
MozOz
Newbie
Posts: 2
Karma: 0
Printer port to control other devices GPIO
«
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
«
Last Edit: December 26, 2017, 09:11:34 am by MozOz
»
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Printer port to control other devices
«
Reply #1 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.
Logged
MozOz
Newbie
Posts: 2
Karma: 0
Re: Printer port to control other devices GPIO
«
Reply #2 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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Printer port to control other devices GPIO