如何为Wine中运行的Windows程序配置USB串口参数?

如何为Wine中运行的Windows程序配置USB串口参数?

我有一台小型 CNC 机器,由自定义的 Windows 软件通过 USB 控制,我希望能够从 Linux 运行它。该软件在 Wine 下加载良好,但看不到机器。我认为问题是我需要使用一些特定参数设置 USB 串行连接,这些参数总结如下(完整详细信息这里)。我已经创建了一个从/dev/ttyUSB0到 的符号链接~/.wine/dosdevices/COM5。如何使我的 USB 串行端口在 Wine 中按照这些说明中的指定运行?

从上面的链接复制

- Change the COM Port Number to COM5 or COM6 (ignore warnings that the port may be in use)
- Change the Receive buffer size from 4096 to 64
- Change the Transmit buffer size from 4096 to 64
- Change the Latency Timer from 16 to 8

相关内容