Re: serial port communication - again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 29 Jan 2004 13:32:23 +0100, you wrote:

> hello,
> 
> i am using wine 20040121, and the windows application i am trying to run
> need to communicate through the serial ports with an attached device.
> the problem is this: whenever i try to communicate with the serial
> device, i get the following error message:


Matthias,

There is not a single error in the debug trace that you posted. The one
fixme is almost certainly harmless.

I presume it does not work: how do you notice? Does the program report
anything?


> trace:comm:ClearCommError handle 0x164 cbInQue = 0 cbOutQue = 11
> trace:comm:ClearCommError handle 0x164 cbInQue = 0 cbOutQue = 11

These ClearCommError's are normally used by program's to check for bytes
in the in- and output buffers. Here you see that the program has written
11 bytes.


> trace:comm:ClearCommError handle 0x164 cbInQue = 0 cbOutQue = 0

Lots of those: the program waits for a response.

> trace:comm:ClearCommError handle 0x164 cbInQue = 1 cbOutQue = 0

Here is an incoming byte.

So the program appears to be communicating, hence my question what goes
actually wrong?

Adding the debug option  "--debugmsg +file,+comm" might give more
insight in the communication problem. The resulting output may be much
bigger though, you will need to search the actual ReadFile and WriteFile
calls that the program does to exchange data.

Rein.
-- 
Rein Klazes
rklazes@xxxxxxxxx
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux