Perdix AI on Linux

Dirk Hohndel dirk at hohndel.org
Thu Jun 29 15:01:54 PDT 2017


Hi Linus,

Trying to download from the Perdix AI on Linux. Running on an oldish Thinkpad
with the USB BT 4.0 dongle that you recommended.


$ ldd subsurface | grep Qt5Network
	libQt5Network.so.5 => /home/hohndel/Qt5.9.0/5.9/gcc_64/lib/libQt5Network.so.5 (0x00007f6f69dc8000)

This is the stock Qt 5.9 as downloaded from qt.io

It scans and finds the Petrel AI just fine. Download attempt results in:
[...]
qt.bluetooth.bluez: Bluez 5 detected.
qt.bluetooth.bluez: Creating QtBluezDiscoveryManager
[...]
qt.bluetooth.bluez: Discovered:  "E4:3B:31:49:F5:D0" "Perdix" Num UUIDs 1 total device 5 cached RSSI -59 Class 0
[...]
qt.bluetooth.bluez: Updating RSSI for "FE:FD:99:6C:DD:F5" QVariant(short, -79)
qt.bluetooth.bluez: Initiating direct pair to "E4:3B:31:49:F5:D0"
qt.bluetooth.bluez: Sending pairing request to "E4:3B:31:49:F5:D0"
qt.bluetooth.bluez: void QBluetoothDeviceDiscoveryAgentPrivate::stop()
Starting download from  BT
Starting the thread 0
INFO: FTDI disabled
qt.bluetooth.bluez: Enabling GATT request timeout behavior 20000
qt_ble_open( E4:3B:31:49:F5:D0 )
qt.bluetooth.bluez: Unknown l2cp socket error:  QBluetoothSocket::UnknownSocketError "Device or resource busy"
qt.bluetooth.bluez: No settings found for peer device.
failed to connect to the controller  E4:3B:31:49:F5:D0 with error "Unknown Error"
[0.009786] ERROR: Failed to open the serial port. [in ../../src/shearwater_common.c:46 (shearwater_common_open)]


Any ideas?

/D


More information about the subsurface mailing list