On Sat, 29 Mar 2008, LaksCEO wrote:
> Hi
> Charlie
> i have attcehd the code of my serial program which works in com1 with the SIGIO
> but the same program after changing the
> #define MODEMDEVICE "/dev/ttyAM1"
>
> for com2 it is not working
>
> but it works in com2 without SIGIO
>
> where could be the problem
>
> my application needs a interrupt driven serial input so that my program
> can do some other work istead of polling the serial port
Open the serial port in non-blocking mode and poll on atimer?
>
> any help will be highly appreciated
>
> -laks
>
>
>
> ----- Original Message -----
> From: charliem_1216
> To: ts-7000%40yahoogroups.com">ts-7000
yahoogroups.com
> Sent: Friday, March 28, 2008 7:51 PM
> Subject: [ts-7000] Re: No SIGIO on com1?
>
>
> --- In ts-7000%40yahoogroups.com">ts-7000
yahoogroups.com, "papp_lapp" <papp_lapp
...> wrote:
> >
> > I have enabled getty and tested it successfully, it works just as it
> > should. So I guess it's a software issue. Unfortunately I don't know
> > where to begin... I added a call to read on exit, and it prints out
> > the strings sent from the laptop, so they ARE being recieved by the
> > ts, there's just no SIGIO being generated. I tried using select() to
> > poll for incoming data instead of the SIGIO/boolean combination from
> > the howto, but that doesn't work either, though I'm not 100% sure I'm
> > using it correctly. Anyone have a starting point or idea?
>
> Can you post the code you are trying to use?
>
> Regards, ........ Charlie
>
>
>
>
.