Mail Archives: cygwin/2003/01/17/10:48:40
Cool thanks this seems to work as I can see my IR port trying to connect to
my IR on my mobile but the problem is I keep getting '/dev/com4: Permission
denied' when I'm running my code. If these are virtual links, how can I
look at changing the permissions on them ?
Regards
Paul
"Sergey Okhapkin"
<sos AT sokhapkin DOT dy To: Paul Munden/UK/IBM AT IBMGB, <cygwin AT cygwin DOT com>
ndns.org> cc:
Subject: RE: COM port setup
17/01/03 13:36
Cygwin has pseudo /dev directory, the device name mapping is
/dev/ttyS0 - com1
/dev/ttyS1 - com2
/dev/ttyS2 - com3
/dev/ttyS3 - com4
You can use both unix and windows device names to open a com port, ie
fopen("/dev/ttyS0") and fopen("com1") do the same, but I suggest you to
use unix-like names.
> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Paul Munden
> Sent: Thursday, January 16, 2003 11:34 AM
> To: cygwin AT cygwin DOT com
> Subject: COM port setup
>
>
>
>
> Hi,
>
> I'm hoping you could help me. I'm using CYGWIN to run some
> SMS tools and the tools config files need setting up to add
> the details of which com port I'm using. Basically I just
> need to know how I would go about creating the com4 object in
> /dev so that it does actually point at the com port as when
> installed, CYGWIN came with no /dev or any example of how I
> would setup the com object.
>
> Any help appreciated
>
> Paul.
>
>
> --
> 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/
>
--
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/
- Raw text -