I want to use a USB-Serial adapter like this:
With Wine, to configure/program a skateboard ESC.
I've downloaded Wine and gotten the program running like this:
So the program is a little cut of, and then you can also see that the Serial adapter is not recognized!
I-ve tried using the command
ln -s /dev/tty0 ~/.wine/dosdevices/com1And
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com
With no luck. How do I go about fixing this issue? Best regards.
11 Answer
Your attempted solution of
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1
would have worked in earlier versions of Wine. This changed in Wine 2.8, now you need to manage the mapping using RegEdit.
WINEPREFIX=~/.wine wine regedit
Add a string entry under HKEY_LOCAL_MACHINE\Software\Wine\Ports with a key of COM1 and a value of /dev/ttyUSB0.
This problem is called out specifically in this blog post:
And also mentioned in the official user guide: