How to use serial port on Linux with wineHQ ?

Questions about Wine on Linux
Locked
henryhsu
Newbie
Newbie
Posts: 1
Joined: Wed Oct 04, 2023 5:42 pm

How to use serial port on Linux with wineHQ ?

Post by henryhsu »

Hi,
I have a Windows app that use UART interface to control a remote device, the Windows app opens a COM port (COM3, COM4...) device to communicate with the remotes device, how can I run this Windows app on Linux system using wineHQ?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How to use serial port on Linux with wineHQ ?

Post by jkfloris »

The Wine user manual has a chapter on how to configure COM ports in Wine.

It is important to know what the name of the port is in Linux (/dev/ttyxxx)
and that the user has read and write permissions to the port (probably member of the dialout group.
Locked