This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cat /dev/ttyS?


steven woody wrote:
> 
> why can't get incoming COM2 data by the following command:
> 
> $ cat /dev/ttyS2
> 
> but i can get the data by other windows serial monitor programs on the
> same port.

ttyS2 is the third serial port.  The first serial port is /dev/ttyS0, so
for COM2 you want /dev/ttyS1.

Brian


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]