You are not logged in.

#1 2023-06-26 13:10:43

mac41
Member
Registered: 2023-06-22
Posts: 10

[SOLVED] bluetoothctl (No default controller available)

bluetoothctl
Agent registered
[bluetooth]# show
No default controller available

Bluetooth device definitely works, I tried it with another distro and bluetoothctl detects controller. bluez/bluez-utils are installed, running bluetoothctl with root privilege. Some outputs from arch linux system:

lsusb | grep Bluetooth
Bus 001 Device 002: ID 05ac:1000 Apple, Inc. Bluetooth HCI MacBookPro (HID mode)
systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
     Active: active (running) since Mon 2023-06-26 08:30:58 EDT; 21min ago
       Docs: man:bluetoothd(8)
   Main PID: 1127 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 2911)
     Memory: 2.1M
        CPU: 120ms
     CGroup: /system.slice/bluetooth.service
             └─1127 /usr/lib/bluetooth/bluetoothd

Jun 26 08:30:58 macbook41 systemd[1]: Starting Bluetooth service...
Jun 26 08:30:58 macbook41 bluetoothd[1127]: Bluetooth daemon 5.66
Jun 26 08:30:58 macbook41 systemd[1]: Started Bluetooth service.
Jun 26 08:30:58 macbook41 bluetoothd[1127]: Starting SDP server
Jun 26 08:30:58 macbook41 bluetoothd[1127]: Bluetooth management interface 1.22 initialized
dmesg | grep Bluetooth
[  553.594417] Bluetooth: Core ver 2.22
[  553.594482] Bluetooth: HCI device and connection manager initialized
[  553.594492] Bluetooth: HCI socket layer initialized
[  553.594498] Bluetooth: L2CAP socket layer initialized
[  553.594511] Bluetooth: SCO socket layer initialized
[  567.095456] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  567.095472] Bluetooth: BNEP filters: protocol multicast
[  567.095487] Bluetooth: BNEP socket layer initialized
lsmod
Module                  Size  Used by
btusb                  77824  0
btintel                57344  1 btusb
bnep                   36864  2
btrtl                  28672  1 btusb
btbcm                  24576  1 btusb
btmtk                  16384  1 btusb
bluetooth            1085440  12 btrtl,btmtk,btintel,btbcm,bnep,btusb
ecdh_generic           16384  1 bluetooth
nft_fib_inet           16384  1
nft_fib_ipv4           16384  1 nft_fib_inet
nft_fib_ipv6           16384  1 nft_fib_inet
nft_fib                16384  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet        16384  6
nf_reject_ipv4         16384  1 nft_reject_inet
nf_reject_ipv6         24576  1 nft_reject_inet
nft_reject             16384  1 nft_reject_inet
nft_ct                 24576  7
nft_chain_nat          16384  3
nf_nat                 65536  1 nft_chain_nat
nf_conntrack          204800  2 nf_nat,nft_ct
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
nf_tables             352256  184 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
libcrc32c              16384  3 nf_conntrack,nf_nat,nf_tables
nfnetlink              20480  2 nf_tables
vfat                   24576  1
fat                   102400  1 vfat
wl                   6512640  0
snd_hda_codec_realtek   196608  1
mousedev               24576  0
isight_firmware        16384  0
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
appletouch             32768  0
apple_mfi_fastcharge    20480  0
ledtrig_audio          16384  1 snd_hda_codec_generic
coretemp               20480  0
snd_hda_intel          65536  3
kvm_intel             458752  0
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         217088  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          139264  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
kvm                  1327104  1 kvm_intel
joydev                 28672  0
cfg80211             1286144  1 wl
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               200704  3 snd_hda_intel,snd_hda_codec,snd_hda_core
irqbypass              16384  1 kvm
iTCO_wdt               16384  0
intel_pmc_bxt          16384  1 iTCO_wdt
applesmc               32768  0
at24                   28672  0
snd_timer              53248  1 snd_pcm
iTCO_vendor_support    16384  1 iTCO_wdt
snd                   151552  13 snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
i2c_i801               45056  0
lpc_ich                28672  0
soundcore              16384  1 snd
sha512_ssse3           49152  0
pcspkr                 16384  0
rfkill                 40960  5 bluetooth,cfg80211
i2c_smbus              20480  1 i2c_i801
sky2                   81920  0
sbs                    20480  0
sbshc                  16384  1 sbs
mac_hid                16384  0
acpi_cpufreq           32768  1
apple_bl               20480  0
crypto_user            20480  0
fuse                  204800  5
dm_mod                225280  0
loop                   40960  0
bpf_preload            24576  0
ip_tables              40960  0
x_tables               61440  1 ip_tables
ext4                 1163264  1
crc32c_generic         16384  3
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  217088  1 ext4
i915                 3850240  6
i2c_algo_bit           20480  1 i915
sr_mod                 28672  0
drm_buddy              20480  1 i915
cdrom                  86016  1 sr_mod
drm_display_helper    208896  1 i915
ata_generic            16384  0
hid_appleir            16384  0
pata_acpi              16384  0
hid_apple              24576  0
firewire_ohci          61440  0
cec                    86016  2 drm_display_helper,i915
firewire_core         106496  1 firewire_ohci
ttm                   102400  1 i915
ata_piix               49152  0
crc_itu_t              16384  1 firewire_core
usbhid                 77824  0
intel_agp              24576  0
intel_gtt              28672  2 intel_agp,i915
video                  73728  1 i915
wmi                    45056  1 video
rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Kernel is 6.3.9-arch1-1 . Any tips?

