You are not logged in.

#1 2024-06-22 20:23:28

darkeve
Member
Registered: 2020-04-11
Posts: 30

x1 carbon gen 7 cannot seem to get my bluetooth to work

Hi, I am running Arch linux on my Thinkpad x1 carbon 7th Gen and I have followed all the arch-wiki commands to install bluetooth, but when I run a list command on bluetoothctl I get a "no controllers found" error, I have noticed my bluetooth module is softlocked and I cannot seem to figure out why. sudo rfkill unblock all does not seem to work. I am not blacklisting the bluetooth module either. Here are some command outpoints.

It is not a hardware issue as I have dual booted windows on this laptop and bluetooth works on my windows machine.

➜  ~ uname -a                            
Linux darkeve 6.9.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000 x86_64 GNU/Linux

   

~ sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
     Active: active (running) since Sat 2023-04-15 15:26:19 MDT; 22min ago
       Docs: man:bluetoothd(8)
   Main PID: 1296 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18789)
     Memory: 2.1M
        CPU: 24ms
     CGroup: /system.slice/bluetooth.service
             └─1296 /usr/lib/bluetooth/bluetoothd

Apr 15 15:26:19 darkeve bluetoothd[1296]: Bluetooth daemon 5.66
Apr 15 15:26:19 darkeve systemd[1]: Started Bluetooth service.
Apr 15 15:26:19 darkeve bluetoothd[1296]: Starting SDP server
Apr 15 15:26:19 darkeve bluetoothd[1296]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not ena>
Apr 15 15:26:19 darkeve bluetoothd[1296]: src/plugin.c:plugin_init() Failed to init vcp plugin
Apr 15 15:26:19 darkeve bluetoothd[1296]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not ena>
Apr 15 15:26:19 darkeve bluetoothd[1296]: src/plugin.c:plugin_init() Failed to init mcp plugin
Apr 15 15:26:19 darkeve bluetoothd[1296]: profiles/audio/bap.c:bap_init() D-Bus experimental not ena>
Apr 15 15:26:19 darkeve bluetoothd[1296]: src/plugin.c:plugin_init() Failed to init bap plugin
Apr 15 15:26:19 darkeve bluetoothd[1296]: Bluetooth management interface 1.22 initialized
➜  ~ sudo rfkill list                       
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: tpacpi_wwan_sw: Wireless WAN
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
➜  ~ groups          
power openvpn docker libvirt video storage optical lp audio wheel darkeve
➜  ~ sudo modprobe bluetooth --first-time   
modprobe: ERROR: could not insert 'bluetooth': Module already in kernel
➜  ~ bluetoothctl
Waiting to connect to bluetoothd...[bluetooth]# Agent registered
[bluetooth]# show
No default controller available
[bluetooth]#

Last edited by darkeve (2024-06-22 20:26:04)

Offline

#2 2024-06-24 09:18:48

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 135

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

* What's the output of lsmod|grep btusb?
* Please attach dmesg anf journal log.
* What happen when executing rfkill unblock bluetooth

Last edited by impossibleveins23 (2024-06-24 09:19:11)


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#3 2024-06-30 00:00:57

darkeve
Member
Registered: 2020-04-11
Posts: 30

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

lsmod|grep btusb

btusb                  86016  0
btrtl                  32768  1 btusb
btintel                65536  1 btusb
btbcm                  24576  1 btusb
btmtk                  12288  1 btusb
bluetooth            1097728  5 btrtl,btmtk,btintel,btbcm,btusb

➜  ~ rfkill unblock bluetooth
➜  ~ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
    Soft blocked: yes
    Hard blocked: no
1: tpacpi_wwan_sw: Wireless WAN
    Soft blocked: no
    Hard blocked: no
2: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

sudo dmesg

[  +0.000004] Bluetooth: hci0: OTP lock is enabled
[  +0.000002] Bluetooth: hci0: API lock is enabled
[  +0.000003] Bluetooth: hci0: Debug lock is disabled
[  +0.000002] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[  +0.022257] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[  +0.000151] Bluetooth: hci0: Boot Address: 0x40800
[  +0.000005] Bluetooth: hci0: Firmware Version: 173-5.24
[  +0.719897] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  +0.000005] Bluetooth: BNEP filters: protocol multicast
[  +0.000005] Bluetooth: BNEP socket layer initialized
[  +1.151712] Bluetooth: hci0: Waiting for firmware download to complete
[  +0.000875] Bluetooth: hci0: Firmware loaded in 1828748 usecs
[  +0.000201] Bluetooth: hci0: Waiting for device to boot
[  +0.013811] Bluetooth: hci0: Device booted in 13629 usecs
[  +0.000020] Bluetooth: hci0: Malformed MSFT vendor event: 0x02
[  +0.007062] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-17-16-1.ddc
[  +0.001978] Bluetooth: hci0: Applying Intel DDC parameters completed
[  +0.001003] Bluetooth: hci0: Firmware revision 0.1 build 173 week 5 2024
[  +0.002235] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
[  +0.069402] Bluetooth: MGMT ver 1.22

