Comment 6 for bug 2006517

Revision history for this message
Wendell Duncan (wduncan) wrote : Re: [Bug 2006517] Re: Bluetooth works on desktop but not on ubuntu core

Doing a bit of research on this.

I found these two bug reports that are similar:

https://github.com/bluez/bluez/issues/434
https://github.com/bluez/bluez/issues/434

The apt version of bluez in Jammy is 5.64.
The snap version of bluez on the Core 22 branch is 5.64.

Is the pc-kernel snap missing some kernel config options for bluetooth?
On Core, the /proc/config.gz configuration file is not available.

I also turned on the bluez debugging logs and have attached the
produced logs. This logging line is related to our issue.

src/advertising.c:read_adv_features_callback() Failed to read
advertising features: Not Supported (0x0c)

On Wed, 2023-02-08 at 06:01 +0000, Daniel van Vugt wrote:
> [You don't often get email from <email address hidden>. Learn why
> this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> CAUTION: This email originated from outside of the organization. Do
> not click links or open attachments unless you recognize the sender
> and know the content is safe.
>
>
> When you run desktop on the Dell 5570 (where everything works), what
> files are open by the bluetoothd process? Anything unusual in /dev/ ?
>
>
> ** Tags added: jammy
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> 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
>