pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.44k stars 84 forks source link

Bluetooth device (headset) doesn't show up in sound settings after connecting #2463

Open krshrimali opened 2 years ago

krshrimali commented 2 years ago

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Output of useful commands from the official website:

╰─$ lsmod | grep bluetooth                                                100 ↵

bluetooth             782336  77 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           16384  3 bluetooth

╰─$ dmesg | grep Bluetooth

dmesg: read kernel buffer failed: Operation not permitted

> sudo systemctl status bluetooth

● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-06-07 11:07:56 IST; 8h ago
       Docs: man:bluetoothd(8)
   Main PID: 1393 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 76761)
     Memory: 2.3M
        CPU: 212ms
     CGroup: /system.slice/bluetooth.service
             └─1393 /usr/lib/bluetooth/bluetoothd

Jun 07 11:08:11 pop-os bluetoothd[1393]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSink/sbc_xq
Jun 07 11:08:11 pop-os bluetoothd[1393]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource/sbc_xq
Jun 07 11:08:11 pop-os bluetoothd[1393]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Jun 07 11:08:11 pop-os bluetoothd[1393]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Jun 07 11:08:11 pop-os bluetoothd[1393]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Jun 07 11:08:11 pop-os bluetoothd[1393]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Jun 07 11:08:11 pop-os bluetoothd[1393]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource/faststream
Jun 07 11:08:11 pop-os bluetoothd[1393]: Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSource/faststream_duplex
Jun 07 20:04:05 pop-os bluetoothd[1393]: src/device.c:load_gatt_db() Unable to load key file from /var/lib/bluetooth/28:D0:EA:39:BE:7F/cache/62:6D:52:06:59:63: (No such file or directory)
Jun 07 20:04:05 pop-os bluetoothd[1393]: src/device.c:load_gatt_db() No cache for 62:6D:52:06:59:63

Issue/Bug Description:

Steps to reproduce (if you know):

Expected behavior:

It should show up in the sound settings.

Other Notes:

Stastr87 commented 5 months ago

The same problem. Blutooth headset connected but can't choose it in audio settings

> st@st-desktop:~$ bluetoothctl devices

> Device 74:45:CE:A6:69:B7 WH-CH510

> st@st-desktop:~$ pactl list sinks short

> 0 alsa_output.pci-0000_04_00.1.hdmi-stereo    module-alsa-card.c  s16le 2-канальный 4410  IDLE

> 1_    alsa_output.pci-0000_06_00.4.analog-stereo  module-alsa-card.c  s16le 2-канальный 4410  SUSPENDED

Any ideas how to fix it?

rajneeshBh commented 2 weeks ago

I am facing the same issue try to add sonos ace headphones

``oot@pop-os:~# sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-08-20 13:21:58 EDT; 7h ago
       Docs: man:bluetoothd(8)
   Main PID: 721 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 28231)
     Memory: 2.5M
        CPU: 3.421s
     CGroup: /system.slice/bluetooth.service
             └─721 /usr/lib/bluetooth/bluetoothd

Aug 20 20:33:22 pop-os bluetoothd[721]: src/device.c:load_gatt_db() Unable to load key file from /var/lib/bluetooth/60:45:2E>
Aug 20 20:33:22 pop-os bluetoothd[721]: src/device.c:load_gatt_db() No cache for 4F:CC:F5:5C:5D:DD
Aug 20 20:35:26 pop-os bluetoothd[721]: src/device.c:load_gatt_db() Unable to load key file from /var/lib/bluetooth/60:45:2E>
Aug 20 20:35:26 pop-os bluetoothd[721]: src/device.c:load_gatt_db() No cache for 73:28:5F:25:7C:9C
Aug 20 20:36:10 pop-os bluetoothd[721]: Failed to set mode: Not Powered (0x0f)
Aug 20 20:36:29 pop-os bluetoothd[721]: src/device.c:load_gatt_db() No cache for F1:4E:D4:DC:B5:4E
Aug 20 20:36:52 pop-os bluetoothd[721]: src/device.c:load_gatt_db() Unable to load key file from /var/lib/bluetooth/60:45:2E>
Aug 20 20:36:52 pop-os bluetoothd[721]: src/device.c:load_gatt_db() No cache for 53:80:E9:CE:E9:84
Aug 20 20:39:26 pop-os bluetoothd[721]: src/device.c:load_gatt_db() Unable to load key file from /var/lib/bluetooth/60:45:2E>
Aug 20 20:39:26 pop-os bluetoothd[721]: src/device.c:load_gatt_db() No cache for 6A:FB:1F:D1:AF:08