public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How do I make a COM port in windows accessible using cygwin?
@ 2011-03-15 13:54 Vinod Pillai
  2011-03-15 16:44 ` Václav Haisman
  0 siblings, 1 reply; 6+ messages in thread
From: Vinod Pillai @ 2011-03-15 13:54 UTC (permalink / raw)
  To: cygwin


I have a virtual serial port set up on my COM2 port. I am trying to run a
program on cygwin which will require the use of this serial port on COM2. I
was wondering how I could connect to the COM port using cygwin?
-- 
View this message in context: http://old.nabble.com/How-do-I-make-a-COM-port-in-windows-accessible-using-cygwin--tp31152875p31152875.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do I make a COM port in windows accessible using  cygwin?
  2011-03-15 13:54 How do I make a COM port in windows accessible using cygwin? Vinod Pillai
@ 2011-03-15 16:44 ` Václav Haisman
  2011-03-15 20:28   ` Vinod Pillai
  0 siblings, 1 reply; 6+ messages in thread
From: Václav Haisman @ 2011-03-15 16:44 UTC (permalink / raw)
  To: cygwin

 On Tue, 15 Mar 2011 06:18:00 -0700 (PDT), Vinod Pillai wrote:
> I have a virtual serial port set up on my COM2 port. I am trying to 
> run a
> program on cygwin which will require the use of this serial port on 
> COM2. I
> was wondering how I could connect to the COM port using cygwin?
 See 
 <http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices>. 
 You probably want /dev/ttyS1 for COM2.

-- 
 VH


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do I make a COM port in windows accessible using  cygwin?
  2011-03-15 16:44 ` Václav Haisman
@ 2011-03-15 20:28   ` Vinod Pillai
  2011-03-16  0:40     ` Václav Haisman
  0 siblings, 1 reply; 6+ messages in thread
From: Vinod Pillai @ 2011-03-15 20:28 UTC (permalink / raw)
  To: cygwin


Im sorry but Im a complete novice at this. I cd-ed into the /dev folder. But
I could not find a ttyS1. If you could elaborate what exactly I must do, it
would be helpful. Thank you.

Vinod


Vaclav Haisman wrote:
> 
>  On Tue, 15 Mar 2011 06:18:00 -0700 (PDT), Vinod Pillai wrote:
>> I have a virtual serial port set up on my COM2 port. I am trying to 
>> run a
>> program on cygwin which will require the use of this serial port on 
>> COM2. I
>> was wondering how I could connect to the COM port using cygwin?
>  See 
> 
> <http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices>. 
>  You probably want /dev/ttyS1 for COM2.
> 
> -- 
>  VH
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/How-do-I-make-a-COM-port-in-windows-accessible-using-cygwin--tp31152875p31157501.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do I make a COM port in windows accessible using  cygwin?
  2011-03-15 20:28   ` Vinod Pillai
@ 2011-03-16  0:40     ` Václav Haisman
  2011-03-17 13:32       ` Vinod Pillai
  0 siblings, 1 reply; 6+ messages in thread
From: Václav Haisman @ 2011-03-16  0:40 UTC (permalink / raw)
  To: cygwin

Vinod Pillai wrote, On 15.3.2011 21:03:
> 
> Im sorry but Im a complete novice at this. I cd-ed into the /dev folder. But
> I could not find a ttyS1. If you could elaborate what exactly I must do, it
> would be helpful. Thank you.
Read the page I have linked: "These devices cannot be seen with the command
ls /dev/ although commands such as ls /dev/tty work fine."

-- 
VH

> 
> Vinod
> 
> 
> Vaclav Haisman wrote:
>>
>>  On Tue, 15 Mar 2011 06:18:00 -0700 (PDT), Vinod Pillai wrote:
>>> I have a virtual serial port set up on my COM2 port. I am trying to 
>>> run a
>>> program on cygwin which will require the use of this serial port on 
>>> COM2. I
>>> was wondering how I could connect to the COM port using cygwin?
>>  See 
>>
>> <http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices>. 
>>  You probably want /dev/ttyS1 for COM2.
>>
>> -- 
>>  VH
>>
>>
>> --
>> Problem reports:       http://cygwin.com/problems.html
>> FAQ:                   http://cygwin.com/faq/
>> Documentation:         http://cygwin.com/docs.html
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>
>>
>>
> 


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do I make a COM port in windows accessible using  cygwin?
  2011-03-16  0:40     ` Václav Haisman
