You are not logged in.

#1 2023-04-15 21:51:57

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

Can't remove soft lock from bluetooth

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.

➜  ~ uname -a                            
Linux darkeve 6.2.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 18 Mar 2023 01:06:36 +0000 x86_64 GNU/Linu

   

~ 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

Last edited by darkeve (2023-04-15 21:53:13)

Offline

#2 2023-04-18 03:43:04

BluishHumility
Member
Registered: 2023-03-31
Posts: 26

Re: Can't remove soft lock from bluetooth

A common cause for this would be a physical button on your laptop (airplane mode or similar). Usually this registers as a "hard" block, but certain ThinkPads announce them as a soft block for some reason.

Another common cause would be a dual-boot with Windows, without properly disabling the "fast startup" option.

A less common cause would be using ConnMann, for which you just need to run:

connmanctl enable bluetooth

Outside of those possibilities, I would try testing different kernels to see if you get a different result. The LTS kernel is a good place to start if you are not already running it.

sudo pacman -S linux-lts linux-lts-headers

Offline

Board footer

Powered by FluxBB