Trying to use a COM port with a Windows program running in Wine

Good morning,

I am now running Zorin 17.2 Core for about half a year now. Of course there is still a lot to learn but I am improving bit by bit. My system is still a dual boot Windows 10 / Zorin 17.2 system which mostly I run in Linux mode.

There is however one program which works fine under Windows and so far I have not got it to work in Linux. It is a slightly outdated Windows program which communicates with an external device on a Windows COM port at 19200 baud.
Within Windows a USB to serial driver is installed which let this program use a USB cable to communicate with the device.

When plugged in and running Zorin, I have found the device when running lsusb in the terminal:

Bus 002 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 003: ID 056a:00b7 Wacom Co., Ltd PTZ-431W [Intuos3 (4x6)]
Bus 003 Device 002: ID 0461:0010 Primax Electronics, Ltd HP PR1101U / Primax PMX-KPR1101U Keyboard
Bus 003 Device 011: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

It is the future Technology Devices International on Bus 003 Device 11. This device number increases each time I unplug and plug the device in again.

I have tried adding a COM3 entry in HKEY_LOCAL_MACHINE\Software\Wine\Ports with value /dev/ttyUSB0 using the wine regedit program. As a Windows user since 3.11 I am quite familiar with the windows registry.

This had no effect however.

I also installed minicom and set the ttyUSB0 as a serial device with 19200 baudrate but this did not help either.

There is a lot of communication about wine com ports and Linux which is quite overwhelming and most are still above my experience level in Linux.

It comes down to the following questions:

  1. Do I use regedit or a symbolic link to connect COM3 (or any other port) to /dev/ttyUSB0 and is this indeed the right device name? It does not make sense from my lsusb output above.
  2. How can I set the UART settings for this COM port as the hardware device expects 19200 baud?

As all works well in Windows 10, I can rule out any USB cable issues.

Any help is greatly appreciated!

Alex

Well,

The issue has been solved. It seems that, by installing a different program, the original program worked straight away. And even after uninstalling the 'different program' it kept on working. I don't know what has changed but the issue has been solved.