[Wine] Heavy Weather / Serial Port issues

Detlef Riekenberg wine-users at web.de
Sun May 27 07:31:23 CDT 2007

On Do, 2007-05-10 at 22:37 -0500, Dan Armbrust wrote:
> The only options it gives me is choosing which comm port 
> to connect to - no speed settings.

That is bad.

> Are there any flags I can use to force wine to use a faster baud rate?

The serial settings in wine are binary and in the wrong location.

use this small app (ConfigurePort.c):
--- cut ---
 * ConfigurePort.c 
 * Copyright 2007 by Detlef Riekenberg
 * License: LGPL 2 or above
#define WINE_TRACE printf("%s:%d: ", __func__, __LINE__); \

#include <windows.h>
#include <stdio.h>

int main(int argc, char **argv)
    DWORD   res;

    if (argc < 2) {
        WINE_TRACE("%s portname\n", argv[0]);
    res = ConfigurePort(NULL, NULL, argv[1]);
    WINE_TRACE("got %u with %u\n", res, GetLastError());

--- cut ---
i586-mingw32msvc-gcc -o ConfigurePort.exe ConfigurePort.c -lwinspool

> And yes, it did previously work - kinda.  At least better than now.

wine reported always "38400,n,8,1", but that was fixed on 26 Feb 2007.

> This machine just isn't fast enough for me to take the time 
> to build older wine releases on it for testing.

You can use a binary Realease.

By by ... Detlef

More information about the wine-users mailing list