https://bugs.winehq.org/show_bug.cgi?id=43750
Bug ID: 43750 Summary: USB "ttyACM0" serial port not being created Product: Wine Version: 2.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: phoenix-precision@gmx.co.uk Distribution: ---
I have followed the new instructions at https://wiki.winehq.org/Wine_User%27s_Guide#Serial_and_Parallel_Ports, to use a Neo 7 GPS module.
I had to create the registry key HKLM\Software\Wine\Ports as it did not already exist. I added a string value "COM1" with the data /dev/ttyACM0, ran wineserver -k and started my application (u-center from https://www.u-blox.com/sites/default/files/ublox-GNSS_u-center_windows_v8.25... )
ls -l .wine/dosdevices shows the same four standard com ports as normal, no change.
Next I deleted com1 and manually created the link to /dev/ttyACM0. When I restarted wine the link had been replaced by the standard one again.
I also attempted to create COM5 via the registry key HKLM\HARDWARE\DEVICEMAP\SERIALCOMM, but Wine is having none of it and deletes it when re-started.
By starting the application and then manually creating the COM port link I am able to use my device, so there is nothing wrong there. It is purely the mapping of COM ports which is the problem.