ts-7000
[Top] [All Lists]

[ts-7000] Re: problem in communication over COM1

To:
Subject: [ts-7000] Re: problem in communication over COM1
From: "mxbahrami" <>
Date: Thu, 31 Mar 2005 16:31:16 -0000

--- In  Jim Jackson <> wrote:
> 
> On Thu, 31 Mar 2005, mxbahrami wrote:
> 
> > --- In  Jim Jackson <> wrote:
> > >
> > > If this group needs an FAQ this is probably the main entry :-)
> > >
> > > On Wed, 30 Mar 2005, mxbahrami wrote:
> > >
> > > > I did change console to COM2.
> > > > Now I can't communicate over COM1 properly.
> > > > I have installed the serial handler but nothing happens when I
> > expect
> > > > receiving data.
> > > > Shall I set anything else?
> > > > Any help, please!
> > >
> > > Have you stopped the getty process on the line?
> > > Edit /etc/inittab and comment out the line
> > >
> > >   lgn0:12345:respawn:/sbin/getty -L 115200 ttyAM0
> > >
> > > And HUP init (i.e. kill -1 1)
> > >
> > > Jim
> >
> > I did but still no change. my serial handler doesn't run properly.
> > I am wondering how it understands the serial handler is for COM0!!
> > I am newbie in linux programming. Appreciate it if anybody can 
help
> > me to fix it.
> 
> Sorry. But fix what? My crystal ball is in the garage for a service 
at the
> moment :-)
> 
> You haven't given any information, how can any of us possibly help 
you?
> The hardware MUST work because you were using it as the console for 
the
> kernel - so the problem is with your application. Has the 
application
> worked elsewhere on another unix/linux system? If so, and you have 
not
> changed anything it maybe that you need to change some of the code 
to
> reference /dev/ttyAM0 (instead of for instance /dev/ttyS0) as the 
serial
> port. If it's new code it could literally be absolutely anything.

right.
let me explain what I did.
I am newbie in Linux but not in programming. 
So,
I have a code which is working on Linux system. I changed the tty 
(console) to /dev/ttyAM1 and ttyS0 to /dev/ttyAM0.
I run the code on the Board, it works with a device which sends data 
over serial port but when I connect my cell phone it doesn't work. I 
mean serial_IO_handler isn't called ? I wanna know how 
serial_IO_handler is called(I mean changes on serial pins).

Hope it is enough.

MB





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU