How can you capture the input and output of a serial port in wine

Andreas Mohr Usenet 10/01 a31dgo001 at
Tue Feb 26 16:40:37 CST 2002

David Bronaugh <dbronaugh at> wrote:
> I'm curious about this. I'm trying to reverse-engineer a really neato-device that hooks up to the serial port and has Windows software. I've figured out the protocol the device sends; I'm just not sure how the device is initialized. So I'd love to capture the Windows software doing the dirty deed.. and WINE is IMHO just the tool. So, question is:

> How do you capture serial ports transmissions and/or receives in WINE?
wine --debugmsg +relay,+comm,+file prg.exe &>/tmp/wine.log

Andreas Mohr, Renningen, Germany
In case you need to contact me after expiry of temporary email address:
my eternal (hopefully) email address is frqr2001 at the domain

More information about the wine-users mailing list