5.15 pc-kernel uc22 snap fails to load bluetooth Intel firmware file intel/ibt-17-16-1.sfi

Bug #1970819 reported by Paul Larson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fedora
New
Undecided
Unassigned
linux (Ubuntu)
Fix Committed
Undecided
Dimitri John Ledkov
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When testing the beta image for uc22 on an Intel NUC, I noticed that bluetooth was not working. This NUC has worked for bluetooth tests on uc18, 20, and even on jammy. However on uc22, we see this in dmesg:
[ 11.954649] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 11.962817] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-17-16-1.sfi (-2)
[ 11.966951] Bluetooth: hci0: Failed to read MSFT supported features (-56)

Here's the full dmesg with grep -i blue:
https://pastebin.canonical.com/p/99KvzHY4n9/

On Jammy, for comparison, the firmware gets loaded and bluetoothctl can see nearby devices:
[ 5.650860] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 5.653214] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[ 7.059104] Bluetooth: hci0: Waiting for firmware download to complete
[ 7.059838] Bluetooth: hci0: Firmware loaded in 1373648 usecs
[ 7.059903] Bluetooth: hci0: Waiting for device to boot
[ 7.073886] Bluetooth: hci0: Device booted in 13691 usecs

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

drivers/bluetooth/btintel.c only declares

MODULE_AUTHOR("Marcel Holtmann <email address hidden>");
MODULE_DESCRIPTION("Bluetooth support for Intel devices ver " VERSION);
MODULE_VERSION(VERSION);
MODULE_LICENSE("GPL");
MODULE_FIRMWARE("intel/ibt-11-5.sfi");
MODULE_FIRMWARE("intel/ibt-11-5.ddc");
MODULE_FIRMWARE("intel/ibt-12-16.sfi");
MODULE_FIRMWARE("intel/ibt-12-16.ddc");

thus during snap build we strip it, and it doesn't get included in the snap.

i wonder if we should adjust the MODULE_FIRMWARE to mention more things, or mentioned them with regexp. Such that we don't strip it and include them.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

https://lore.kernel<email address hidden>/

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Separately will work on submitting that to our kernels.

Separately will work on trying to workaround this bug in our trim-firmware scripts for kernel snaps.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1970819

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Can affected users please try kernel from https://launchpad.net/~xnox/+snap/xnox-pc-kernel/+build/1757817 ? and see if that helps to resolve the issue for them? Static analysis shows that all intel/ibt-* firmware files are now included.

Changed in linux (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
status: Incomplete → In Progress
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Paul Larson (pwlars) wrote :

I confirmed today that r1000 in beta fixes this. Thanks!

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

v1 upstream got rejected, submitted v2 now https://lore.kernel<email address hidden>/

Revision history for this message
Tiagopotencia (tiagomourabrandao) wrote (last edit ):

Hello, guys! There's any news about this subject?
My Dell Vostro 5402 with intel Bluetooth intel/ibt-19-0-0.sfi is not working.
There's something that I can help?

Thanks a lot :)

snap --version
snap 2.56.2-4.fc36
snapd 2.56.2-4.fc36
series 16
fedora 36
kernel 5.19.14-200.fc36.x86_64

$neofetch
             .',;::::;,'. tp@tp
         .';:cccccccccccc:;,. -----
      .;cccccccccccccccccccccc;. OS: Fedora Linux 36 (Workstation Edition) x86_64
    .:cccccccccccccccccccccccccc:. Host: Vostro 5402
  .;ccccccccccccc;.:dddl:.;ccccccc;. Kernel: 5.19.14-200.fc36.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:. Uptime: 24 mins
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:. Packages: 2343 (rpm), 19 (flatpak), 12 (snap)
,cccccccccccccc;MMM.;cc;;WW::cccccccc, Shell: zsh 5.8.1
:cccccccccccccc;MMM.;cccccccccccccccc: Resolution: 1920x1080
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc: DE: GNOME 42.5
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc; WM: Mutter
ccccc:XM0';cccc;MMM.;cccccccccccccccc' WM Theme: Adwaita
ccccc;MMo;ccccc;MMW.;ccccccccccccccc; Theme: Adwaita [GTK2/3]
ccccc;0MNc.ccc.xMMd:ccccccccccccccc; Icons: Adwaita [GTK2/3]
cccccc;dNMWXXXWM0::cccccccccccccc:, Terminal: gnome-terminal
cccccccc;.:odl:.;cccccccccccccc:,. CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
:cccccccccccccccccccccccccccc:'. GPU: NVIDIA GeForce MX330
.:cccccccccccccccccccccc:;,.. GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
  '::cccccccccccccc::;,. Memory: 3357MiB / 15724MiB

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Tiagopotencia (tiagomourabrandao) wrote :

Solved downloading .sfi file for my network adapter and put in /usr/lib/firmware/intel. https://raw.githubusercontent.com/pop-os/linux-firmware/master/intel/ibt-19-0-0.sfi

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.