journalctl
Jun 29 17:59:21 darkeve root[15298]: ACPI group/action undefined: button/down / DOWN
Jun 29 17:59:21 darkeve root[15302]: ACPI group/action undefined: button/up / UP
Jun 29 17:59:22 darkeve rfkill[15304]: unblock set for type bluetooth
Jun 29 17:59:22 darkeve root[15315]: ACPI group/action undefined: button/up / UP
Jun 29 17:59:22 darkeve root[15317]: ACPI group/action undefined: button/up / UP
Jun 29 17:59:23 darkeve root[15321]: ACPI group/action undefined: button/up / UP

Last edited by darkeve (2024-06-30 00:03:31)

Offline

#4 2024-06-30 08:48:54

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 135

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

* Compare to my modules, you are missing rfcomm. Is the module blocked from loading? What happens when you load it?
* Any errors in the log following the command? How about $? ?
* What happen when you execute: echo 1 | doas tee   /sys/devices/platform/thinkpad_acpi/bluetooth_enable


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#5 2024-07-02 02:18:48

darkeve
Member
Registered: 2020-04-11
Posts: 30

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

It does not seem to exist

➜  ~ find /lib/modules/$(uname -r) -type f -name rfcom*
zsh: no matches found: rfcom* 

loading it doesnt seem to make it show up either

➜  ~ sudo modprobe rfcomm
➜  ~ find /lib/modules/$(uname -r) -type f -name rfcom*
zsh: no matches found: rfcom*
➜  ~ find /lib/modules/$(uname -r) -type f -name rfcomm
➜  ~ 

loading it returns a 0 exit code

 ➜  ~ sudo modprobe rfcomm
➜  ~ echo $?
0 
➜  ~ echo 1 | doas tee /sys/devices/platform/thinkpad_acpi/bluetooth_enable
zsh: command not found: doas

I did give me a default controller after turning rfcomm on.

 ➜  ~ bluetoothctl
Waiting to connect to bluetoothd...[bluetooth]# hci0 new_settings: bondable ssp br/edr le secure-conn wide-band-speech
[bluetooth]# Agent registered
[bluetooth]# [CHG] Controller 54:8D:5A:EF:42:2C Pairable: yes 

but i still have bluetooth soft blocked and pairing have a different error

 [bluetooth]# devices Paired
scan on
[bluetooth]# SetDiscoveryFilter failed: org.bluez.Error.NotReady
[bluetooth]# Failed to start discovery: org.bluez.Error.NotReady
[bluetooth]# list 

➜  ~ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
     Active: active (running) since Sat 2024-06-29 17:38:57 MDT; 2 days ago
 Invocation: ebfa14efaf4541c69408f12c682241b7
       Docs: man:bluetoothd(8)
   Main PID: 8963 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18786)
     Memory: 2M (peak: 2.3M)
        CPU: 73ms
     CGroup: /system.slice/bluetooth.service
             └─8963 /usr/lib/bluetooth/bluetoothd

Jun 29 17:38:57 darkeve bluetoothd[8963]: src/plugin.c:init_plugin() System does not support micp plugin
Jun 29 17:38:57 darkeve bluetoothd[8963]: src/plugin.c:init_plugin() System does not support ccp plugin
Jun 29 17:38:57 darkeve bluetoothd[8963]: src/plugin.c:init_plugin() System does not support csip plugin
Jun 29 17:38:57 darkeve bluetoothd[8963]: Bluetooth management interface 1.22 initialized
Jun 29 17:38:58 darkeve bluetoothd[8963]: Battery Provider Manager created
Jun 29 17:38:58 darkeve bluetoothd[8963]: Failed to set mode: Failed (0x03)
Jun 29 17:53:56 darkeve bluetoothd[8963]: Failed to set mode: Failed (0x03)
Jun 29 17:53:56 darkeve bluetoothd[8963]: Battery Provider Manager destroyed
Jun 29 23:07:17 darkeve bluetoothd[8963]: Battery Provider Manager created
Jun 29 23:07:17 darkeve bluetoothd[8963]: Failed to set mode: Failed (0x03)

Seems like turning on that module doesnt fix the inital issue forever either

➜  / bluetoothctl
Waiting to connect to bluetoothd...[bluetooth]# Agent registered
[bluetooth]# scan on
No default controller available

Last edited by darkeve (2024-07-02 02:46:11)

Offline

#6 2024-07-02 07:37:18

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 135

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

