ttyu vs cuau

Hi,

What is/are the difference(s) between /dev/ttyu* devices and /dev/cuau*? I can connect to a remote host via /dev/cuau2 and also /dev/ttyu2.
 
So which device node should be used when logging in a *NIX box via serial port from FreeBSD?
Both /dev/ttyX and /dev/cuaX seem to work.
 
From uart(4):
Code:
FILES
     /dev/ttyu?       for callin ports
     /dev/ttyu?.init
     /dev/ttyu?.lock  corresponding callin initial-state and lock-state
                      devices

     /dev/cuau?       for callout ports
     /dev/cuau?.init
     /dev/cuau?.lock  corresponding callout initial-state and lock-state
                      devices
 
Right, thanks! But I'm a little confused since they both (ttyX and cuaX) work the same way to connect to a serial console.
So, it's seems to be more logical to use /dev/cuaX in such case, but I'm trying to understand the internals.
 
But I'm a little confused since they both (ttyX and cuaX) work the same way to connect to a serial console.
Yeah, I think this is mainly because the ttyu* are the more traditional serial input ports. Think old-school, serial, terminal connections and dial-in modems.
 
Back
Top