On 04 April, 2017 - Rick Walsh wrote: > Hi Stephen, > > On 4 April 2017 at 11:06, Stephen Hemminger <[email protected]> > 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/ > > 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. > > > > PS: Is bluetooth always this much of a a pain or is it just Linux?
Bluetooth comes with its own set of problems. Another thing to try is a fresh battery in your device. I've seen quite a few times that a battery which can run the main micro can't power the bluetooth chip reliably. //Anton -- Anton Lundin +46702-161604 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
