RE: Serial Port Problems

2005-08-01 Thread Michael McCarthy
On Fri, 29 Jul 2005, H. Henning Schmidt wrote: You can configure your serial port -attached file-desc to return after one single byte or after a timeout by configuring the appropriate members of the struct termios -member . Read http://www.easysw.com/~mike/serial/serial.html for details. ;He

RE: Serial Port Problems

2005-07-29 Thread H. Henning Schmidt
Hi there, I have been experiencing some problems interfacing the serial ports on two seperate systems: a windows 2000 PC and a windows XP laptop. Basically, all I want to do is read some data from a device that is connected to the serial port. I am using some code (that works under linux)

RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-15 Thread Ton van Overbeek
I checked the 20021114-23:36:56 snapshot at home and can confirm that it solves my serial problem on W98SE: m68k-palmos-gdb is talking to my palm again. Thanks Chris (and Sergey) for the patch. Ton van Overbeek -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-15 Thread Ton van Overbeek
I did not see Chris Faylor messages before I sent my previous message (http://cygwin.com/ml/cygwin/2002-11/msg00784.html). Quoting Chris: > Don't want to play duelling patches, but did you build cygwin from the > latest CVS? If so, you've pulled in my changes, too. It would be > instructive to f

Re: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-15 Thread Christopher Faylor
On Fri, Nov 15, 2002 at 01:05:54PM +0100, Ton van Overbeek wrote: >Compiled cygwin1.dll with this patch. I cannot test it completely because >my Palm is at home. I ran with this cygwin1.dll and produced a strace >on a W98SE machine at work. >It looks promising. The timeout of 1000 is now there. I'l

RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-15 Thread Ton van Overbeek
k [mailto:v-overbeek@;cistron.nl] > Sent: Thursday, November 14, 2002 5:07 PM > To: Sergei Okhapkin; [EMAIL PROTECTED] > Subject: RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE > > > Some more input. > Attached strace output from a successfull run with the cygwin

Re: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-14 Thread Christopher Faylor
On Thu, Nov 14, 2002 at 11:07:07PM +0100, Ton van Overbeek wrote: >Some more input. >Attached strace output from a successfull run with the >cygwin-1.3.14 dll. >What I can spot in the log is that when com4 is read it now >has a read timeout of 1000 (vtime=1000), while in the unsuccessfull >runs vmi

RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-14 Thread Sergei Okhapkin
r, 4, &cb, 0) || cb != 4*/) ipbuffer |= rts | dtr; else { -Original Message- From: Ton van Overbeek [mailto:v-overbeek@;cistron.nl] Sent: Thursday, November 14, 2002 5:07 PM To: Sergei Okhapkin; [EMAIL PROTECTED] Subject: RE: Serial port problems

RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-14 Thread Ton van Overbeek
Some more input. Attached strace output from a successfull run with the cygwin-1.3.14 dll. What I can spot in the log is that when com4 is read it now has a read timeout of 1000 (vtime=1000), while in the unsuccessfull runs vmin was 0. Does that ring any bells ? Ton van Overbeek trace-1.3.14.bz2

RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-14 Thread Ton van Overbeek
At 19:46 11/13/2002 -0500, Sergei Okhapkin wrote: >Could you run "strace -o tracefile m68k-palmos-gdb ", do everything >you need to hang the system and send the tracefile (compressed!) to me? >The tracefile will be huge > and at 17:19 11/13/2002 -0500, Larry Hall wrote: >If you can zero in

RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-13 Thread Sergei Okhapkin
Could you run "strace -o tracefile m68k-palmos-gdb ", do everything you need to hang the system and send the tracefile (compressed!) to me? The tracefile will be huge -Original Message- From: Ton van Overbeek [mailto:v-overbeek@;cistron.nl] Sent: Wednesday, November 13, 2002 4:21

RE: Serial port problems with cygwin1.dll 1.3.15 on Win98SE

2002-11-13 Thread [EMAIL PROTECTED]
If you can zero in on the snapshot where you notice this behavior first occuring, that would be useful information. Larry Original Message: - From: Ton van Overbeek [EMAIL PROTECTED] Date: Wed, 13 Nov 2002 22:20:53 +0100 To: [EMAIL PROTECTED] Subject: Serial port problems with cy