RS485

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
giv86
Newbie
Newbie
Posts: 1
Joined: Thu Apr 23, 2015 4:10 am

RS485

Post by giv86 »

Hello guys!

I'm new here, and also new with linux, so please be gentle ;)

I have laready succesfully run my company software on Debian (great work with Wine!), right now i'm looking way to communicate with RS485 COM port. In software i only must to point a specific COM i would like to work with, and RS communications is starting on the fly.

How can i create virtual COM port for WINE?
Is this possible to use native raspbian GPIO ports for this?
cheako
Level 2
Level 2
Posts: 19
Joined: Sun Apr 26, 2015 11:33 pm

Re: RS485

Post by cheako »

Firstly wine is not an emulator, "worst case" it should be possible to make Linux syscalls. Write a native and builtin DLL, maintain two source copies of the DLL one for windows and one for wine. That's worst case and might be the simplest solution for your project.

See the users guide 4.3.1
https://www.winehq.org/docs/wineusr-gui ... -configure

Though I'm sure this was only tested, if at all, with RS232 ports.
Locked