[gnome-bluetooth] No Bluetooth Found, Plug in a dongle to use Bluetooth

Bjørn Forsman bjorn.forsman at gmail.com
Fri Jul 29 14:06:21 EDT 2016


On 29 July 2016 at 18:50, Bastien Nocera <hadess at hadess.net> wrote:
> On Fri, 2016-07-29 at 18:48 +0200, Bjørn Forsman wrote:
>> On 29 July 2016 at 16:23, Bjørn Forsman <bjorn.forsman at gmail.com>
>> wrote:
>> > On 29 July 2016 at 14:28, Bastien Nocera <hadess at hadess.net> wrote:
>> > > [...snip...]
>> > > It works fine in Fedora, and I have no idea why it fails to work
>> > > for
>> > > you. Try the tests in the lib/ sub-directory of gnome-bluetooth,
>> > > and
>> > > see whether there's problems there.
>> >
>> > Thanks. I'll report back if I find something interesting. (But this
>> > smells like a packaging issue in NixOS and Ubuntu at the moment).
>>
>> I created a new VirtualBox VM and installed
>> Fedora-Workstation-Live-x86_64-24-1.2.iso (the currently recommended
>> download). Then I redirected my bluetooth dongle to the VM and
>> verified that "bluetoothctl" sees my device:
>>
>>   [bfo at localhost ~]$ bluetoothctl
>>   [NEW] Controller F4:06:69:34:AF:93 localhost.localdomain [default]
>>   [bluetooth]#
>>
>> But, "gnome-control-center bluetooth" doesn't see the dongle. It
>> shows
>> the same "No Bluetooth Found, Plug in a dongle to use Bluetooth"
>> message in the GUI (and the greyed out on/off button).
>
> Did you update after booting?

As in system update in Fedora? Nope. Just clean install + VirtualBox
Guest Addons and Vim, followed by a reboot.

> Is the adapter powered?
>
> The output of "hciconfig hci0" should tell you.

  [bfo at localhost ~]$ hciconfig hci0
  hci0: Type: BR/EDR  Bus: USB
  BD Address: F4:06:69:34:AF:93  ACL MTU: 1021:5  SCO MTU: 96:6
  DOWN
  RX bytes:679 acl:0 sco:0 events:45 errors:0
  TX bytes:982 acl:0 sco:0 commands:45 errors:1

Is the text "DOWN" an indicator that it's not powered? (I'm not
familiar with the tool.)

Trying to look for power related sub-commands:

  [bfo at localhost ~]$ hciconfig --help | grep -i power
  inqtpl     [level] Get/Set inquiry transmit power level

The above seems irrelevant to me.

Up'ing the device:

  [bfo at localhost ~]$ sudo hciconfig hci0 up

  [bfo at localhost ~]$ hciconfig hci0
  hci0: Type: BR/EDR  Bus: USB
  BD Address: F4:06:69:34:AF:93  ACL MTU: 1021:5  SCO MTU: 96:6
  UP RUNNING PSCAN ISCAN
  RX bytes:1289 acl:0 sco:0 events:81 errors:0
  TX bytes:1684 acl:0 sco:0 commands:81 errors:1

but "gnome-control-center bluetooth" is still "greyed out".

"bluetoothctl" finds my phone, so the basic bluetooth stack is
definitely working:

  [bluetooth]# scan on
  Discovery started
  [CHG] Controller F4:06:69:34:AF:93 Discovering: yes
  [NEW] Device 40:B8:37:64:88:C8 Bjørns Xperia Z5 Compact
  [CHG] Device 40:B8:37:64:88:C8 RSSI: -65

Doing "sudo dnf upgrade" now, in case there are some fixes for gnome-bluetooth.

-- 
Bjørn Forsman


More information about the gnome-bluetooth mailing list