Bluetooth blues
Willem Ferguson
willemferguson at zoology.up.ac.za
Wed Sep 9 07:11:56 PDT 2015
I was trying to document the Bluetooth interface using a Shearwater
Petrel. Below is the console output of the three attempts. I had three
sessions:
1) Ubuntu 15.04
2) Fedora 22
3) Fedora 22
On Ubuntu, the first four of 37 dives were downloaded. On Fedora it
resulted in a segfault both times without any upload. I hope the text
below helps to find the problem. My procedure: Download -> from Dive
computer; set DC type to Shearwater Petrel; Check Bluetooth checkbox;
internal computer (Dell M4700) Bluetooth interface is seen and displayed
on right hand side of dialogue showing internal Bluetooth is switched
on; Scan for Bluetooth devices; Petrel shows on list; right-click on
Petrel line and select 'Pair'; Select 'save'; On download panel select
Download.
UBUNTU:
========
qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 25
error: -1 "Resource temporarily unavailable"
Connection on channel 1 failed. Trying on channel number 5.
Failed to connect to device 00:13:43:0D:1E:F5 . Device state
QBluetoothSocket::UnconnectedState . Error:
QBluetoothSocket::UnknownSocketError
[4.829207] ERROR: No such file or directory (2) [in serial_posix.c:159
(serial_open)]
[4.829225] ERROR: Failed to open the serial port. [in custom_serial.c:69
(dc_serial_native_open)]
[4.829235] ERROR: Failed to open the serial port. [in
shearwater_common.c:47 (shearwater_common_open)]
Set the current dive site: 0
qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 26
error: -1 "Resource temporarily unavailable"
Connection on channel 1 failed. Trying on channel number 5.
Failed to connect to device 00:13:43:0D:1E:F5 . Device state
QBluetoothSocket::UnconnectedState . Error:
QBluetoothSocket::UnknownSocketError
[5.347340] ERROR: No such file or directory (2) [in serial_posix.c:159
(serial_open)]
[5.347363] ERROR: Failed to open the serial port. [in custom_serial.c:69
(dc_serial_native_open)]
[5.347381] ERROR: Failed to open the serial port. [in
shearwater_common.c:47 (shearwater_common_open)]
Set the current dive site: 0
The connection on RFCOMM channel number 1 took more than expected. Wait
another 15 seconds.
qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 27
error: -1 "Resource temporarily unavailable"
Failed to connect to device 00:13:43:0D:1E:F5 . Device state
QBluetoothSocket::UnconnectedState . Error:
QBluetoothSocket::UnknownSocketError
[7.030518] ERROR: No such file or directory (2) [in serial_posix.c:159
(serial_open)]
[7.030530] ERROR: Failed to open the serial port. [in custom_serial.c:69
(dc_serial_native_open)]
[7.030537] ERROR: Failed to open the serial port. [in
shearwater_common.c:47 (shearwater_common_open)]
Set the current dive site: 0
FEDORA 22:
===========
[willem at localhost build]$ ./subsurface
pci id for fd 10: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
Map theme file does not exist: ""
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No
such file or directory
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
qt.bluetooth.bluez: Bluez 5 detected.
qt.bluetooth.bluez: Creating QtBluezDiscoveryManager
qt.bluetooth.bluez: Discovered: "B8:D9:CE:F2:A0:63" "Willem Ferguson
(GT-I9" Num UUIDs 13 total device 0 cached RSSI 0 Class 5898764
qt.bluetooth.bluez: Discovered: "00:13:43:0D:1E:F5" "Petrel" Num UUIDs
1 total device 1 cached RSSI -63 Class 0
qt.bluetooth.bluez: Initiating direct pair to "00:13:43:0D:1E:F5"
qt.bluetooth.bluez: Sending pairing request to "00:13:43:0D:1E:F5"
qt.bluetooth.bluez: void QBluetoothDeviceDiscoveryAgentPrivate::stop()
qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 11
error: -1 "Resource temporarily unavailable"
qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 11
error: -1 "Resource temporarily unavailable"
[10.261356] ERROR: No such file or directory (2) [in serial_posix.c:159
(serial_open)]
[10.261365] ERROR: Failed to open the serial port. [in
custom_serial.c:69 (dc_serial_native_open)]
Segmentation fault (core dumped)
FEDORA 22:
===========
[willem at localhost build]$ ./subsurface
pci id for fd 10: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
Map theme file does not exist: ""
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No
such file or directory
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
qt.bluetooth.bluez: Bluez 5 detected.
qt.bluetooth.bluez: Creating QtBluezDiscoveryManager
qt.bluetooth.bluez: Discovered: "00:13:43:0D:1E:F5" "Petrel" Num UUIDs
1 total device 0 cached RSSI 0 Class 0
qt.bluetooth.bluez: Discovered: "B8:D9:CE:F2:A0:63" "Willem Ferguson
(GT-I9" Num UUIDs 13 total device 1 cached RSSI 0 Class 5898764
qt.bluetooth.bluez: void QBluetoothDeviceDiscoveryAgentPrivate::stop()
qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 15
error: -1 "Resource temporarily unavailable"
[5.129359] ERROR: No such file or directory (2) [in serial_posix.c:159
(serial_open)]
[5.129368] ERROR: Failed to open the serial port. [in custom_serial.c:69
(dc_serial_native_open)]
Segmentation fault (core dumped)
[willem at localhost build]$
Kind regards,
willem
More information about the subsurface
mailing list