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