This bug is for Core - so apport-collect is not available.

Adding some more logging output in this comment.  I believe our bug is a result 
of the logging at that says:  src/advertising.c:read_adv_features_callback() 
Failed to read advertising features: Not Supported (0x0c)   


Our code does try to call the bluetooth adv_features.  The same snap package 
does work when install on different hardware.




Feb 07 23:50:34 ubuntu systemd[1]: Started Service for snap application 
bluez.bluez.
Feb 07 23:50:34 ubuntu bluetoothd[1562]: Starting SDP server
Feb 07 23:50:34 ubuntu audit[2041]: AVC apparmor="ALLOWED" operation="recvmsg" 
profile="snap.nvidia-assemble.nvidia-assemble" pid=2041 comm="udevadm" 
family="netlink" sock_type="raw" protocol=15 requested_mask="receive" 
denied_mask="receive"
Feb 07 23:50:34 ubuntu dbus-daemon[1300]: [system] Activating via systemd: 
service name='org.freedesktop.hostname1' 
unit='dbus-org.freedesktop.hostname1.service' requested by ':1.7' (uid=0 
pid=1562 comm="/snap/bluez/331/usr/lib/bluetooth/bluetoothd -E " 
label="snap.bluez.bluez (enforce)")
Feb 07 23:50:34 ubuntu bluetoothd[1562]: Bluetooth management interface 1.21 
initialized
Feb 07 23:50:34 ubuntu bluetoothd[1562]: Battery Provider Manager created
Feb 07 23:50:34 ubuntu audit[1562]: AVC apparmor="DENIED" operation="create" 
profile="snap.bluez.bluez" pid=1562 comm="bluetoothd" family="alg" 
sock_type="seqpacket" protocol=0 requested_mask="create" denied_mask="create"
Feb 07 23:50:34 ubuntu bluetoothd[1562]: 
src/advertising.c:read_adv_features_callback() Failed to read advertising 
features: Not Supported (0x0c)
Feb 07 23:50:34 ubuntu bluetoothd[1562]: Adv Monitor Manager created with 
supported features:0x00000001, enabled features:0x00000001, max number of 
supported monitors:32, max number of supported patterns:16
Feb 07 23:50:34 ubuntu kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Feb 07 23:50:34 ubuntu kernel: Bluetooth: BNEP filters: protocol multicast
Feb 07 23:50:34 ubuntu kernel: Bluetooth: BNEP socket layer initialized

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2006517

Title:
  Bluetooth works on desktop but not on ubuntu core

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  We have built a snap that uses some bluetooth functionality.

  The snap runs well when using Ubuntu desktop 22.04 (all updates applied end 
of Jan 2022).
  We have tried using this same snap on Ubuntu Core 22 running on X86_64.

  On some hardware platforms (thinkpad E15 and x86 Mac) everything works as 
expected.
  We can install the snap on Jammy 22.04 or Core 22 on these platforms and get 
expected functionality regardless of OS.

  
  On our targeted platform (a Dell 5570) things are not working.  When running 
22.04 Jammy, everything works.  When running Core 22, some advanced bluetooth 
functionality is not available.
  Since the Core 22 image installs and runs on other X86_64 hardware we suspect 
a device driver issue.

  Attached are several files taken from the Dell 5570
  1) dmesg from Core 22.
  2) dmesg from Jammy 22.04
  3) output of lspci from Jammy 22.04
  4) Output of lsusb from Jammy 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2006517/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to