You are not logged in.

#1 2022-01-13 07:12:49

coss
Member
Registered: 2022-01-13
Posts: 4

Bluetooth prompt error at startup

Prompt the following information when I turn on my PC. But I didn't notice anything unusual when using it.

1/13/22 2:23 PM    kernel    Bluetooth: hci0: Failed to read codec capabilities (-56)
1/13/22 2:23 PM    kernel    Bluetooth: hci0: Failed to read codec capabilities (-56)
1/13/22 2:23 PM    kernel    Bluetooth: hci0: Failed to read codec capabilities (-56)
1/13/22 2:23 PM    kernel    Bluetooth: hci0: Failed to read codec capabilities (-56)
1/13/22 2:23 PM    kernel    Bluetooth: hci0: Failed to read codec capabilities (-56)
1/13/22 2:23 PM    kernel    Bluetooth: hci0: Failed to read codec capabilities (-56)

Finally, what can I do to get rid of the prompt?


Arch + DWM
MSI Z590I Unify + i9-10900K + RX5600XT

Offline

#2 2022-01-13 10:19:53

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: Bluetooth prompt error at startup

I have the same messages, is bluetooth provided by iwlwifi on your system ?

See https://wiki.archlinux.org/title/Silent_boot for methods to silence various things including messages like these


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2022-01-14 07:17:28

coss
Member
Registered: 2022-01-13
Posts: 4

Re: Bluetooth prompt error at startup

Lone_Wolf wrote:

I have the same messages, is bluetooth provided by iwlwifi on your system ?

See https://wiki.archlinux.org/title/Silent_boot for methods to silence various things including messages like these

Hi, I use wired network, so I don't have iwlwifi.
This information was only available after I updated the system on the 1/13th.
Current System Version: 5.16.0-arch1-1.

Last edited by coss (2022-01-14 07:18:14)


Arch + DWM
MSI Z590I Unify + i9-10900K + RX5600XT

Offline

#4 2022-01-14 11:46:24

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: Bluetooth prompt error at startup

Many wireless chipsets also provide bluetooth, you may have iwlwifi loaded without realising it.

The messages occurred first on my system with kernel 5.16.0 , not with 5.15 kernel .

Please post lspci -k (run as normal user, not sudo or root) so we can verify what chipset / kernel module takes care of bluetooth on your system.

Welcome to archlinux forums.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2022-01-14 18:42:59

chw
Member
Registered: 2020-08-17
Posts: 7

Re: Bluetooth prompt error at startup

I'm seeing the same with kernel 5.16.
Relevant kernel.org thread.
Fix in 5.17 tree.

Offline

#6 2022-01-14 20:00:20

carioli
Member
Registered: 2022-01-14
Posts: 2

Re: Bluetooth prompt error at startup

It's commit which caused kernel error:

8961987f3f5fa2f2618e72304d013c8dd5e604a6 is the first bad commit
commit 8961987f3f5fa2f2618e72304d013c8dd5e604a6
Author: Kiran K <kiran.k@intel.com>
Date:   Tue Sep 7 15:42:37 2021 +0530

    Bluetooth: Enumerate local supported codec and cache details
    
    Move reading of supported local codecs into a separate init function,
    query codecs capabilities and cache the data
    
    Signed-off-by: Kiran K <kiran.k@intel.com>
    Signed-off-by: Chethan T N <chethan.tumkur.narayan@intel.com>
    Signed-off-by: Srivatsa Ravishankar <ravishankar.srivatsa@intel.com>
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

 include/net/bluetooth/hci.h      |  41 ++++++++++
 include/net/bluetooth/hci_core.h |  17 ++++
 net/bluetooth/Makefile           |   2 +-
 net/bluetooth/hci_codec.c        | 172 +++++++++++++++++++++++++++++++++++++++
 net/bluetooth/hci_codec.h        |   6 ++
 net/bluetooth/hci_core.c         |  11 ++-
 6 files changed, 244 insertions(+), 5 deletions(-)
 create mode 100644 net/bluetooth/hci_codec.c
 create mode 100644 net/bluetooth/hci_codec.h

Last edited by carioli (2022-01-14 22:24:28)

Offline

#7 2022-01-15 15:48:37

coss
Member
Registered: 2022-01-13
Posts: 4

Re: Bluetooth prompt error at startup

Lone_Wolf wrote:

Many wireless chipsets also provide bluetooth, you may have iwlwifi loaded without realising it.

The messages occurred first on my system with kernel 5.16.0 , not with 5.15 kernel .

Please post lspci -k (run as normal user, not sudo or root) so we can verify what chipset / kernel module takes care of bluetooth on your system.

Welcome to archlinux forums.


Please see the information below, thanks!

00:00.0 Host bridge: Intel Corporation Comet Lake-S 6c Host Bridge/DRAM Controller (rev 05)
    DeviceName: Onboard - Other
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
    Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 05)
    Kernel driver in use: pcieport
00:02.0 Display controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 05)
    DeviceName: Onboard - Video
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
    Kernel driver in use: i915
    Kernel modules: i915
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
    DeviceName: Onboard - Other
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
00:14.0 USB controller: Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host Controller (rev 11)
    DeviceName: Onboard - Other
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Tiger Lake-H Shared SRAM (rev 11)
    DeviceName: Onboard - Other
00:16.0 Communication controller: Intel Corporation Tiger Lake-H Management Engine Interface (rev 11)
    DeviceName: Onboard - Other
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Device 43d2 (rev 11)
    DeviceName: Onboard - SATA
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
    Kernel driver in use: ahci
