Open Ziemowit opened 8 years ago
I'm in the same boat - I have to use bluetoothctl application, and type 'select 5C:F3:70:6D:7A:F9' to make bluetoothd use the right controller as default
I have been a bit overwhelmed the last two weeks. I will go trough all the feedback and make a new release as soon as possible!
Heh thanks. After select appropriate adapter and turn on scanning via bluetoothctl it works.
@fabianbergmark maybe the logic should be like:
allBluetoothControllers.filter( e.controllerCanHandleBluetoothVersion_4_0() ).findFirst()?
or
allBluetoothControllers.filter( e -> e.isRunning() && e.controllerCanHandleBluetoothVersion_4_0() ).findFirst()?
But as the owner of the code for sure You know better! :) Thanks for willing to fix it!
Is there any update according to this issue?
Hi!
I have the newest up-to date Ubuntu 15.10. My PC has built in bluetooth controller 2.1. I have bought also USB bluetooth controller stick 4.0 which is compatible with Your button to be able to connect with it.
Everything is working on my 1st computer where I have no built in bluetooth. So only USB bluetooth used (version 4.0). But on my 2nd computer when built in bluetooth exists (version 2.1) it does not even if I plug in USB bluetooth (version 4.0)...
$: hciconfig -a
When I do startScan no error appears:
but clicking on the button gives nothing. Button is not scanned...
When I am checking the output of the bluetooth service it seems that only old controller is used for scanning (hci1 type 1 discovering 1 method 0 - no information about discovering by hci0) :
My thought was - hmm maybe it uses wrong controller for scan. SO I do:
sudo hciconfig hci1 down
to make down this old 2.1 controller and leave up hci0. But then when I make startScan I receive error:
Failed to start scan: GDBus.Error:org.bluez.Error.NotReady: Resource Not Ready, 36
Why it returns error when 2nd controller (bluetooth 4.0) is still up and ready for use?
I don't have any idea where the problem on the 2nd computer may be :/ Did I provide enough amount of information?