views:

275

answers:

1

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 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 ceveats concerning Vbox serial/usb so that I can consider switching to a real Linux install.

A: 

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

whatnick