This is the mail archive of the cygwin@cygwin.com 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]

Re: Serial Programming



Hi Dario,
Even in latest cygwin there is no ioctl method  support in object
fhandler_serial responsible
for serial operations. I patched it myself so it works as it should.
Jacek
Dario Alcocer wrote:
> 
> >>>>> "Jacek" == Jacek Trzcinski <jacek@certum.pl> writes:
> 
>     Jacek> Hi Cygwiners !, I need a way to set(get) modem lines on
>     Jacek> serial interfaces (/dev/ttys0 and other)...
>     Jacek> Typical Posix solution for example ioctl(fd,TCGETS,...) or
>     Jacek> ioctl(fd,TCSETS,..) does not work because of absence such
>     Jacek> constants in termios.h under Cygwin
> 
> Which termio stuff is missing from Cygwin?  Maybe you could go through
> your code and determine which ioctl() calls and macros you're using.
> Then, you could compare that list with what's in the cygwin1.dll
> source code.
> 
> The source code for cygwin1.dll is at:
> 
>     ftp://ftp.sunsite.utk.edu/pub/cygwin/latest/cygwin
> 
> Look at the files names *.src.tar.gz, and retrieve the one that
> corresponds to the Cygwin version you're currently using.
> 
> --
> Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
> alcocer@helixdigital.com -- http://www.helixdigital.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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