Wine has support serial and parallel ports. They work fine. In recent versions of wine you don’t even have to set anything up. Just run ls -l ~/.wine/dosdevices/com* after running something in wine to see what the com port number is for your device. The ttyACM and ttyUSB ports are USB serial ports. The ttyS ports are hardware serial ports and they will probably show up even if your computer doesn’t have any.
Not every applications runs in Wine. For example I didn't get USB devices (not storage, connection to a special device) running in Wine. And I can imagine that old serial connections and so are even more tricky.
cmnybo@discuss.tchncs.de 2 weeks ago
morto@piefed.social 2 weeks ago
Whoa, I didn’t know about it. Maybe I can run some legacy plc programming and industrial automation software using wine.
BlueKey@fedia.io 2 weeks ago
Huh, didn't know about that. I should try the application again.
TheCornCollector@piefed.zip 2 weeks ago
I got some weird specialised hardware over USB working via WinBoat. Might be an option for some.
BlueKey@fedia.io 2 weeks ago
Good to know, thx.
armandoenlachamba@piefed.social 2 weeks ago
Why would old serial connections be tricker in Wine? You would think they’d be easier since Wine started being developed when those were more prevalent.
BlueKey@fedia.io 2 weeks ago
Just a guess honestly
Truscape@lemmy.blahaj.zone 2 weeks ago
Something like Winboat would be more useful for edge cases like that.
frongt@lemmy.zip 2 weeks ago
Old serial is probably easier due to it being simpler.
Lembot_0006@programming.dev 2 weeks ago
Not all applications run on Windows either:)