Tried many different ways to recover the status(advinfo should work), but in vain, so I removed customer's snaps, removed the beta bluez, installed the stable bluez and then power cycle the machine. The advinfo works again.
acelankao@ubuntu:~$ snap list Name Version Rev Tracking Publisher Notes bluez 5.53-7 334 20/stable canonical✓ - checkbox20 2.1 1152 latest/stable ce-certification-qa - core 16-2.58.3 14946 latest/stable canonical✓ core core20 20230308 1852 latest/stable canonical✓ base core22 20230304 547 latest/stable canonical✓ base pc 22-0.3 127 22/stable canonical✓ gadget pc-kernel 5.15.0-66.73.1 x1 - - kernel snapd 2.59 18745 latest/beta canonical✓ snapd toolbox 0.8.4 2811 20/stable ondra - acelankao@ubuntu:~$ snap connections bluez Interface Plug Slot Notes bluetooth-control bluez:bluetooth-control - - bluez bluez:client bluez:service - home bluez:home - - kernel-crypto-api bluez:kernel-crypto-api - - network-control bluez:network-control - - uhid bluez:uhid :uhid - uinput bluez:uinput - - acelankao@ubuntu:~$ sudo bluez.btmgmt advinfo Unable to open mgmt_socket acelankao@ubuntu:~$ sudo snap connect bluez:bluetooth-control acelankao@ubuntu:~$ sudo bluez.btmgmt advinfo Supported flags: connectable general-discoverable limited-discoverable managed-flags tx-power scan-rsp-appearance scan-rsp-local-name Secondary-channel-1M Secondary-channel-2M Secondary-channel-CODED Max advertising data len: 31 Max scan response data len: 31 Max instances: 8 Instances list with 0 items -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/2006517 Title: Bluetooth works on desktop but not on ubuntu core Status in bluez 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/bluez/+bug/2006517/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