Last edited by mac41 (2023-06-27 12:45:25)

Offline

#2 2023-06-26 13:35:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] bluetoothctl (No default controller available)

As the device doesn't show up in rfkill, it's most likely not operated by any kernel module.
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'f:1=<-' ix.io

If you have or can, also from an earlier boot or a live distro for comparism (ie. to illustrate what's supposed to happen, in case the error isn't obvious)

Edit: ceterum censeo, si windows, see the 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Last edited by seth (2023-06-26 13:37:56)

Offline

#3 2023-06-26 13:57:32

mac41
Member
Registered: 2023-06-22
Posts: 10

Re: [SOLVED] bluetoothctl (No default controller available)

System journal for boot: http://ix.io/4z8S

Will post journal from live distro in a bit.

Last edited by mac41 (2023-06-26 13:58:35)

Offline

#4 2023-06-26 14:15:38

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] bluetoothctl (No default controller available)

Jun 26 08:30:45 macbook41 sudo[1119]:    fidel : TTY=pts/0 ; PWD=/home/fidel ; USER=root ; COMMAND=/usr/bin/modprobe btusb

Seems that's only loaded because you explcitly did so?

And

Bus 001 Device 002: ID 05ac:1000 Apple, Inc. Bluetooth HCI MacBookPro (HID mode)

looks like

Jun 26 08:21:45 macbook41 kernel: input: HID 05ac:1000 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0/0003:05AC:1000.0001/input/input5
Jun 26 08:21:45 macbook41 kernel: hid-generic 0003:05AC:1000.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 05ac:1000] on usb-0000:00:1a.0-1/input0
Jun 26 08:21:45 macbook41 kernel: input: HID 05ac:1000 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.1/0003:05AC:1000.0002/input/input6
Jun 26 08:21:45 macbook41 kernel: hid-generic 0003:05AC:1000.0002: input,hidraw1: USB HID v1.11 Mouse [HID 05ac:1000] on usb-0000:00:1a.0-1/input1

it's a keyboard?

Please post the full output of

lspci -nn
lsusb -tv

Offline

#5 2023-06-26 14:48:16

mac41
Member
Registered: 2023-06-22
Posts: 10

Re: [SOLVED] bluetoothctl (No default controller available)

System journal for live Arch: http://ix.io/4z95

seth wrote:
Jun 26 08:30:45 macbook41 sudo[1119]:    fidel : TTY=pts/0 ; PWD=/home/fidel ; USER=root ; COMMAND=/usr/bin/modprobe btusb

Seems that's only loaded because you explcitly did so?

In that instance, yes.

it's a keyboard?

No, it's the built-in bluetooth for the laptop.

lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 03)
00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
00:1a.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
00:1a.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 [8086:2849] (rev 03)
00:1d.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
00:1d.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
00:1d.2 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
00:1d.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
00:1f.1 IDE interface [0101]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] [8086:2829] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)
03:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8058 PCI-E Gigabit Ethernet Controller [11ab:436a] (rev 13)
04:03.0 FireWire (IEEE 1394) [0c00]: LSI Corporation FW322/323 [TrueFire] 1394a Controller [11c1:5811] (rev 61)
lsusb -tv
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 480M
        ID 05ac:8300 Apple, Inc. Built-in iSight (no firmware loaded)
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 05ac:8242 Apple, Inc. Built-in IR Receiver
    |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 05ac:0229 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
    |__ Port 2: Dev 3, If 1, Class=Human Interface Device, Driver=appletouch, 12M
        ID 05ac:0229 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
    |__ Port 2: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        ID 05ac:0229 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 05ac:1000 Apple, Inc. Bluetooth HCI MacBookPro (HID mode)
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        ID 05ac:1000 Apple, Inc. Bluetooth HCI MacBookPro (HID mode)

Offline

#6 2023-06-26 14:55:31

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED] bluetoothctl (No default controller available)

Offline

#7 2023-06-26 16:29:55

mac41
Member
Registered: 2023-06-22
Posts: 10

Re: [SOLVED] bluetoothctl (No default controller available)

If the controller being in HID mode is a problem (which it is in, I guess?), the bluez utilities can't even detect the controller to change it in the first place ("No default controller available", "Device is not available: No such device", "Can't get device info: No such device")

Offline

#8 2023-06-26 16:37:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] bluetoothctl (No default controller available)

What happens if you add "hci.reset=1" to the https://wiki.archlinux.org/title/Kernel_parameters ?

Offline

#9 2023-06-26 17:03:49

mac41
Member
Registered: 2023-06-22
Posts: 10

Re: [SOLVED] bluetoothctl (No default controller available)

seth wrote:

What happens if you add "hci.reset=1" to the https://wiki.archlinux.org/title/Kernel_parameters ?

cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=UUID=72b767dc-799b-4106-9f16-3519094db8e4 rw loglevel=3 quiet hci.reset=1
lsusb
Bus 007 Device 002: ID 05ac:8300 Apple, Inc. Built-in iSight (no firmware loaded)
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 05ac:0229 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
Bus 005 Device 002: ID 05ac:8242 Apple, Inc. Built-in IR Receiver
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05ac:1000 Apple, Inc. Bluetooth HCI MacBookPro (HID mode)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Nothing. Still no default controller available.

Last edited by mac41 (2023-06-26 17:05:18)

Offline

#10 2023-06-26 20:16:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] bluetoothctl (No default controller available)

We'll wait for the journal from the working system.
You btw. didn't address the windows fast-start situation (because that's a frequent symptom and will likely not affect systems that were booted from a usb key…)

Offline

#11 2023-06-27 06:12:23

mac41
Member
Registered: 2023-06-22
Posts: 10

Re: [SOLVED] bluetoothctl (No default controller available)

System journal for pop-os live (bluetooth works): http://ix.io/4zcT

You btw. didn't address the windows fast-start situation

Sorry. I'm not dual-booting with Windows.

Offline

#12 2023-06-27 08:17:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] bluetoothctl (No default controller available)

From the proximity I'd say it hinges on the b43 module being replaced by broadcom-wl on arch.
The install iso loads both, the installed system only wl, pop-os only b43.

Offline

#13 2023-06-27 12:44:24

mac41
Member
Registered: 2023-06-22
Posts: 10

Re: [SOLVED] bluetoothctl (No default controller available)

Fixed it by using bluez-hid2hci tool. Thanks for the input all.

Offline

#14 2024-05-19 19:45:51

andyturfer
Member
Registered: 2021-01-08
Posts: 106

Re: [SOLVED] bluetoothctl (No default controller available)

How exactly did you solved it? Can you list the steps? I have the same issue.

Offline

#15 2024-05-20 07:03:07

programmador
Member
Registered: 2020-04-19
Posts: 13

Re: [SOLVED] bluetoothctl (No default controller available)

It's broken in latest kernels. I've encountered the same: no default controller available.
LTS kernel works perfectly.

```
> lsusb
Bus 003 Device 002: ID 0489:e0cd Foxconn / Hon Hai MediaTek Bluetooth Adapter
```

Maybe the driver is broken - I have no idea.

Offline

#16 2024-05-20 07:26:59

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] bluetoothctl (No default controller available)

mac41 wrote:

Fixed it by using bluez-hid2hci tool. Thanks for the input all.

https://man.archlinux.org/man/extra/blu … d2hci.1.en

@programmador, you don't have the same device as the OP, so it's not clear whether you're actually facing the same issue.

Offline

#17 2024-05-21 21:05:52

tman884
Member
Registered: 2024-05-21
Posts: 1

Re: [SOLVED] bluetoothctl (No default controller available)

I had the same issue and fixed it by downgrading to arch 6.8.9. I used the downgrade package to do so.

Offline

#18 2024-05-21 21:10:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] bluetoothctl (No default controller available)

No you didn't - the thread is ~1yr old and the OP was running the 6.3.9 kernel at the time.
There're a bunch of actually bluetooth-realated threads around, one is for mediatek chips trying to load an inexistent firmware file.

Offline

Board footer

Powered by FluxBB