View previous topic :: View next topic |
Author |
Message |
ltade n00b
Joined: 25 Sep 2022 Posts: 3
|
Posted: Sun Sep 25, 2022 2:29 pm Post subject: [SOLVED] Bluetooth workn't - No default controller available |
|
|
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:
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sun Sep 25, 2022 3:16 pm Post subject: |
|
|
Hi
Quote: |
sudo lspci | grep blue:
nothing
|
Try
Code: |
lsusb | grep -i blue
|
And plz dpaste your .config _________________
|
|
Back to top |
|
|
ltade n00b
Joined: 25 Sep 2022 Posts: 3
|
Posted: Sun Sep 25, 2022 3:36 pm Post subject: |
|
|
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sun Sep 25, 2022 3:51 pm Post subject: |
|
|
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 |
|
|
ltade n00b
Joined: 25 Sep 2022 Posts: 3
|
Posted: Sun Sep 25, 2022 4:09 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sun Sep 25, 2022 4:23 pm Post subject: |
|
|
You are welcome and....
...Welcome to the Gentoo Forums! _________________
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sun Sep 25, 2022 5:03 pm Post subject: |
|
|
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 |
|
|
|