Using USB-Serial adapter with WINE

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/com1

And

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com

With no luck. How do I go about fixing this issue? Best regards.

1

1 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:

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like