[Bug 34497] New: ProAIS2 Serial Port enumeration requires Registry Local_Machine/=?UTF-8?Q?=E2=80=A6?=/Enum/SERIAL/COM1/COM1/*

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 12 09:37:22 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34497

             Bug #: 34497
           Summary: ProAIS2 Serial Port enumeration requires Registry
                    Local_Machine/…/Enum/SERIAL/COM1/COM1/*
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: winehq at paul.sladen.org
    Classification: Unclassified


ProAIS2 (Marine AIS software from SRT in the UK, and re-badged by large numbers
of OEMs) performs Serial Port detection by enumerating the registry.  The
following keys need to be added:

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\SERIAL\COM1\COM1]
"ClassGUID"="{4D36E978-E325-11CE-BFC1-08002BE10318}"
"FriendlyName"="Serial Port (COM1)"
"PortName"="COM1"

in addition to the matching

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1

If only the ClassGUID/FriendlyName are set, then the port will be found, but
immediately switched to in-case.  PortName is being prefixed with "\\.\"
("\\\\.\\") to form "\\.\COM1".

Kudos to Doug Brown for tracking down most of the issue:

 
http://www.downtowndougbrown.com/2013/03/getting-x-ctu-in-wine-to-detect-your-serial-ports/

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list