00:1b.0 PCI bridge: Intel Corporation Device 43c0 (rev 11)
    Kernel driver in use: pcieport
00:1b.2 PCI bridge: Intel Corporation Device 43c2 (rev 11)
    Kernel driver in use: pcieport
00:1b.3 PCI bridge: Intel Corporation Device 43c3 (rev 11)
    Kernel driver in use: pcieport
00:1b.4 PCI bridge: Intel Corporation Device 43c4 (rev 11)
    Kernel driver in use: pcieport
00:1c.0 PCI bridge: Intel Corporation Device 43b8 (rev 11)
    Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Tiger Lake-H PCI Express Root Port #5 (rev 11)
    Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Tiger Lake-H PCI Express Root Port #9 (rev 11)
    Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 4385 (rev 11)
    DeviceName: Onboard - Other
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
00:1f.3 Audio device: Intel Corporation Device f0c8 (rev 11)
    DeviceName: Onboard - Sound
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device cd05
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Tiger Lake-H SMBus Controller (rev 11)
    DeviceName: Onboard - Other
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-H SPI Controller (rev 11)
    DeviceName: Onboard - Other
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
    Kernel driver in use: intel-spi
    Kernel modules: intel_spi_pci
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev ca)
    Kernel driver in use: pcieport
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
    Kernel driver in use: pcieport
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev ca)
    Subsystem: Sapphire Technology Limited Radeon RX 5600 XT
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
05:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d05
    Kernel driver in use: igc
    Kernel modules: igc
06:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)
    Subsystem: Intel Corporation Wi-Fi 6 AX210 160MHz
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
07:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963
    Subsystem: Samsung Electronics Co Ltd SM963 2.5" NVMe PCIe SSD
    Kernel driver in use: nvme
09:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
    Kernel driver in use: pcieport
0a:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
    Kernel driver in use: pcieport
0a:01.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
    Kernel driver in use: pcieport
0a:02.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
    Kernel driver in use: pcieport
0a:03.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
    Kernel driver in use: pcieport
0b:00.0 USB controller: Intel Corporation Thunderbolt 4 NHI [Maple Ridge 4C 2020]
    Subsystem: Intel Corporation Device 0000
    Kernel driver in use: thunderbolt
    Kernel modules: thunderbolt
0d:00.0 USB controller: Intel Corporation Thunderbolt 4 USB Controller [Maple Ridge 4C 2020]
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
74:00.0 Non-Volatile memory controller: KIOXIA Corporation Device 0008 (rev 01)
    Subsystem: KIOXIA Corporation Device 0001
    Kernel driver in use: nvme


Arch + DWM
MSI Z590I Unify + i9-10900K + RX5600XT

Offline

#8 2022-01-16 12:29:36

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: Bluetooth prompt error at startup

06:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)
    Subsystem: Intel Corporation Wi-Fi 6 AX210 160MHz
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

That's a wifi/bluetooth chipset as I suspected.

The messages are caused by a bug in kernel 5.16.0 , see (the links in ) post #5 and #6 for more info .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2022-01-16 16:51:03

tvha
Member
Registered: 2021-08-17
Posts: 2

Re: Bluetooth prompt error at startup

Lone_Wolf wrote:
06:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)
    Subsystem: Intel Corporation Wi-Fi 6 AX210 160MHz
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

That's a wifi/bluetooth chipset as I suspected.

The messages are caused by a bug in kernel 5.16.0 , see (the links in ) post #5 and #6 for more info .

Dear Lone_Wolf, I appreciate your responses and overall trying to be helpful. This is my first message in Arch Forum so please inform me if I'm violating any rules.
If the issue is patched in kernel 5.17.0 release, does that means when 5.17.0 version comes to the Arch repositories that error messages will be gone(the messages OP mentioned)?
Thank you in advance.

Last edited by tvha (2022-01-16 16:53:25)

Offline

#10 2022-01-17 10:12:12

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 37

Re: Bluetooth prompt error at startup

The same error shows up in 5.16.1:

Linux honcho 5.16.1-arch1-1 #1 SMP PREEMPT Sun, 16 Jan 2022 11:39:23 +0000 x86_64 GNU/Linux

Jan 17 00:36:43 honcho kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 17 00:36:43 honcho kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 17 00:36:43 honcho kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 17 00:36:43 honcho kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 17 00:36:43 honcho kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 17 00:36:43 honcho kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)

Here's the WiFi/Bluetooth chipset:

06:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
    Subsystem: Intel Corporation Device 0014
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi, wl

Seems to work OK.

Offline

#11 2022-01-17 12:27:35

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: Bluetooth prompt error at startup

kernel 5.17 is at its first Release Candidate , and may not be released as 5.17.x the next 2-3 months .

Kernel maintainers may feel this fix is not important enough to backport it to the 5.16.x kernels .

If someone feels it is important enough, file a bug report in archlinux bugtracker and ask for this commit to be added to the linux package as  a patch.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#12 2022-01-17 16:07:50

tvha
Member
Registered: 2021-08-17
Posts: 2

Re: Bluetooth prompt error at startup

Lone_Wolf wrote:

kernel 5.17 is at its first Release Candidate , and may not be released as 5.17.x the next 2-3 months .

Kernel maintainers may feel this fix is not important enough to backport it to the 5.16.x kernels .

If someone feels it is important enough, file a bug report in archlinux bugtracker and ask for this commit to be added to the linux package as  a patch.

Thank you. As for me it's just little annoyance when logging in. Also I don't use any Bluetooth device, I think I'll just wait.

Offline

Board footer

Powered by FluxBB