Seems that after loading rfcomm the controller is recognized by bluetoothctl. Check if somehow it is blocked from loading.
* Following loading the module, does bluetooth still soft block? What happens when you try to unblock it?
* Replace doas with sudo and try to unblock it using the kernel interface again.

Other than that:
* After loading it, search for it in lsmod.
* In your find, search with double quotation marks arround the expression ("*rfcomm*")


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#7 2024-07-02 16:47:22

darkeve
Member
Registered: 2020-04-11
Posts: 30

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

tried what you said and it doesnt seem to work anymore

here are the list of things i did

➜  ~ modprobe rfcomm
modprobe: ERROR: could not insert 'rfcomm': Operation not permitted
➜  ~ sudo modprobe rfcomm
➜  ~ find /lib/modules/$(uname -r) -type f -name *rfcomm*
zsh: no matches found: *rfcomm*
➜  ~ find /lib/modules/$(uname -r) -type f -name "*rfcomm*C"
➜  ~ find /lib/modules/$(uname -r) -type f -name "*rfcomm*"
/lib/modules/6.6.34-1-lts/kernel/net/bluetooth/rfcomm/rfcomm.ko.zst
/lib/modules/6.6.34-1-lts/build/include/net/bluetooth/rfcomm.h
➜  ~ echo 1 | sudo tee   /sys/devices/platform/thinkpad_acpi/bluetooth_enable
1
➜  ~ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: tpacpi_wwan_sw: Wireless WAN
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
➜  ~ rfkill unblock bluetooth
➜  ~ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: tpacpi_wwan_sw: Wireless WAN
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
➜  ~ sudo rfkill unblock bluetooth
➜  ~ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: tpacpi_wwan_sw: Wireless WAN
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
➜  ~ bliuetoothctl
zsh: command not found: bliuetoothctl
➜  ~ bluetoothctl
Waiting to connect to bluetoothd...
➜  ~ sudo systemctl start bluetooth
➜  ~ bluetoothctl
Waiting to connect to bluetoothd...[bluetooth]# Agent registered
[bluetooth]# scan on
No default controller available
[bluetooth]# exit
➜  ~

Offline

#8 2024-07-03 15:58:27

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 135

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

What happens when unblock using kernel module?

echo 0 | sudo tee /sys/class/rfkill/rfkill0/soft

It is possible to completely disable rfkill so it can't block.


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#9 2024-07-04 00:42:29

darkeve
Member
Registered: 2020-04-11
Posts: 30

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

still doesnt work and it seems modprob rfcomm was a fluke. Running that common doesn't seem to fix the no default controller available issue anymore.

Offline

#10 2024-07-04 08:16:52

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 135

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

1. What do you mean by not working? Did it change the param value but still no controller listed? Please include the results of each proposed test.
2. Did you try to completely disable rfkill (by blacklisting, adding to kernel param: rfkill.default_state=1 and rebooting)? What is the output of:

bluetoothctl list

3. Please include full log following:

sudo journalctl -b | curl -F 'file=@-' 0x0.st
sudo dmesg | curl -F 'file=@-' 0x0.st

Last edited by impossibleveins23 (2024-07-04 08:17:30)


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#11 2024-07-04 15:37:29

darkeve
Member
Registered: 2020-04-11
Posts: 30

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

yeah after running that command the bluetoothctl can't find a default controller.

I added rfkill to the blocklist and added rfkill.default_state=1 to the kernel params but bluetooth still does not start on boot and no default controller is still found when running bluetoothctl.

bluetoothctl list does not return anything either

➜  ~ sudo journalctl -b | curl -F 'file=@-' 0x0.st
http://0x0.st/XakM.txt
➜  ~ sudo dmesg | curl -F 'file=@-' 0x0.st
http://0x0.st/XakQ.txt

Offline

#12 2024-07-05 07:43:16

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 135

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

hci0 device is missing from dmesg so no BT controller.

* No microcode is loaded upon boot. Try loading it and see if hci0 device appear in dmesg (and in: btmgmt info).
* Please include: "lsub | grep -i bluetooth". Perhaps there's something specific with the BT device.


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#13 2024-07-07 02:56:18

darkeve
Member
Registered: 2020-04-11
Posts: 30

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

what commands do i use exactly to follow your first bullet point? I also checked to see if intel-ucode is installed and it already is

also

➜  ~ lsub | grep -i bluetooth
zsh: command not found: lsub

Offline

#14 2024-07-07 07:53:32

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 135

Re: x1 carbon gen 7 cannot seem to get my bluetooth to work

* Simple search would show you the command is: lsusb.
* The microcode should be loaded during boot like this.
When it does, it will appear in the kernel command line. The provided dmesg is missing the microcode:

Command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=/dev/mapper/volgroup-lv_root rw loglevel=3 quiet rfkill.default_state=1

Do you load it differently?


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

Board footer

Powered by FluxBB