Shearwater Petrel Bluetooth connection on Fedora 20
Rick Walsh
rickmwalsh at gmail.com
Sun Apr 12 06:23:30 PDT 2015
Hi,
I dived with my new Shearwater Petrel 2 today, and tried downloading
the dives to Subsurface. Unfortunately, it didn't work, on a
reasonably old laptop running Fedora 20 with KDE4.
I followed the directions in Appendix B of the manual to pair a
Bluetooth device, and bound the Petrel MAC to /dev/rcomm0. However, I
cannot download the dives. The saved libdivecomputer log is:
INFO: Open: name=/dev/rfcomm0
INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=1,
flowcontrol=0
INFO: Timeout: value=3000
INFO: Sleep: value=300
INFO: Flush: queue=3, input=0, output=0
INFO: Write: size=8, data=FF010400228010C0
INFO: Read: size=0, data=
ERROR: Failed to receive the response packet. [in
shearwater_common.c:314 (shearwater_common_transfer)]
ERROR: Failed to read the serial number. [in shearwater_petrel.c:169
(shearwater_petrel_device_foreach)]
ERROR: Input/output error (5) [in serial_posix.c:655 (serial_write)]
ERROR: Failed to send the request packet. [in shearwater_common.c:297
(shearwater_common_transfer)]
ERROR: Input/output error (5) [in serial_posix.c:202 (serial_close)]
I tried with both the onboard Bluetooth card, as well as the USB
Bluetooth dongle that came with the Petrel. Same result with either
controller.
I don't think it's a permissions issues, as /dev/rfcomm0 belongs to
the dialout group, of which I'm a member.
I'm running latest git of Subsurface, built using the build.sh script:
subsurface --version
Subsurface v4.4.1-379-g12b276d15c91, built with libdivecomputer
v0.5.0-devel-Subsurface-testing
(c7d4b3f6617a114d10f113e34eb14648c9dde11b)
This laptop also has Windows Vista installed, which I really would
rather not have to use. Under Windows I am able to download
successfully to either Subsurface (latest daily build
subsurface-4.4.1.370.exe) via COM5, or Shearwater Desktop.
Reading the mailing list, I understand I am not the only one who has
or at least issues with Bluetooth connectivity. Does anyone have any
suggestions, or can I help debug in any way?
Cheers,
Rick
More information about the subsurface
mailing list