I am trying to connect my Sweep to a BeagleBone Blue. When I run example-c program from the Sweep SDK, the connection hangs. If I unplug the Sweep while it's hung I get: "Error: flushing the serial port failed"
I have the Sweep connected to the bbb through a 2.5A usb 2.0 hub. I have verified that this setup works with my mac and with an Ubuntu VM, both with libsweep and the Sweep Visualizer.
The Sweep is spinning. I can see the serial port (/dev/ttyUSB0) and lsusb gives:
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 003: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[ 36.262968] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 36.263295] ftdi_sio 1-1.5:1.0: FTDI USB Serial Device converter detected
[ 36.263567] usb 1-1.5: Detected FT-X
[ 36.342042] usb 1-1.5: FTDI USB Serial Device converter now attached to ttyUSB0
Is this a FTDI driver version issue? Any help/debugging tips would be appreciated.