This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


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

Re: Serial Port Opening Problem


Hi Anamika,
   I have implemented the concept of pseudo device 
drivers for eCos as per Bart Veer's idea of a 
multiplexor, refer to a small discussion on 
"serial device drivers for linux synthethic target!" 
in the archives. 
   This consists of support for SIGIO handling and
connecting with the external multiplexor in eCos
HAL, and multiplexor implementation as well as the
device servers implementation.
   Presently I have implemented serial device drivers
as well as ethernet device drivers for the synthetic
target and got Tristan's port of TCP/IP working in
linux synthetic target.
   If anybody requires the code can contact me at my
mailid, or else I can put the code in the contrib 
section of eCos, provided Bart Veer agrees to it.

Anamika Gupta wrote:
> 
> Thanx Jesper
> 
> Anyone having information about serial port drivers in
> Synthetic target, Please mail to me.
> 
> Thanx in advance
> Anamika
> 
> --- Jesper Skov <jskov@redhat.com> wrote:
> > >>>>> "Anamika" == Anamika Gupta
> > <anamikargupta@yahoo.com> writes:
> >
> > Anamika> Hi all
> >
> > Anamika> I am facing a problem in opening serial
> > port on Linux I386
> > Anamika> synthetic target. I am using the following
> > call
> >
> > Anamika> cyg_io_lookup("/dev/ttyS0",&handle);
> >
> > Anamika> It returns -2 which means no such entity.
> >
> > Which is correct. There is no serial support
> > implemented for the
> > synthetic target.
> >
> > There has been some work in that direction though (I
> > think). I've been
> > away for some time and don't recall the details -
> > you should look at
> > the archive of this list to find details.
> >
> > Jesper
> >
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com

-- 
Mohammed Illyas Mansoor (Research Engineer.)
(Office)Center For Development of Telematics.	|(Res)No 25, 11th cross,
71/1 Millers's Road,				|B. K. Nagar, Yeshwanthpur,
Bangalore-560052.Ph:+91-080-2282915   	     
|Bangalore-560022.+91-080-3476595

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