I have some software which runs on Windows. I installed Wine and ran it in Linux. It works fine but the issue is it communicates with a serial port. Therefore the only option I can choose are com1
, com2
, …
But my device on the Linux machine is actually located at the /dev/ttyUSBn
location. How do I use the above software in Linux Ubuntu?
I have tried ln -s /dev/ttyUSBn COM1
in the ~/.wine/dosdevices/
. It does not appear to work.
Best Answer
Starting from Wine 2.8, the simple symlink-editing method of configuration doesn't work. One has to configure COM ports by editing Wine registry. From Wine User's Guide/Other Things to Configure/Serial and Parallel Ports: