0

I currently have a device that has a serial port, and on boot this serial port is bound to ttyS1. There is a process on the device (that I have little control over) that takes control of this port so you can talk to it through a serial terminal.

I want to be able to interact with this serial port through software running on the device though. The current method that I am using to do this is to basically hijack ttyS1 immediately after bootup and create a virtual serial port in it's place and then my software sits on the other end. If I do that, then the serial port is no longer accessible through the physical port though. Is there a way of doing this without losing access through the physical port?

I've attached a photo to try and illustrate what I mean.

Tyler
  • 111
  • 2

1 Answers1

0

you should definitely read this -

http://www.tldp.org/HOWTO/Serial-HOWTO-4.html

Oron Zimmer
  • 154
  • 4