@ 2011-03-17 13:32       ` Vinod Pillai
  2011-03-17 13:55         ` Jeremy Bopp
  0 siblings, 1 reply; 6+ messages in thread
From: Vinod Pillai @ 2011-03-17 13:32 UTC (permalink / raw)
  To: cygwin


When I typed ls /dev/tty, I did not get any response. Any other possible
solutions


Vaclav Haisman wrote:
> 
> Vinod Pillai wrote, On 15.3.2011 21:03:
>> 
>> Im sorry but Im a complete novice at this. I cd-ed into the /dev folder.
>> But
>> I could not find a ttyS1. If you could elaborate what exactly I must do,
>> it
>> would be helpful. Thank you.
> Read the page I have linked: "These devices cannot be seen with the
> command
> ls /dev/ although commands such as ls /dev/tty work fine."
> 
> -- 
> VH
> 
>> 
>> Vinod
>> 
>> 
>> Vaclav Haisman wrote:
>>>
>>>  On Tue, 15 Mar 2011 06:18:00 -0700 (PDT), Vinod Pillai wrote:
>>>> I have a virtual serial port set up on my COM2 port. I am trying to 
>>>> run a
>>>> program on cygwin which will require the use of this serial port on 
>>>> COM2. I
>>>> was wondering how I could connect to the COM port using cygwin?
>>>  See 
>>>
>>> <http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices>. 
>>>  You probably want /dev/ttyS1 for COM2.
>>>
>>> -- 
>>>  VH
>>>
>>>
>>> --
>>> Problem reports:       http://cygwin.com/problems.html
>>> FAQ:                   http://cygwin.com/faq/
>>> Documentation:         http://cygwin.com/docs.html
>>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>>
>>>
>>>
>> 
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/How-do-I-make-a-COM-port-in-windows-accessible-using-cygwin--tp31152875p31172378.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do I make a COM port in windows accessible using  cygwin?
  2011-03-17 13:32       ` Vinod Pillai
@ 2011-03-17 13:55         ` Jeremy Bopp
  0 siblings, 0 replies; 6+ messages in thread
From: Jeremy Bopp @ 2011-03-17 13:55 UTC (permalink / raw)
  To: cygwin

On 3/17/2011 08:22, Vinod Pillai wrote:
> Vaclav Haisman wrote:
>>
>> Vinod Pillai wrote, On 15.3.2011 21:03:
>>>
>>> Im sorry but Im a complete novice at this. I cd-ed into the /dev folder.
>>> But
>>> I could not find a ttyS1. If you could elaborate what exactly I must do,
>>> it
>>> would be helpful. Thank you.
>> Read the page I have linked: "These devices cannot be seen with the
>> command
>> ls /dev/ although commands such as ls /dev/tty work fine."
> 
> When I typed ls /dev/tty, I did not get any response. Any other possible
> solutions

The command ls /dev/tty works for me:

$ ls -l /dev/tty
crw--w---- 1 jeremyb Domain Users 5, 0 Mar 17 08:43 /dev/tty


Even if the path you attempted to use didn't exist, you should have got
/some/ response:

$ ls /dev/nonexistent
ls: cannot access /dev/nonexistent: No such file or directory


Can you provide more details about what exactly happened when you tried
to run your command?

-Jeremy

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-17 13:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-15 13:54 How do I make a COM port in windows accessible using cygwin? Vinod Pillai
2011-03-15 16:44 ` Václav Haisman
2011-03-15 20:28   ` Vinod Pillai
2011-03-16  0:40     ` Václav Haisman
2011-03-17 13:32       ` Vinod Pillai
2011-03-17 13:55         ` Jeremy Bopp

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).