Note that there are some explanatory texts on larger screens.

plurals
  1. POHow create a virtual io device in Linux that proxies data to real device?
    primarykey
    data
    text
    <p>I have an interesting problem. I am working on an embedded box with multiple instances of Linux running each on an ARM processor. They are connected over internal 1GBps network. I have a serial port device node attached to processor A (Lets say Linux-A running on it). I have a program running on processor B (Lets say on Linux-B) access the serial port device as if it is attached to Linux-B locally. <br> My program invokes term i/o type api calls on device node to control tty echo, character mode input. What I am wondering is if there is a way to create a virtual serial device that is available on Linux-B somehow talking to real serial device on Linux-A over internal network.<br></p> <p>I am thinking something along the lines of: Linux-B has /dev/ttyvirtual. Anything that gets written to it gets transported over network socket to Linux-A serialserver. The serial server exrcises the api calls on real device lets say /dev/ttys0. Any data waiting on ttys0 gets transported back to /dev/ttyvirtual.</p> <p>What are all the things involved to get this done fast?</p> <p>Thanks<br> Videoguy</p> <p>Update: I found a discussion at <a href="http://fixunix.com/bsd/261068-network-socket-serial-port-question.html" rel="nofollow">http://fixunix.com/bsd/261068-network-socket-serial-port-question.html</a> with great pointers. <br> Another useful link is <a href="http://blog.philippklaus.de/2011/08/make-rs232-serial-devices-accessible-via-ethernet/" rel="nofollow">http://blog.philippklaus.de/2011/08/make-rs232-serial-devices-accessible-via-ethernet/</a> </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload