* Connecting serial ports back to back.
@ 2011-12-20 0:15 Subodh Nijsure
2011-12-20 11:13 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Subodh Nijsure @ 2011-12-20 0:15 UTC (permalink / raw)
To: linux-serial
I have hardware where we have two ports that need to be connected back
to back. One serial port is /dev/ttyAPP2 and other is /dev/ttyUSB0
Basically what I want to make happen is data coming from /dev/ttyUSB0
should be sent to /dev/ttyAPP2 and vice versa.
It appears that I should be able to do this using the n_tracesink and
n_tracerouter line discipline drivers.
Has anyone been successful in hooking up serial ports back-to-back
using these two line discipline drivers?
/Subodh
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Connecting serial ports back to back.
2011-12-20 0:15 Connecting serial ports back to back Subodh Nijsure
@ 2011-12-20 11:13 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2011-12-20 11:13 UTC (permalink / raw)
To: Subodh Nijsure; +Cc: linux-serial
On Mon, 19 Dec 2011 16:15:43 -0800
Subodh Nijsure <nijsure.subodh@gmail.com> wrote:
> I have hardware where we have two ports that need to be connected back
> to back. One serial port is /dev/ttyAPP2 and other is /dev/ttyUSB0
>
> Basically what I want to make happen is data coming from /dev/ttyUSB0
> should be sent to /dev/ttyAPP2 and vice versa.
>
> It appears that I should be able to do this using the n_tracesink and
> n_tracerouter line discipline drivers.
>
> Has anyone been successful in hooking up serial ports back-to-back
> using these two line discipline drivers?
tracerouter/sink are a bit more specialist than that. But for general
data copying you can just run an application to do it.
Alan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-20 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20 0:15 Connecting serial ports back to back Subodh Nijsure
2011-12-20 11:13 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox