On Jan 17 10:48, Stan Pinte wrote:
> Hello,
> 
> accessing serial port under cygwin, with ids above 10 is broken:
> 
> Using "/dev/com20" results in a "No such file or directory" error.

Try the more POSIXy "/dev/ttyS19" instead.  /dev/ttyS0 == /dev/com1
This is supposed to be supported up to /dev/ttyS63.

> The following post:
> http://www.cygwin.com/ml/cygwin/1999-12/msg00323.html says I should use
> 
> "\\\\.\\com20" instead of "/dev/com20". If I do that, the call to open(...) 
> succeed, 
> but the call to tcgetattr raises a "Inappropriate ioctl for device" error.

This posting is 7(!) years old.  Things have changed in the meantime.
Don't use the Windows notation "\\.\comXX".  It's not supported.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

Reply via email to