How to access /dev/ttyS* ?

Ryan Johnson
Thu Apr 26 15:48:00 GMT 2012

Hi all,

I'm trying to connect a VirtualBox guest's serial port to something that 
cygwin/gdb can access for remote debugging, and am having trouble 
connecting the pieces...

One post from a couple of years ago [1] suggests using /dev/ttyS* to 
access COM ports. This would work great... except there are no 
/dev/ttyS* on my install.

The other VirtualBox option is to create a named pipe (as in Windows 
NPFS), and then wrap it into a pty using socat [2], but I can't figure 
out how to access such a pipe from cygwin -- the "\\.\pipe\*" path 
doesn't seem to be supported by cygpath and there's nothing obvious in 



Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list