This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Accessing RS232 port in Linux
- From: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
- To: "Giridhara R P" <rpgiri at cdotb dot ernet dot in>,<ecos-discuss at sources dot redhat dot com>
- Date: Fri, 2 Apr 2004 11:36:24 +0530
- Subject: Re: [ECOS] Accessing RS232 port in Linux
- References: <Pine.OSF.4.21.0404021102080.30174-100000@ws9.cdotb.ernet.in>
- Reply-to: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
You have to enable them. See drivers for serial devices section in
configtool.
Regards
Mohanlal
----- Original Message -----
From: "Giridhara R P" <rpgiri@cdotb.ernet.in>
To: <ecos-discuss@sources.redhat.com>
Sent: Friday, April 02, 2004 11:36 AM
Subject: [ECOS] Accessing RS232 port in Linux
>
> Hii,
> i am using ecos-2.0 on Liunx8.0.
> I tried to open com1 serial port(RS232) using
> cyg_io_lookup("/dev/ttyS0",handle) API provided by
> ecos. But it is returnig -ve value.
> (abs value is 2 = /* No such entity */)
> Can u please tell me how to read and write to RS232
> port.
> Thanks
> Waiting for ur reply
> Giridhar R P
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss