You are not logged in.

#1 2017-11-15 09:21:12

brack11
Member
Registered: 2016-03-25
Posts: 17

[SOLVED] Bluetooth "No default controller available"

I have problem with Bluetooth on my laptop, everything worked on windows but doesnt work on Linux. Here is outputs of a few commands:

# rfkill list all
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
# hcitool dev
Devices:
# bluetoothctl
[bluetooth]# list
[bluetooth]# show
No default controller available
[bluetooth]# agent on
Agent registered
[bluetooth]# list
[bluetooth]# power on
No default controller available
[bluetooth]# 
# lspci | grep -i blue
(nothing)

If any other outputs required, I will add them here. Could someone help to solve this issue?

Last edited by brack11 (2017-11-17 16:39:18)

Offline

#2 2017-11-15 10:20:25

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: [SOLVED] Bluetooth "No default controller available"

What does this command say?

systemctl status bluetooth

& try

sudo systemctl start bluetooth

https://wiki.debian.org/BluetoothUser

Offline

#3 2017-11-15 11:10:53

brack11
Member
Registered: 2016-03-25
Posts: 17

Re: [SOLVED] Bluetooth "No default controller available"

$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
   Active: active (running) since Wed 2017-11-15 11:28:20 CET; 35min ago
     Docs: man:bluetoothd(8)
 Main PID: 10073 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─10073 /usr/lib/bluetooth/bluetoothd

I have followed https://wiki.debian.org/BluetoothUser but nothing helped. When I try to power on bluetooth at bluetoothctl I get "No default controller available" and https://wiki.debian.org/BluetoothUser doesnt describe this error

Offline

#4 2017-11-15 11:58:41

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 649

Re: [SOLVED] Bluetooth "No default controller available"

^Please post output of

$ lspci

Furthermore: what is the laptop model?

Finally: please chekc in BIOS (or UEFI) that the Bluetooth is enabled.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#5 2017-11-15 14:21:16

brack11
Member
Registered: 2016-03-25
Posts: 17

Re: [SOLVED] Bluetooth "No default controller available"

$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Qualcomm Atheros AR8162 Fast Ethernet (rev 10)
02:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)

As I understand Network controller also serves Bluetooth. It is laptop Lenovo g580

Bluetooth in bios is fine because I didnt change anything there since I install linux over windows, and bluetooth was working in windows

EDIT: I have checked the Bios and didn find any setting for Bluetooth

Last edited by brack11 (2017-11-15 14:31:50)

Offline

#6 2017-11-15 15:56:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] Bluetooth "No default controller available"

brack11 wrote:
02:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)

Which kernel driver is in use for that device (`lspci -k` will show this information)?

I think it should be the wl driver so if it's anything else then that may be your problem.

https://wiki.debian.org/wl


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#7 2017-11-15 21:03:25

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 649

Re: [SOLVED] Bluetooth "No default controller available"

^This.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#8 2017-11-16 09:33:50

brack11
Member
Registered: 2016-03-25
Posts: 17

Re: [SOLVED] Bluetooth "No default controller available"

Head_on_a_Stick wrote:
brack11 wrote:
02:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)

Which kernel driver is in use for that device (`lspci -k` will show this information)?

I think it should be the wl driver so if it's anything else then that may be your problem.

https://wiki.debian.org/wl

That is correct, it is the wl driver and I have followed https://wiki.debian.org/wl and got the message

broadcom-sta-dkms is already the newest version.

so, I assume everything should work but it's not

Offline

#9 2017-11-16 10:31:05

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 649

Re: [SOLVED] Bluetooth "No default controller available"

brack11 wrote:

As I understand Network controller also serves Bluetooth. It is laptop Lenovo g580

Bluetooth in bios is fine because I didnt change anything there since I install linux over windows, and bluetooth was working in windows

Stranger things has happened ... you wouldn't believe.

1) Check if WiFi is enabled in BIOS/UEFI

2) How about Problem was in BIOS [Boot] i changed 'UEFI Boot - Disabled' and bluetooth work perfect. (on lenovo g580 laptop)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#10 2017-11-16 13:33:08

brack11
Member
Registered: 2016-03-25
Posts: 17

Re: [SOLVED] Bluetooth "No default controller available"

iMBeCil wrote:

Stranger things has happened ... you wouldn't believe.

1) Check if WiFi is enabled in BIOS/UEFI

2) How about Problem was in BIOS [Boot] i changed 'UEFI Boot - Disabled' and bluetooth work perfect. (on lenovo g580 laptop)

1) Wifi is enabled in BIOS
2) UEFI is disabled Legacy mode Enabled
no bluetooth...

Offline

#11 2017-11-16 14:07:08

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 649

Re: [SOLVED] Bluetooth "No default controller available"

^I'm sorry, but i'm out of ideas, except to try to google it.

For exaple: I just checked on my laptop, the bluetooth is listed as usb, not pci. Please post output of:

$ lsusb

Furthermore, check what kernel module you are using for bluetooth:

$ lsmod | grep blue
$ lsmod | grep wl

(perhaps, wrong one must be blacklisted).

See if 'hcitool' can find your controller, after you have installed wl:

$ hcitool dev

Postpone all your duties; if you die, you won't have to do them ..

Offline

#12 2017-11-16 14:15:45

brack11
Member
Registered: 2016-03-25
Posts: 17

Re: [SOLVED] Bluetooth "No default controller available"

$ lsusb
Bus 004 Device 003: ID 5986:0295 Acer, Inc 
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 004: ID 105b:e065  
Bus 003 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsmod | grep blue
bluetooth             374455  5 bnep
6lowpan_iphc           16588  1 bluetooth
rfkill                 18867  5 cfg80211,ideapad_laptop,bluetooth
crc16                  12343  2 ext4,bluetooth
$ lsmod | grep wl
wl                   6299053  0 
cfg80211              413828  1 wl
$ hcitool dev
Devices:

Offline

#13 2017-11-16 15:00:10

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 649

Re: [SOLVED] Bluetooth "No default controller available"

^This is your bluetooth device:

$ lsusb
...
Bus 003 Device 004: ID 105b:e065
...

Try to google 'linux 105b:e065' and you will see lots of problems.

According to Unknown vendor ID [105b:e065] - Broadcom BCM43142 device and especially Getting bluetooth to work on a Lenovo Ideapad Flex 2 running Debian Jessie it seems to be 3.16 kernel related problem.

The solution seems to be to get newer kernel. I'm not in position to check it, but if you are running stock BunsenLabs then you can backport the newer (4.9) kernel with apt-get (HoaS, somebody, help with this!, or see this post), and probably get the bluetooth working.

As a check, you may try to get, for example, some live distro with newer kernel (e.g. based on debian stretch), and see if bluetooth works on it.

Hope this helps.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#14 2017-11-16 20:16:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] Bluetooth "No default controller available"

iMBeCil wrote:

The solution seems to be to get newer kernel. I'm not in position to check it, but if you are running stock BunsenLabs then you can backport the newer (4.9) kernel with apt-get (HoaS, somebody, help with this!, or see this post), and probably get the bluetooth working.

Yes, this guide can be used to install a 4.9-series kernel:

https://forums.bunsenlabs.org/viewtopic.php?id=1257

iMBeCil wrote:

some live distro with newer kernel (e.g. based on debian stretch), and see if bluetooth works on it.

I have a "SharpBang" live ISO image that is based on Debian stretch:

https://forums.bunsenlabs.org/viewtopic.php?id=4334

@OP, perhaps see if your bluetooth device works with that image?


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#15 2017-11-17 11:30:35

brack11
Member
Registered: 2016-03-25
Posts: 17

Re: [SOLVED] Bluetooth "No default controller available"

Ok, I used this manual to get to 4.9 kernel: https://forums.bunsenlabs.org/viewtopic.php?id=2445 now böuetooth is kinda recognizable

# hcitool dev
Devices:
	hci0	B8:76:3F:A1:8E:48

but still not working

# dmesg | grep tooth
[   16.535782] Bluetooth: Core ver 2.22
[   16.535797] Bluetooth: HCI device and connection manager initialized
[   16.535800] Bluetooth: HCI socket layer initialized
[   16.535802] Bluetooth: L2CAP socket layer initialized
[   16.535811] Bluetooth: SCO socket layer initialized
[   18.667548] Bluetooth: hci0 command 0x1001 tx timeout
[   25.228241] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   25.228246] Bluetooth: BNEP filters: protocol multicast
[   25.228253] Bluetooth: BNEP socket layer initialized
[   26.859854] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[  540.511028] Bluetooth: RFCOMM TTY layer initialized
[  540.511035] Bluetooth: RFCOMM socket layer initialized
[  540.511044] Bluetooth: RFCOMM ver 1.11
[  720.594183] Bluetooth: hci0 command 0x1001 tx timeout
[  728.690408] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[  867.332140] Bluetooth: hci0: BCM: chip id 70
[  867.348132] Bluetooth: hci0: Yury-PC
[  867.348136] Bluetooth: hci0: BCM (001.001.011) build 0000
[  867.381619] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[  867.381628] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[  867.381633] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[  869.398913] Bluetooth: hci0 command 0x1003 tx timeout

Some additional info:

# lsusb
Bus 002 Device 003: ID 5986:0295 Acer, Inc 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 105b:e065 Foxconn International, Inc. BCM43142A0 Bluetooth module
Bus 001 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# rfkill list all
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Last edited by brack11 (2017-11-17 11:35:52)

Offline

#16 2017-11-17 12:02:32

brack11
Member
Registered: 2016-03-25
Posts: 17

Re: [SOLVED] Bluetooth "No default controller available"

One more thing that probably helps:

