Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Bluetooth workn't - No default controller available
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ltade
n00b
n00b


Joined: 25 Sep 2022
Posts: 3

PostPosted: Sun Sep 25, 2022 2:29 pm    Post subject: [SOLVED] Bluetooth workn't - No default controller available Reply with quote

Hello, new random gentoo user here, right now I'm trying to get my bluetooth working for my ThinkPad E15 laptop, which has built-in bluetooth, so i could use my bluetooth headphones. I'm on 5.15.69-gentoo kernel.
My sound output works just fine with ALSA, though i had problems with setting up pipewire or pulseaudio, which as i understand is required for bluetooth headphones to work. That being said, i doubt that not having working pipewire / pulseaudio causes the "No default controller available" error that i get from bluetoothctl.

all output from
sudo rfkill list:
Code:
ID TYPE DEVICE      SOFT      HARD
 0 wlan phy0   unblocked unblocked


sudo lsmod | grep bluetooth:
Code:
bluetooth             532480  6
ecdh_generic           16384  1 bluetooth


sudo lspci | grep blue:
nothing

sudo hciconfig:
nothing

sudo hcitool dev:
Code:
Devices:


sudo dmesg | grep Blue:
Code:
[    4.741212] Bluetooth: Core ver 2.22
[    4.741235] Bluetooth: HCI device and connection manager initialized
[    4.741240] Bluetooth: HCI socket layer initialized
[    4.741242] Bluetooth: L2CAP socket layer initialized
[    4.741245] Bluetooth: SCO socket layer initialized


bluetoothctl scan on:
Code:
No default controller available


All suggestions regarding this topic, would be appreciated, thank you :)


Last edited by ltade on Sun Sep 25, 2022 4:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Sep 25, 2022 3:16 pm    Post subject: Reply with quote

Hi
Quote:

sudo lspci | grep blue:
nothing

Try
Code:

lsusb | grep -i blue

And plz dpaste your .config
_________________
:)
Back to top
View user's profile Send private message
ltade
n00b
n00b


Joined: 25 Sep 2022
Posts: 3

PostPosted: Sun Sep 25, 2022 3:36 pm    Post subject: Reply with quote

Alright.

lsusb | grep -i blue
Code:
Bus 003 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth


https://dpaste.org/WNOeH

Also stupid question, why is my bluetooth device showing in lsusb? I would understand this if i used bluetooth usb dongle, but my bluetooth is "built-in".
Thanks for response :)
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Sep 25, 2022 3:51 pm    Post subject: Reply with quote

You have
Quote:

# CONFIG_BT_HCIBTUSB is not set

Plz use

Code:

Kernel
In most cases enabling RFCOMM (CONFIG_BT_RFCOMM), HIDP (CONFIG_BT_HIDP), HCI USB (CONFIG_BT_HCIBTUSB) and/or HCI UART (CONFIG_BT_HCIUART) should be sufficient. The User-space I/O driver for HID input devices (CONFIG_UHID) should be enabled for Bluetooth keyboards and mice.

KERNEL Enabling Bluetooth support
[*] Networking support --->
      <M>   Bluetooth subsystem support --->
              [*]   Bluetooth Classic (BR/EDR) features
              <*>     RFCOMM protocol support
              [ ]       RFCOMM TTY support
              < >     BNEP protocol support
              [ ]       Multicast filter support
              [ ]       Protocol filter support
              <*>     HIDP protocol support
              [*]     Bluetooth High Speed (HS) features
              [*]   Bluetooth Low Energy (LE) features
                    Bluetooth device drivers --->
                      <M> HCI USB driver
                      <M> HCI UART driver
      <*>   RF switch subsystem support --->
    Device Drivers --->
          HID support --->
            <*>   User-space I/O driver support for HID subsystem

from
https://wiki.gentoo.org/wiki/Bluetooth#Kernel
and rebuild the kernel.

Also you might need to configure iwlwifi
Plz see
https://wiki.gentoo.org/wiki/Iwlwifi#Kernel
and you definitely need
Code:

sys-kernel/linux-firmware

_________________
:)
Back to top
View user's profile Send private message
ltade
n00b
n00b


Joined: 25 Sep 2022
Posts: 3

PostPosted: Sun Sep 25, 2022 4:09 pm    Post subject: Reply with quote

Worked like a charm, the after i selected HCI USB driver and HCI UART driver, recompiled and rebooted
Code:
[*] Networking support --->
      <M>   Bluetooth subsystem support --->
                    Bluetooth device drivers --->
                      <M> HCI USB driver
                      <M> HCI UART driver


I previously ignored these options cause i tought this is support specifically for usb bluetooth dongles. I'm still confused why my bluetooth device counts as if it was connected via usb.
Anyways, Thank you very much :D
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Sep 25, 2022 4:23 pm    Post subject: Reply with quote

You are welcome and....

...Welcome to the Gentoo Forums!
_________________
:)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Sun Sep 25, 2022 5:03 pm    Post subject: Reply with quote

Some vendors will include a feature, such as a Bluetooth device, on the motherboard but still use USB as the transport by which it communicates with the system. Such a device is not removable, but still requires kernel support for USB in order to function properly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum