public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Quick query
@ 2001-07-20  7:58 Julian Hall
  0 siblings, 0 replies; only message in thread
From: Julian Hall @ 2001-07-20  7:58 UTC (permalink / raw)
  To: cygwin

I've just been trying to port some software that uses serial ports to
cygwin with limited success.  Specifically, some of my workstations here
have /dev/com1 and some don't.  What version of the Cygwin DLL is
required to get serial port access to work?  Also, should /dev/ttyS0 etc
work?  When I use ls I get strange results...

jules:~$ ls -l /dev/com1
crw-rw-rw-   1 Everyone Everyone   7,   1 Jul 20 16:02 /dev/com1
jules:~$ ls -l /dev/ttyS0
crw-rw-rw-   1 Everyone Everyone   7,   0 Jul 20 16:02 /dev/ttyS0

surely these two should refer to the same device, as the 'com1' entry is
(presumably) for compatibility with windows conventions and should
therefore be a reference to the first serial device, as should ttyS0 for
compatibility with unix conventions...?

Also, is there any chance of having a virtual /dev directory that lists
available devices?  Or do I have to 'mknod' them all by hand?

Jules




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-20  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-20  7:58 Quick query Julian Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).