Bluetooth nonfunctional
Willem Ferguson
willemferguson at zoology.up.ac.za
Sun May 13 12:00:01 PDT 2018
On 13/05/2018 20:31, Linus Torvalds wrote:
> On Sun, May 13, 2018 at 10:11 AM Willem Ferguson <
> willemferguson at zoology.up.ac.za> wrote:
>
>> I am currently without any way of downloading my Petrel 2 to Subsurface.
>> On the latest desktop master, I select Choose Bluetooth. I then force
>> download using Classic Bluetooth. No success. I activate the download
>> dumpfile and logfile. The logfile is empty, just with the header below.
>> There is no dumpfile.
>> Subsurface: v4.6.4-2174-g6f3c7386a62a, built with libdivecomputer
>> v0.7.0-devel-Subsurface-NG (e97a47cca55973199715df0f818b4955e60d3a31)
> According to the log, you're simply not connecting. And you have that
>
> Connection on channel 1 failed. Trying on channel number 5.
>
> hack, and I really wonder if it's just garbage, and the problem is that
> it's not on either of those ports, and we're just making it unnecessarily
> complicated - and getting it wrong - by specifying the channel number.
>
> Can you try the attached patch? I don't have any rfcomm devices to test
> with.
>
> Linus
Thank yo so much for your time, Linus. Nope, same error. Error bar at
bottom of Subsurface screen "Unsupported operation".
Bluez 5 detected.
Creating QtBluezDiscoveryManager
Discovered: "00:13:43:06:9D:75" "Petrel" Num UUIDs 1 total device 0
cached RSSI 0 Class 526084
Discovered: "00:13:43:5B:8F:BE" "Petrel" Num UUIDs 1 total device 1
cached RSSI 0 Class 526084
Discovered: "B8:D9:CE:F2:A0:63" "Lita Ferguson (GT-I9" Num UUIDs 13
total device 2 cached RSSI 0 Class 5898764
void QBluetoothDeviceDiscoveryAgentPrivate::stop()
Starting download from BT
Starting the thread 0
Failed to connect to device 00:13:43:5B:8F:BE . Device state
QBluetoothSocket::UnconnectedState . Error:
QBluetoothSocket::UnknownSocketError
Finishing the thread Unable to open %s %s (%s) dives downloaded 0
Starting download from BT
Starting the thread 0
Failed to connect to device 00:13:43:5B:8F:BE . Device state
QBluetoothSocket::UnconnectedState . Error:
QBluetoothSocket::UnknownSocketError
Finishing the thread Unable to open %s %s (%s) dives downloaded 0
The code is more efficient in retrieving bluetooth devices than Ubuntu
because it finds two historical bluetooth devices that do net even
appear on the Ubuntu bluetooth setup panel.
Kind regards,
willem
--
This message and attachments are subject to a disclaimer.
Please refer to
http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf
<http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf> for
full
details.
More information about the subsurface
mailing list