Day: July 26, 2019

Getting the Serial Port working on WINE 4.0

I already used serial port on windows program running on Linux using wine: https://acassis.wordpress.com/2014/10/05/how-to-install-x-ctu-on-linux-using-wine/

But unfortunately the symbolic link ~/.wine/dosdevices/com1 pointing to /dev/ttyUSB0 was not working.

After spending some hours trying to fix this issue I found the solution! I need to run “wine regedit” and create a string entry named “COM1” with the value “/dev/ttyUSB0” inside HKEY_LOCAL_MACHINE\Software\Wine\Ports.

I found this solution thanks to this post: https://www.scivision.dev/wine-serial-port-links/