Re: Heavy Weather / Serial Port issues

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

 



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__); \
                   printf


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

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

    if (argc < 2) {
        WINE_TRACE("%s portname\n", argv[0]);
        exit(1);
    }
    SetLastError(0xdeadbeef);
    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



_______________________________________________
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