$ sudo dmesg | egrep -i 'blue|firm'
[    0.368374] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[   16.328865] Bluetooth: Core ver 2.22
[   16.328886] Bluetooth: HCI device and connection manager initialized
[   16.328890] Bluetooth: HCI socket layer initialized
[   16.328892] Bluetooth: L2CAP socket layer initialized
[   16.328898] Bluetooth: SCO socket layer initialized
[   16.732242] Bluetooth: hci0: BCM: chip id 70
[   16.748229] Bluetooth: hci0: BCM43142A
[   16.748233] Bluetooth: hci0: BCM (001.001.011) build 0000
[   16.770151] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[   16.770198] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[   16.770201] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[   18.794216] Bluetooth: hci0 command 0x1003 tx timeout
[   26.181046] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   26.181049] Bluetooth: BNEP filters: protocol multicast
[   26.181056] Bluetooth: BNEP socket layer initialized
[   28.458185] Bluetooth: hci0 command 0x1003 tx timeout
[   58.863510] Bluetooth: RFCOMM TTY layer initialized
[   58.863523] Bluetooth: RFCOMM socket layer initialized
[   58.863533] Bluetooth: RFCOMM ver 1.11

Offline

#17 2017-11-17 12:56:06

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 649

Re: [SOLVED] Bluetooth "No default controller available"

1) Try reinstalling wl driver (like 'apt-get reinstall').

2) If reinstallation (and reboot, for the completeness) doesn't solve the problem, enter into bluetooth control mode:

$ bluetoothctl  # output below is on my laptop
[NEW] Controller 3C:15:C2:D8:52:DD BlueZ 5.47 [default]
[NEW] Device 00:1F:20:EF:97:14 Bluetooth Mouse M557
Agent registered

and try to do for example:

[Bluetooth]# list
[Bluetooth]# devices
[Bluetooth]# power on
[Bluetooth]# scan on     # move your mouse, or even press 'connect' on it
[Bluetooth]# pair  <your mouse number like 00:FE...>   # move your mouse, or even press 'connect' on it
[Bluetooth]# connect <your mouse number like 00:FE...>
[Bluetooth]# trust <your mouse number like 00:FE...>

(see 'help' in the '[Bluetooth]#' subsystem for particular function).

More details are on Arch wiki (where else?  smile  smile ).

I don't know if 'bluetoothctl' is installed by default in BL, but if not, then install it via 'apt-get install bluez'.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#18 2017-11-17 13:21:03

BLizgreat!
Resident Babbler - vll!
Registered: 2015-10-03
Posts: 1,217

Re: [SOLVED] Bluetooth "No default controller available"

^What they said, aka: Imbecil + Hoas, was thinking the same. One oddball thing you can try, is there an Fn/function key + xyz key combo to enable/disable bluetooth on that model laptop ? Reason I say this, just had the joy of my first gnu/Linux meets broadcom wireless experience, at first it was a real pita, because I didn't have access to a hard wired connection to get wireless working. So I had to figure out how to do so via wireless.

Ok so I downloaded ubuntu 16.04 in desperation, thinking if any gnu/Nix would support my problematic broadcom out-of-box, it'd be the one. Installed it, nope wifi still grayed out. In ever increasing desperation, thought crossed my mind to hit the Fn + F2 key, which is the key-combo shortcut on this Dell inspiron to enable/disable wireless and WHAM ubuntu detected the available wireless access pts and allowed me to connect. Also yes, wireless was showing up as enabled the whole time in bios. Even when ubuntu couldn't use it. So try that if such is available on your pc.

Note: Just to be overly anal BL-Hydrogen even in live-session had no problem detecting and using this laptops wireless. I don't like ubuntu (so quickly ended up overwriting it)and ended up using BL-Hydrogen to chroot a couple installs that wouldn't support my wireless without help. ie: A Debian Stretch minimal netinstall and used BL's usb's wireless abilities to get that Stretch install's broadcom support working.

So it's something to try anyway. Hope it works out for you and hats off to BL team, for out-of-box broadcom support in the live-session and the installer. Ended up installing BL-Hydrogen alongside on the system too. It had no problem doing the full install via wireless.

Last edited by BLizgreat! (2017-11-17 13:28:03)

Offline

#19 2017-11-17 14:42:54

brack11
Member
Registered: 2016-03-25
Posts: 17

Re: [SOLVED] Bluetooth "No default controller available"

Ok, solved.
1. checked the precise name of device:

$ lsusb 
...
Bus 003 Device 003: ID 105b:e065 Foxconn International, Inc. BCM43142A0 Bluetooth module
...

2. Found and downloaded file BCM43142A0-105b-e065.hcd at https://github.com/winterheart/broadcom … aster/brcm

3. Copied this file in location for fw;

sudo cp BCM43142A0* /lib/firmware/brcm/BCM.hcd

4. Power off/Power on laptop (note: reboot didnt help, only complete power off)

and bluetooth is working!
Thank you all!

EDIT: All these steps worked only with Debian Stretch after I upgraded BL default kernel, so, "do not try it at home"

Last edited by brack11 (2017-11-17 14:50:41)

Offline

#20 2017-11-17 15:24:43

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 649

Re: [SOLVED] Bluetooth "No default controller available"

^You're welcome, glad it worked.

Please edit your first post and add '[Solved]' into post title, for future reference.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#21 2017-11-19 00:39:06

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 761

Re: [SOLVED] Bluetooth "No default controller available"

Good that you found that your device needed firmware as some BT devices need FW files only available from external sources.


Real Men Use Linux

Offline

Board footer

Powered by FluxBB