Re: Reading data from /dev/ttyS0

2002-04-27 Thread dman
On Fri, Apr 26, 2002 at 09:48:22PM -0700, Bill Moseley wrote: | I'm trying to get a program that reads serial data working. I'm looking | for some debugging tips. ... | BYTE readByte(int fi) | { | char buf[2]; | printf("About to read a byte\n"); | read (fi, buf, 1); | print

Re: Reading data from /dev/ttyS0

2002-04-27 Thread Bill Moseley
I can see that chars are getting to the serial device, but the program isn't reading data from /dev/ttyS0. Thanks, -- Bill Moseley -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Reading data from /dev/ttyS0

2002-04-27 Thread Shaul Karl
> I'm trying to get a program that reads serial data working. I'm looking > for some debugging tips. > > I've got an X10 mouse-remote (JR20 RF remote,and JR21A receiver). I was > using it on a Windows machine to run winamp. Now I'm trying to get it > to work with linux. It's a remote control f

Reading data from /dev/ttyS0

2002-04-26 Thread Bill Moseley
I'm trying to get a program that reads serial data working. I'm looking for some debugging tips. I've got an X10 mouse-remote (JR20 RF remote,and JR21A receiver). I was using it on a Windows machine to run winamp. Now I'm trying to get it to work with linux. It's a remote control for controlli