开发者

Serial port access error in WINE

开发者 https://www.devze.com 2023-01-14 12:12 出处:网络
I have a setup in which i use a USB serial adapter + some applicationwhich sends and receives data using that serial usb. But this setup which works on a Windows, or even in a VMWare Virtual windows,

I have a setup in which i use a USB serial adapter + some applicationwhich sends and receives data using that serial usb. But this setup which works on a Windows, or even in a VMWare Virtual windows, does not work under WINE. IT transmits data but i cannot receive data. The cable and the applications are same as in the working and non-working scenarios. I guess The fact that the application works over the USB serial cable just as fine under Virtual Windows(VMware running on linux) by mapping /dev/ttyUSB to the com port, no external software/DLL needed, means it does not need any specific driver. (Am i correct in this assumption that application doesnt need any driver?)

(I also tried with a different setup(different USB serial adapter + different application under WINE, but even that does not work under WINE, but it 开发者_如何学Goworks fine under WIndows/Virtual Windows)

How can i get it working under WINE?

Any pointers appreciated.


Never tried wine with a serial port, but this could help:

cd .wine/dosdevices
ln -s /dev/ttyUSB0 com1
0

精彩评论

暂无评论...
验证码 换一张
取 消