On Mon, 19 Dec 2011 16:15:43 -0800 Subodh Nijsure <nijsure.subodh@xxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html