开发者

Linux Serial Port Communications Timeouts - VirtualBox passthrough

I am using Virtual Box USB passthrough features to attach a serial port to Ubuntu (/dev/ttyUSB0). This port is used to communicate with a 3dm-gx2 IMU. The same port works with the vendor supplied Windows code where they set specifically send/receive buffers and timeouts. I can't get the serial port to function from Linux (Need it for deployment on an embedded system eventually). Is开发者_StackOverflow中文版 there a way to set the send/receive buffers etc. via the termios API?

Any Linux working code for the 3DM will be highly valued. Also any caveats concerning Vbox serial/usb so that I can consider switching to a real Linux install.


The acceptable technique for timeouts is the VTIME property. The IMU works with VTIME setting of 10.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