I didn't Cc this to the developer mailing list because that usually causes more pain than it helps... But would someone with more experience in the Bluetooth code have a moment to look at this issue? Looking at qtserialbluetooth.cpp it seems like we should be trying channel 5 if channel 1 fails, but the log below seems to indicate we don't...
/D > Begin forwarded message: > > From: Dirk Hohndel <[email protected]> > Subject: Re: Shearwater 2 and linux > Date: March 19, 2016 at 2:15:18 PM PDT > To: [email protected] > Reply-To: [email protected] > > The Shearwater Petrel 2 responds on channel 5 and not channel 1. I thought > Subsurface was set to switch to channel 5 but from the log it doesn't look > like this works. > > Let's fall back on the old, non-native communication for a moment... > > Can you follow the instructions in the FAQ > https://subsurface-divelog.org/faq/ <https://subsurface-divelog.org/faq/> > Please look for the question "How do I download dives from my Shearwater > Petrel 2 (or other Bluetooth dive computer) on Linux?" > (it seems there's no way to send you a link that goes straight to that > question... odd) > > This describes the manual way to set up an rfcomm channel for the Shearwater > Petrel 2 - you then DON'T select bluetooth in Subsurface but pick the rfcomm > serial port as described in the FAQ. My guess is that this will work. > > Next we need to figure out why Subsurface 4.5.4 doesn't do the right thing > for you... > > /D > >> On Mar 19, 2016, at 2:01 PM, Marc Collin <[email protected] >> <mailto:[email protected]>> wrote: >> >> same issue... >> >> from console mode (started subsurface from command line) >> >> qt.bluetooth.bluez: Bluez 5 detected. >> qt.bluetooth.bluez: Creating QtBluezDiscoveryManager >> qt.bluetooth.bluez: void QBluetoothDeviceDiscoveryAgentPrivate::stop() >> The connection on RFCOMM channel number 1 took more than expected. Wait >> another 15 secon >> ds. >> qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 21 error: >> -1 "Ressourc >> e temporairement non disponible" >> Failed to connect to device 00:13:43:0E:6C:C2 . Device state >> QBluetoothSocket::Unconne >> ctedState . Error: QBluetoothSocket::UnknownSocketError >> >> qt.bluetooth.bluez: void QBluetoothDeviceDiscoveryAgentPrivate::stop() >> The connection on RFCOMM channel number 1 took more than expected. Wait >> another 15 secon >> ds. >> qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 21 error: >> -1 "Ressourc >> e temporairement non disponible" >> Failed to connect to device 00:13:43:0E:6C:C2 . Device state >> QBluetoothSocket::Unconne >> ctedState . Error: QBluetoothSocket::UnknownSocketError >> >> same issue with kernel 4.5 and 4.4.3 >> >> maybe bluetooth issue. >> >> Le samedi 19 mars 2016 14:40:01 UTC-4, Dirk a écrit : >> I wonder if it makes any difference if you go there from the download >> dialog... >> So exit Subsurface, go to download (ctrl-D or via the menu), select >> Bluetooth download mode, select the Petrel and Save, then try the download. >> >> Possibly (even though that shouldn't make a difference), click on the Petrel >> and select unpair and then pair again in that screen before you save. >> >> /D >> >>> On Mar 19, 2016, at 11:28 AM, Marc Collin <[email protected] >>> <javascript:>> wrote: >>> >>> >>> you can pass by dive computer configuration to go to bluetooth device >>> selection.... this is what i done... >>> >>> <https://lh3.googleusercontent.com/-W1h2JCgw1n4/Vu2aBxU5ZKI/AAAAAAAAD-s/l2qsY_05zq8ZrK3dHRT3wL8WFJZswhCgg/s1600/subsurface1.png> >>> >>> >>> >>> Le samedi 19 mars 2016 14:12:50 UTC-4, Dirk a écrit : >>> In both screen shots you have the dive computer configuration screen open - >>> you realize that that doesn't support the Shearwater Petrel / Petrel 2 / >>> Perdix, yet. >>> >>> Can you show the bluetooth device selection screen? >>> >>> /D >>> >>>> On Mar 19, 2016, at 10:42 AM, Marc Collin <[email protected] <>> wrote: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> <https://lh3.googleusercontent.com/-1IdS56p-244/Vu2PC7ksc8I/AAAAAAAAD-c/B7Uykg79ULMNs_6Rnl5g4mMHbUt873g1w/s1600/subsurface-win.png> >>>> >>>> I get the same error in windows. >>>> >>>> >>>> >>>> Dive computer is ok because with shearwater desktop, that work fine. >>>> >>>> >>>> >>>> Le samedi 19 mars 2016 12:15:04 UTC-4, Marc Collin a écrit : >>>> I use Subsurface 4.5.4 >>>> Opensuse tumbleweed >>>> Shearwater 2 >>>> >>>> Like you can see on the picture, >>>> >>>> petrel 2 is paired, subsurface is connected to device, when i try to >>>> download log, i get unable to open.... Shearwater (Petrel 2) >>>> >>>> >>>> <https://lh3.googleusercontent.com/-Eu6DTpKsdwU/Vu16UyRTFKI/AAAAAAAAD-M/GBNtrKPj13ASIKvlbBDt1KKmdGx5j3mfg/s1600/subsurface.png> >>>> >>>> >>>> <https://lh3.googleusercontent.com/-Eu6DTpKsdwU/Vu16UyRTFKI/AAAAAAAAD-M/GBNtrKPj13ASIKvlbBDt1KKmdGx5j3mfg/s1600/subsurface.png> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "Subsurface Divelog" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an >>>> email to [email protected] <>. >>>> To post to this group, send email to [email protected] <>. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/subsurface-divelog/fa0f5789-3c53-495a-a935-8c201b3a2083%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/subsurface-divelog/fa0f5789-3c53-495a-a935-8c201b3a2083%40googlegroups.com?utm_medium=email&utm_source=footer>. >>>> For more options, visit https://groups.google.com/d/optout >>>> <https://groups.google.com/d/optout>. >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Subsurface Divelog" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected] <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/subsurface-divelog/0595c0c4-9a8d-4643-b6ac-9c6cbf272b3c%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/subsurface-divelog/0595c0c4-9a8d-4643-b6ac-9c6cbf272b3c%40googlegroups.com?utm_medium=email&utm_source=footer>. >>> For more options, visit https://groups.google.com/d/optout >>> <https://groups.google.com/d/optout>. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Subsurface Divelog" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/subsurface-divelog/23ef8c98-2a7d-4197-a40a-d5629ed73e93%40googlegroups.com >> >> <https://groups.google.com/d/msgid/subsurface-divelog/23ef8c98-2a7d-4197-a40a-d5629ed73e93%40googlegroups.com?utm_medium=email&utm_source=footer>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > > -- > You received this message because you are subscribed to the Google Groups > "Subsurface Divelog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/subsurface-divelog/26FE0012-77D0-4323-BD33-E89D59251D99%40hohndel.org > > <https://groups.google.com/d/msgid/subsurface-divelog/26FE0012-77D0-4323-BD33-E89D59251D99%40hohndel.org?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>.
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
