OSTC Sport bluetooth problem with Linux

Stephen Hemminger stephen at networkplumber.org
Mon Apr 3 18:58:28 PDT 2017


On Tue, 4 Apr 2017 11:18:51 +1000
Rick Walsh <rickmwalsh at gmail.com> wrote:

> Hi Stephen,
> 
> On 4 April 2017 at 11:06, Stephen Hemminger <stephen at networkplumber.org>
> wrote:
> 
> > I am running Debian Stretch with current AppImage version of Subsurface.
> > Trying to download dives from OSTC Sport.
> >
> > The Bluetooth pairing is successful and the rfcomm connection comes up,
> > but the serial port won't open.
> >
> > # rfcomm -i hci0 connect rfcomm0 00:80:25:4A:10:77 1
> > Connected /dev/rfcomm0 to 00:80:25:4A:10:77 on channel 1
> > Press CTRL-C for hangup
> > [0.003838] ERROR: Input/output error (5) [in ../../src/serial_posix.c:198
> > (dc_serial_open)]
> > [0.003927] ERROR: Failed to open the serial port. [in
> > ../../src/hw_ostc3.c:344 (hw_ostc3_device_open)]
> >
> >
> > Possibly related dmesg
> > [  482.059744] Bluetooth: TIOCGSERIAL is not supported
> > [  482.060272] Bluetooth: TIOCGSERIAL is not supported
> > [  488.060994] Bluetooth: TIOCGSERIAL is not supported
> >
> > Running stock Debian kernel which is 4.9..
> >  
> 
> Instead of rfcomm, have you tried using the "native" Bluetooth support in
> Subsurface to connect to your dive computer.  It is much easier and
> generally more reliable.  See section 5.2.2 of the user manual
> https://subsurface-divelog.org/documentation/subsurface-4-user-manual/

Native bluetooth worked successfully, thanks.

> If that fails, please run subsurface -vv from the command line, try using
> the native Bluetooth support and post the terminal output here.
> 
> Do you have onboard Bluetooth device or a dongle?  Just one device
> connected?  You may need to activate Bluetooth with whatever desktop
> environment tool you have prior to using the Subsurface Bluetooth dialog.


Native laptop bluetooth probably Atheros.




More information about the subsurface mailing list