You are not logged in.
Hello fellow arch users! Recently my Bluetooth dongle stopped working. I've spent unhealthy amount of time searching forums/arch wiki for possible solutions, and nothing helped. I'm stuck here:
❯ hciconfig
hci0: Type: Primary Bus: USB
BD Address: 00:1A:7D:DA:71:12 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:149 acl:0 sco:0 events:9 errors:0
TX bytes:273 acl:0 sco:0 commands:10 errors:0
❯ sudo hciconfig hci0 up
[sudo] password for ilia21:
Can't init device hci0: Connection timed out (110)
I also tried:
1. Checking if it is blocked by rfkill: it's not
❯ rfkill list
6: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
2. reloading bluetooth module: did not help
❯ sudo modprobe -r btusb
❯ sudo modprobe btusb
❯ sudo hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
3. Restarting Bluetooth service: did not help
4. PC restart: did not help
5. Plugging dongle into another slot: did not help
6. Using lts kernel: did not help
7. Reinstalling bluez, bluez-utils
I would assume that cheap dongle is dead, but it is not. It works fine in windows vm and on other distros, so I guess my installation is broken.
Here's some additional logs:
Journalctl right before plugging the usb dongle
❯ journalctl -f
Oct 15 14:22:39 archlinux rtkit-daemon[932]: Supervising 7 threads of 4 processes of 1 users.
Oct 15 14:22:59 archlinux sudo[33826]: pam_unix(sudo:session): session closed for user root
Oct 15 14:23:04 archlinux flatpak[1982]: warning: Failed to create xdg-screensaver: 2
Oct 15 14:23:34 archlinux kernel: usb 1-9: USB disconnect, device number 11
Oct 15 14:23:34 archlinux systemd[1]: Starting Load/Save RF Kill Switch Status...
Oct 15 14:23:34 archlinux systemd[1]: Stopped target Bluetooth Support.
Oct 15 14:23:34 archlinux systemd[872]: Stopped target Bluetooth.
Oct 15 14:23:34 archlinux systemd[1]: Started Load/Save RF Kill Switch Status.
Oct 15 14:23:34 archlinux flatpak[1982]: warning: Failed to create xdg-screensaver: 2
Oct 15 14:23:39 archlinux systemd[1]: systemd-rfkill.service: Deactivated successfully.
Oct 15 14:23:41 archlinux kernel: usb 1-3: new full-speed USB device number 13 using xhci_hcd
Oct 15 14:23:41 archlinux kernel: usb 1-3: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=88.91
Oct 15 14:23:41 archlinux kernel: usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
Oct 15 14:23:41 archlinux kernel: usb 1-3: Product: BT DONGLE10
Oct 15 14:23:41 archlinux systemd[1]: Starting Load/Save RF Kill Switch Status...
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: CSR: Setting up dongle with HCI ver=6 rev=3120
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: LMP ver=6 subver=22bb; manufacturer=10
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: CSR: Couldn't suspend the device for our Barrot 8041a02 receive-issue workaround
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: HCI Delete Stored Link Key command is advertised, but not supported.
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: HCI Read Default Erroneous Data Reporting command is advertised, but not supported.
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: HCI Set Event Filter command not supported.
Oct 15 14:23:41 archlinux systemd[872]: Reached target Bluetooth.
Oct 15 14:23:41 archlinux systemd[1]: Reached target Bluetooth Support.
Oct 15 14:23:41 archlinux systemd[1]: Started Load/Save RF Kill Switch Status.
Oct 15 14:23:44 archlinux kernel: Bluetooth: hci0: Opcode 0x1004 failed: -110
Oct 15 14:23:44 archlinux kernel: Bluetooth: hci0: command 0x1004 tx timeout
^C
Bluetooth service running in debug mode. (I had to stop in the same command because for some reason it autorestarts)
❯ sudo systemctl stop bluetooth.service; sudo /usr/lib/bluetooth/bluetoothd -n -d
bluetoothd[37532]: Bluetooth daemon 5.78
bluetoothd[37532]: src/main.c:parse_config() parsing /etc/bluetooth/main.conf
bluetoothd[37532]: src/adapter.c:adapter_init() sending read version command
bluetoothd[37532]: Starting SDP server
bluetoothd[37532]: src/sdpd-service.c:register_device_id() Adding device id record for 0002:1d6b:0246:054e
bluetoothd[37532]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[37532]: src/plugin.c:add_plugin() Loading hostname plugin
bluetoothd[37532]: plugins/hostname.c:read_dmi_fallback() chassis: desktop
bluetoothd[37532]: plugins/hostname.c:read_dmi_fallback() major: 0x01 minor: 0x01
bluetoothd[37532]: plugins/hostname.c:read_transient_hostname() read transient hostname: 'archlinux'
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin hostname loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading wiimote plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin wiimote loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading autopair plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin autopair loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading policy plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin policy loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading a2dp plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin a2dp loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading avrcp plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin avrcp loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[37532]: profiles/network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key “DisableSecurity” in group “General”
bluetoothd[37532]: profiles/network/manager.c:read_config() Config options: Security=true
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin network loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin input loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading hog plugin
bluetoothd[37532]: profiles/input/suspend-none.c:suspend_init()
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin hog loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading gap plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin gap loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading scanparam plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin scanparam loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading deviceinfo plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin deviceinfo loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading midi plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin midi loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading battery plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin battery loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading sixaxis plugin
bluetoothd[37532]: plugins/sixaxis.c:sixaxis_init()
bluetoothd[37532]: src/plugin.c:add_plugin() Plugin sixaxis loaded
bluetoothd[37532]: src/plugin.c:add_plugin() Loading bap plugin
bluetoothd[37532]: src/profile.c:btd_profile_register() D-Bus experimental not enabled
bluetoothd[37532]: src/plugin.c:init_plugin() System does not support bap plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Loading bass plugin
bluetoothd[37532]: src/profile.c:btd_profile_register() D-Bus experimental not enabled
bluetoothd[37532]: src/plugin.c:init_plugin() System does not support bass plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Loading mcp plugin
bluetoothd[37532]: src/profile.c:btd_profile_register() D-Bus experimental not enabled
bluetoothd[37532]: src/plugin.c:init_plugin() System does not support mcp plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Loading vcp plugin
bluetoothd[37532]: src/profile.c:btd_profile_register() D-Bus experimental not enabled
bluetoothd[37532]: src/plugin.c:init_plugin() System does not support vcp plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Loading micp plugin
bluetoothd[37532]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
bluetoothd[37532]: src/plugin.c:init_plugin() System does not support micp plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Loading ccp plugin
bluetoothd[37532]: src/profile.c:btd_profile_register() D-Bus testing not enabled
bluetoothd[37532]: src/plugin.c:init_plugin() System does not support ccp plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Loading csip plugin
bluetoothd[37532]: src/profile.c:btd_profile_register() D-Bus experimental not enabled
bluetoothd[37532]: src/plugin.c:init_plugin() System does not support csip plugin
bluetoothd[37532]: src/plugin.c:add_plugin() Loading asha plugin
bluetoothd[37532]: src/profile.c:btd_profile_register() D-Bus experimental not enabled
bluetoothd[37532]: src/plugin.c:init_plugin() System does not support asha plugin
bluetoothd[37532]: src/main.c:main() Entering main loop
bluetoothd[37532]: src/shared/mgmt.c:send_request() [0xffff] command 0x0001
bluetoothd[37532]: src/shared/mgmt.c:can_read_data() [0xffff] command 0x0001 complete: 0x00
bluetoothd[37532]: Bluetooth management interface 1.23 initialized
bluetoothd[37532]: src/adapter.c:read_version_complete() sending read supported commands command
bluetoothd[37532]: src/adapter.c:read_version_complete() sending read index list command
bluetoothd[37532]: src/shared/mgmt.c:send_request() [0xffff] command 0x0002
bluetoothd[37532]: src/shared/mgmt.c:can_read_data() [0xffff] command 0x0002 complete: 0x00
bluetoothd[37532]: src/adapter.c:read_commands_complete() Number of commands: 88
bluetoothd[37532]: src/adapter.c:read_commands_complete() Number of events: 44
bluetoothd[37532]: src/adapter.c:read_commands_complete() enabling kernel-side connection control
bluetoothd[37532]: src/adapter.c:read_commands_complete() kernel supports the set_blocked_keys op
bluetoothd[37532]: src/adapter.c:read_commands_complete() kernel supports controller cap command
bluetoothd[37532]: src/adapter.c:read_commands_complete() kernel supports exp features
bluetoothd[37532]: src/adapter.c:read_commands_complete() kernel supports set system confic
bluetoothd[37532]: src/adapter.c:read_commands_complete() kernel supports ext adv commands
bluetoothd[37532]: src/adapter.c:read_commands_complete() kernel supports suspend/resume events
bluetoothd[37532]: src/shared/mgmt.c:send_request() [0xffff] command 0x0003
bluetoothd[37532]: src/shared/mgmt.c:can_read_data() [0xffff] command 0x0003 complete: 0x00
bluetoothd[37532]: src/adapter.c:read_index_list_complete() Number of controllers: 0
bluetoothd[37532]: src/profile.c:unregister_profile() sender :1.29
bluetoothd[37532]: src/profile.c:unregister_profile() sender :1.29
bluetoothd[37532]: src/agent.c:add_default_agent() Default agent set to :1.41 /modules/bluedevil/Agent
bluetoothd[37532]: src/agent.c:agent_ref() 0x64d8c63eec10: ref=1
bluetoothd[37532]: src/agent.c:register_agent() agent :1.41
bluetoothd[37532]: src/profile.c:register_profile() sender :1.29
bluetoothd[37532]: src/profile.c:create_ext() Created "Hands-Free Voice gateway"
bluetoothd[37532]: src/profile.c:register_profile() sender :1.29
bluetoothd[37532]: src/profile.c:create_ext() Created "Hands-Free unit"
bluetoothd[37532]: plugins/hostname.c:property_changed() static hostname: 'archlinux'
bluetoothd[37532]: plugins/hostname.c:property_changed() pretty hostname: ''
bluetoothd[37532]: plugins/hostname.c:property_changed() chassis: 'desktop'
bluetoothd[37532]: src/rfkill.c:rfkill_event() RFKILL event idx 11 type 2 op 0 soft 0 hard 0
^Cbluetoothd[37532]: Terminating
bluetoothd[37532]: src/adapter.c:adapter_shutdown()
bluetoothd[37532]: src/plugin.c:plugin_cleanup() Cleanup plugins
bluetoothd[37532]: profiles/input/suspend-none.c:suspend_exit()
bluetoothd[37532]: plugins/sixaxis.c:sixaxis_exit()
bluetoothd[37532]: src/profile.c:btd_profile_cleanup() Releasing "Hands-Free Voice gateway"
bluetoothd[37532]: src/profile.c:remove_ext() Removed "Hands-Free Voice gateway"
bluetoothd[37532]: src/profile.c:btd_profile_cleanup() Releasing "Hands-Free unit"
bluetoothd[37532]: src/profile.c:remove_ext() Removed "Hands-Free unit"
bluetoothd[37532]: src/agent.c:agent_destroy() agent :1.41
bluetoothd[37532]: src/agent.c:agent_release() Releasing agent :1.41, /modules/bluedevil/Agent
bluetoothd[37532]: src/agent.c:remove_default_agent() Default agent cleared
bluetoothd[37532]: src/agent.c:agent_unref() 0x64d8c63eec10: ref=0
bluetoothd[37532]: Stopping SDP server
bluetoothd[37532]: Exit
System info:
Operating System: Arch Linux
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.3
Kernel Version: 6.11.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450 GAMING X
I will provide and additional logs if needed, also here's the list of threads I've read:
https://bbs.archlinux.org/viewtopic.php?id=219757
https://bbs.archlinux.org/viewtopic.php?id=205724
https://bbs.archlinux.org/viewtopic.php?id=215873
https://bbs.archlinux.org/viewtopic.php?id=218895
https://bbs.archlinux.org/viewtopic.php?id=126603&p=2
https://bbs.archlinux.org/viewtopic.php?id=171357
https://bbs.archlinux.org/viewtopic.php?id=278496
https://bbs.archlinux.org/viewtopic.php?id=193813
https://bbs.archlinux.org/viewtopic.php?id=221741
https://bbs.archlinux.org/viewtopic.php?id=153845
https://bbs.archlinux.org/viewtopic.php?id=288183
https://bbs.archlinux.org/viewtopic.php?id=135966
https://bbs.archlinux.org/viewtopic.php?id=183411
https://bbs.archlinux.org/viewtopic.php?id=215873
https://bbs.archlinux.org/viewtopic.php?id=106803
https://bbs.archlinux.org/viewtopic.php?id=218895
https://www.linuxquestions.org/question … 175636383/
https://unix.stackexchange.com/question … connection
EDIT: I used zen kernel at the moment of writing this just because I wanted to try this option too, it did not solve my problem
EDIT2: Just borrowed a laptop with arch install from my friend, and this exact same adapter works there too, I tried hciconfig down and reset before plugging it back to my pc, no luck
EDIT3: Downgrading to kernel 6.11 solved my problem, looks like I'll have to wait for a fix. I won't close this for now, will post other updates here in case people find this in the future.
You can find older versions of the packages here: https://archive.archlinux.org/packages/l/linux/
EDIT4: 6.11.3 came out recently, it does not fix this issue
Last edited by ilia21 (2024-10-25 15:36:45)
Offline
I discovered today that my bluetooth also failed with 6.11.3 but I can remember success about a week ago. So I downgraded to 6.11.2 and everything magically started working again. I see that 6.11.4 is in the testing queue...
Offline
Hello, and thank you for your reply! I tried kernel 6.11.2 too and sadly it has the same issue. Last working kernel for me is 6.11. Hope that this will be fixed in 6.11.4
❯ uname -a
Linux archlinux 6.11.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 04 Oct 2024 21:51:11 +0000 x86_64 GNU/Linux
❯ sudo hciconfig hci0 up
[sudo] password for ilia21:
Can't init device hci0: Connection timed out (110)
Offline
If it is not fixed in 6.11.4 we might want to have a look at it separately and bisect which commit caused the issue
In the meantime, could you please try the latest release candidate for the mainline kernel?
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.12rc3-1-x86_64.pkg.tar.zst
Offline
Hello, and thank you for your reply! I have tried the kernel you provided and unfortunately it does not solve my problem.
❯ uname -a
Linux archlinux 6.12.0-rc3-1-mainline #1 SMP PREEMPT_DYNAMIC Sun, 13 Oct 2024 23:39:12 +0000 x86_64 GNU/Linux
❯ sudo hciconfig hci0 up
[sudo] password for ilia21:
Can't init device hci0: Connection timed out (110)
Offline
Oct 15 14:23:41 archlinux kernel: usb 1-3: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=88.91
Oct 15 14:23:41 archlinux kernel: usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
Oct 15 14:23:41 archlinux kernel: usb 1-3: Product: BT DONGLE10
Oct 15 14:23:41 archlinux systemd[1]: Starting Load/Save RF Kill Switch Status...
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: CSR: Setting up dongle with HCI ver=6 rev=3120
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: LMP ver=6 subver=22bb; manufacturer=10
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: CSR: Couldn't suspend the device for our Barrot 8041a02 receive-issue workaround
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: HCI Delete Stored Link Key command is advertised, but not supported.
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: HCI Read Default Erroneous Data Reporting command is advertised, but not supported.
Oct 15 14:23:41 archlinux kernel: Bluetooth: hci0: HCI Set Event Filter command not supported.
That dongle is all over the interwebz.
Try https://bbs.archlinux.org/viewtopic.php … 9#p2090219
@skunktrader, you don't have that chip, do you?
Offline
Hello, and thank you for your reply! I did not see this thread at all. Unfortunately, this does not solve my problem. (Yes, I rebooted)
❯ cat /etc/modprobe.d/btusb.conf
options btusb enable_autosuspend=0
❯ uname -a
Linux archlinux 6.11.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Oct 2024 20:11:06 +0000 x86_64 GNU/Linux
❯ sudo hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
❯ sudo bluetoothctl power on
No default controller available
Offline
systool -vm btusb
The parameter will not be applied this way if btusb is in the initramfs.
Does it matter whether you boot w/ the dongle attached?
But you better brace for a SOL situation…
Offline
Thank you for quick reply!
❯ systool -vm btusb
Module = "btusb"
Attributes:
coresize = "77824"
initsize = "0"
initstate = "live"
refcnt = "0"
srcversion = "8CB3584F6290E6487A28904"
taint = ""
uevent = <store method only>
version = "0.8"
Parameters:
disable_scofix = "N"
enable_autosuspend = "N"
force_scofix = "N"
reset = "Y"
Sections:
Looks like it is already applied?
Does it matter whether you boot w/ the dongle attached?
After booting without the dongle and then plugging it back, sadly it is the same situation.
Looks like I'll have to wait for a fix?
Offline
Looks like it is already applied?
Yup
Looks like I'll have to wait for a fix?
all over the interwebz
Offline
Looks like I'll have to wait for a fix?
seth wrote:all over the interwebz
I thought you meant that this dongle is very common and lots of people are having the issues with it right now.
Oh well... Do I mark this as solved? Technically it isn't, but if I'm outta luck then there's nothing more to discuss here. On the other hand I can post updates for people who could find this thread in the future
Last edited by ilia21 (2024-10-18 20:39:02)
Offline
@skunktrader, you don't have that chip, do you?
Nope. My bluetooth controller is "Intel Corporation Wireless 3165"
Offline
@ilia21, google for "linux usb 0a12:0001", click on results that sound promising and if you're very lucky, one actually has a working solution, but for the most part they'll be unresolved or "I gave up and bought another dongle"
Don't label the thread as solved, it's not - you only learned that it looks kinda bleak
Offline
@ilia21 since you wrote that it broke with the 6.11.1 update, did it work before?
Could you verify that downgrading to 6.10.9 fixes the issue?
sudo pacman -U https://archive.archlinux.org/packages/l/linux/linux-6.10.9.arch1-2-x86_64.pkg.tar.zst
Offline
Go a similar issue on 6.11.4. I am unable to search/pair devices.
Downgraded to 6.10.9 and bluetooth starts working again.
I'm using an Intel AX210 integrated bluetooth controller. Same issue on my laptop (Intel 9260).
Offline
Would one of you be willing to test kernel packages or to do a bisection on their own? Then again there are currently some bluetooth fixes on the way to mainline which could be related: https://lore.kernel.org/all/CABBYNZL0_j … .gmail.com
Offline
I also can't get bluetooth to work on 6.11.1 2 3 or 4
Works on 6.10 all versions
Works on LTS
Bluetooth:
Device-1: MediaTek Wireless_Device driver: btusb type: USB
Report: btmgmt ID: hci0 state: up address: N/A
journalctl -b | grep -i bluetooth
kernel: Bluetooth: Core ver 2.22
kernel: NET: Registered PF_BLUETOOTH protocol family
kernel: Bluetooth: HCI device and connection manager initialized
kernel: Bluetooth: HCI socket layer initialized
kernel: Bluetooth: L2CAP socket layer initialized
kernel: Bluetooth: SCO socket layer initialized
systemd[1]: Starting Bluetooth service...
bluetoothd[581]: Bluetooth daemon 5.78
systemd[1]: Started Bluetooth service.
bluetoothd[581]: Starting SDP server
systemd[1]: Reached target Bluetooth Support.
bluetoothd[581]: src/plugin.c:init_plugin() System does not support bap plugin
bluetoothd[581]: src/plugin.c:init_plugin() System does not support bass plugin
bluetoothd[581]: src/plugin.c:init_plugin() System does not support mcp plugin
bluetoothd[581]: src/plugin.c:init_plugin() System does not support vcp plugin
bluetoothd[581]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
bluetoothd[581]: src/plugin.c:init_plugin() System does not support micp plugin
bluetoothd[581]: src/plugin.c:init_plugin() System does not support ccp plugin
bluetoothd[581]: src/plugin.c:init_plugin() System does not support csip plugin
bluetoothd[581]: src/plugin.c:init_plugin() System does not support asha plugin
bluetoothd[581]: Bluetooth management interface 1.23 initialized
kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
kernel: Bluetooth: BNEP filters: protocol multicast
kernel: Bluetooth: BNEP socket layer initialized
NetworkManager[637]: <info> [1729333329.3039] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.50.0-1/libnm-device-plugin-bluetooth.so)
kernel: Bluetooth: hci0: Failed to write uhw reg(-110)
kernel: Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219111427
kernel: Bluetooth: hci0: Execution of wmt command timed out
kernel: Bluetooth: hci0: Failed to send wmt patch dwnld (-110)
kernel: Bluetooth: hci0: Failed to set up firmware (-110)
kernel: Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
Last edited by HC6505 (2024-10-19 10:54:32)
Offline
@ilia21 since you wrote that it broke with the 6.11.1 update, did it work before?
Could you verify that downgrading to 6.10.9 fixes the issue?sudo pacman -U https://archive.archlinux.org/packages/l/linux/linux-6.10.9.arch1-2-x86_64.pkg.tar.zst
Sorry for taking this long. Downgrading to 6.10.9 is in fact solving my problem
❯ uname -a
Linux archlinux 6.10.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 10 Sep 2024 14:37:32 +0000 x86_64 GNU/Linux
❯ sudo hciconfig hci0 up
[sudo] password for ilia21:
❯ sudo bluetoothctl power on
Changing power on succeeded
Would one of you be willing to test kernel packages or to do a bisection on their own? Then again there are currently some bluetooth fixes on the way to mainline which could be related: https://lore.kernel.org/all/CABBYNZL0_j … .gmail.com
I'm happy to help solve this problem in any way I can, just tell me what to do.
Offline
I also can't get bluetooth to work on 6.11.1 2 3 or 4
Works on 6.10 all versions
Works on LTSBluetooth:
Device-1: MediaTek Wireless_Device driver: btusb type: USB
Report: btmgmt ID: hci0 state: up address: N/Ajournalctl -b | grep -i bluetooth
kernel: Bluetooth: Core ver 2.22 kernel: NET: Registered PF_BLUETOOTH protocol family kernel: Bluetooth: HCI device and connection manager initialized kernel: Bluetooth: HCI socket layer initialized kernel: Bluetooth: L2CAP socket layer initialized kernel: Bluetooth: SCO socket layer initialized systemd[1]: Starting Bluetooth service... bluetoothd[581]: Bluetooth daemon 5.78 systemd[1]: Started Bluetooth service. bluetoothd[581]: Starting SDP server systemd[1]: Reached target Bluetooth Support. bluetoothd[581]: src/plugin.c:init_plugin() System does not support bap plugin bluetoothd[581]: src/plugin.c:init_plugin() System does not support bass plugin bluetoothd[581]: src/plugin.c:init_plugin() System does not support mcp plugin bluetoothd[581]: src/plugin.c:init_plugin() System does not support vcp plugin bluetoothd[581]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled bluetoothd[581]: src/plugin.c:init_plugin() System does not support micp plugin bluetoothd[581]: src/plugin.c:init_plugin() System does not support ccp plugin bluetoothd[581]: src/plugin.c:init_plugin() System does not support csip plugin bluetoothd[581]: src/plugin.c:init_plugin() System does not support asha plugin bluetoothd[581]: Bluetooth management interface 1.23 initialized kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3 kernel: Bluetooth: BNEP filters: protocol multicast kernel: Bluetooth: BNEP socket layer initialized NetworkManager[637]: <info> [1729333329.3039] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.50.0-1/libnm-device-plugin-bluetooth.so) kernel: Bluetooth: hci0: Failed to write uhw reg(-110) kernel: Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219111427 kernel: Bluetooth: hci0: Execution of wmt command timed out kernel: Bluetooth: hci0: Failed to send wmt patch dwnld (-110) kernel: Bluetooth: hci0: Failed to set up firmware (-110) kernel: Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
I am also using the same Bluetooth chipset as you, and the same issue occurs.
Only the LTS kernel is functioning properly.
Offline
Downgrading to 6.10.9 is in fact solving my problem
6. Using lts kernel: did not help
So either the breaking commit has been picked up for the LTS kernel or this is a fluke.
Conversely we've mediatek users where the LTS kernel is working (next to, likely 6.10.x)
[Edit: there're quite some MT related reports for 6.11, see https://bbs.archlinux.org/viewtopic.php … 5#p2203185 ]
And skunktrader and helios123 actually have intel chips, skunktrader regressed from 6.11.2 to 6.11.3 and for helios123 we've only a report on 6.11.4
Last edited by seth (2024-10-19 12:18:24)
Offline
So either the breaking commit has been picked up for the LTS kernel or this is a fluke.
Just to be sure that it's not my mistake I booted lts kernel:
❯ uname -a
Linux archlinux 6.6.57-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 17 Oct 2024 13:57:25 +0000 x86_64 GNU/Linux
❯ sudo hciconfig hci0 up
[sudo] password for ilia21:
Can't init device hci0: Connection timed out (110)
❯ sudo bluetoothctl power on
No default controller available
So I guess the breaking commit is in the lts kernel too
Offline
Is it in https://archive.archlinux.org/packages/ … kg.tar.zst ?
If not can you identify which LTS update breaks it (eg. try 6.6.55 next)?
Offline
Is it in https://archive.archlinux.org/packages/ … kg.tar.zst ?
If not can you identify which LTS update breaks it (eg. try 6.6.55 next)?
Sure! The last version that works is 6.6.53-2. Update 6.6.54-1 breaks it
Offline
Great, cause that's only 554 commits.
In particular I'd try to revert
commit a4a70cba57aa7ff33ad9056708ac426c46256b2a
Author: Luiz Augusto von Dentz
Date: Mon Sep 9 16:51:52 2024 -0400
Bluetooth: btusb: Fix not handling ZPL/short-transfer
[ Upstream commit 7b05933340f4490ef5b09e84d644d12484b05fdf ]
Requesting transfers of the exact same size of wMaxPacketSize may result
in ZPL/short-transfer since the USB stack cannot handle it as we are
limiting the buffer size to be the same as wMaxPacketSize.
Also, in terms of throughput this change has the same effect to
interrupt endpoint as 290ba200815f "Bluetooth: Improve USB driver throughput
by increasing the frame size" had for the bulk endpoint, so users of the
advertisement bearer (e.g. BT Mesh) may benefit from this change.
Fixes: 5e23b923da03 ("[Bluetooth] Add generic driver for Bluetooth USB devices")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Kiran K
Signed-off-by: Sasha Levin
and
commit 7eebbdde4b947b41ee421478ebef04794a6111c5
Author: Luiz Augusto von Dentz
Date: Wed Aug 16 12:05:00 2023 -0700
Bluetooth: hci_sync: Ignore errors from HCI_OP_REMOTE_NAME_REQ_CANCEL
[ Upstream commit cfbfeee61582e638770a1a10deef866c9adb38f5 ]
This ignores errors from HCI_OP_REMOTE_NAME_REQ_CANCEL since it
shouldn't interfere with the stopping of discovery and in certain
conditions it seems to be failing.
Link: https://github.com/bluez/bluez/issues/575
Fixes: d0b137062b2d ("Bluetooth: hci_sync: Rework init stages")
Signed-off-by: Luiz Augusto von Dentz
Signed-off-by: Sasha Levin
commit ea8d90a5b04aa7fd6f6dea89d07a359ed54b2b9b
Author: Luiz Augusto von Dentz
Date: Fri Aug 30 17:29:27 2024 -0400
Bluetooth: hci_core: Fix sending MGMT_EV_CONNECT_FAILED
[ Upstream commit d47da6bd4cfa982fe903f33423b9e2ec541e9496 ]
If HCI_CONN_MGMT_CONNECTED has been set then the event shall be
HCI_CONN_MGMT_DISCONNECTED.
Fixes: b644ba336997 ("Bluetooth: Update device_connected and device_found events to latest API")
Signed-off-by: Luiz Augusto von Dentz
Signed-off-by: Sasha Levin
Offline
Thank you for suggestion, I will try that, but I assume I need to clone the whole repo, this will take a while with my internet connection. I will post an update once I'm done
EDIT: I am very confused on how to make a kernel into a package. I reverted the commits, using git is not hard, but I could not build a package, no matter what. Building kernel was easy, but I could not make it into a package even if my life would depend on it (sorry for going off-topic). I'm really sorry, but I would need for someone to build it for me or give a step-by-step instructions on how to do so
Last edited by ilia21 (2024-10-19 20:22:55)
Offline