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@winehq.org ReportedBy: winehq@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-you...
http://bugs.winehq.org/show_bug.cgi?id=34497
Eric Christensen eric@christensenplace.us changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric@christensenplace.us
http://bugs.winehq.org/show_bug.cgi?id=34497
Helder 'Lthere' Magalhães helder.magalhaes@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |helder.magalhaes@gmail.com
--- Comment #1 from Helder 'Lthere' Magalhães helder.magalhaes@gmail.com --- This seems to be a duplicate of Bug 1700 (in particular, see Bug 1700 comment 13).
https://bugs.winehq.org/show_bug.cgi?id=34497
--- Comment #2 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=34497
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |austinenglish@gmail.com, | |winetest@luukku.com
--- Comment #3 from winetest@luukku.com --- Indeed seems dupe, but Does wine contain all the fields mentioned at commment 1?
https://bugs.winehq.org/show_bug.cgi?id=34497
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com Keywords| |hardware
https://bugs.winehq.org/show_bug.cgi?id=34497
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |serial
https://bugs.winehq.org/show_bug.cgi?id=34497
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- This was opened three years after the other bug was closed, but then we have no idea what version of Wine the OP was using.
Nonetheless the OP hasn't responded in ten years, so who's going to test the fix?
https://bugs.winehq.org/show_bug.cgi?id=34497
--- Comment #5 from Paul Sladen winehq@paul.sladen.org --- How would you wish the OP to respond? ;-)
The ground debugging was done by Doug Brown, using another piece of other unrelated piece of software that enumerates available [serial] ports, by first requesting the "FriendlyName" for each available port.
All software that uses such mechanisms will fails when both a "FriendlyName" and "PortName" have not been automatically provided by Wine.
Yes, it is probably a terrible method; but that's also the reality...