The following log appears

```
[ 4540.040364] Bluetooth: hci0: Opcode 0x 401 failed: -16
```

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/2003790

Title:
  After successful pairing new bluetooth headphones + mix - sound crash

Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  Bluetooth pairing reports established using bluetoothctl, but the
  sound device is not available on the Ubuntu device(?settings) manager.

  Only the existing speakers (non buetooth) are showing as sound outputs
  (sinks).

  Bluetooth data:

  beadon@semiauto:~$ bluetoothctl
  Agent registered
  [CHG] Controller 28:DF:EB:B6:9B:66 Pairable: yes
  [Shure TW1]# show
  Controller 28:DF:EB:B6:9B:66 (public)
        Name: semiauto
        Alias: semiauto
        Class: 0x007c0000
        Powered: yes
        Discoverable: no
        DiscoverableTimeout: 0x000000b4
        Pairable: yes
        UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
        UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
        UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0541
        Discovering: no
        Roles: central
        Roles: peripheral
  Advertising Features:
        ActiveInstances: 0x00 (0)
        SupportedInstances: 0x0c (12)
        SupportedIncludes: tx-power
        SupportedIncludes: appearance
        SupportedIncludes: local-name
        SupportedSecondaryChannels: 1M
        SupportedSecondaryChannels: 2M
        SupportedSecondaryChannels: Coded

  
  Headphones:

  disable bluetooth, enable bluetooth, attempt connection.  Bluetooth
  device is connected to another device (Android phone).  Expected
  behavior is to disconnect the existing connection to the phone and
  pair only with the laptop.

  
  an 24 09:31:07 semiauto systemd[1]: Stopped target Bluetooth Support.
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/sbc_xq
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/aptx_ll_1
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/aptx_ll_0
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/faststream
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/faststream_duplex
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSink/opus_05
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/opus_05
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/opus_05_51
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/opus_05_71
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSink/opus_05_duplex
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/opus_05_duplex
  Jan 24 09:31:07 semiauto bluetoothd[868]: Endpoint unregistered: 
sender=:1.111 path=/MediaEndpoint/A2DPSource/opus_05_pro
  Jan 24 09:31:07 semiauto systemd[1]: Started Load/Save RF Kill Switch Status.
  Jan 24 09:31:12 semiauto systemd[1]: systemd-rfkill.service: Deactivated 
successfully.
  Jan 24 09:31:20 semiauto systemd[1]: Starting Load/Save RF Kill Switch 
Status...
  Jan 24 09:31:20 semiauto systemd[1]: Started Load/Save RF Kill Switch Status.
  Jan 24 09:31:20 semiauto kernel: [66926.266001] usb 3-10: new full-speed USB 
device number 15 using xhci_hcd
  Jan 24 09:31:20 semiauto kernel: [66926.416144] usb 3-10: New USB device 
found, idVendor=8087, idProduct=0026, bcdDevice= 0.02
  Jan 24 09:31:20 semiauto kernel: [66926.416153] usb 3-10: New USB device 
strings: Mfr=0, Product=0, SerialNumber=0
  Jan 24 09:31:20 semiauto kernel: [66926.419408] Bluetooth: hci0: Bootloader 
revision 0.4 build 0 week 30 2018
  Jan 24 09:31:20 semiauto kernel: [66926.420368] Bluetooth: hci0: Device 
revision is 2
  Jan 24 09:31:20 semiauto kernel: [66926.420376] Bluetooth: hci0: Secure boot 
is enabled
  Jan 24 09:31:20 semiauto kernel: [66926.420379] Bluetooth: hci0: OTP lock is 
enabled
  Jan 24 09:31:20 semiauto kernel: [66926.420382] Bluetooth: hci0: API lock is 
enabled
  Jan 24 09:31:20 semiauto kernel: [66926.420384] Bluetooth: hci0: Debug lock 
is disabled
  Jan 24 09:31:20 semiauto kernel: [66926.420386] Bluetooth: hci0: Minimum 
firmware build 1 week 10 2014
  Jan 24 09:31:20 semiauto kernel: [66926.420829] Bluetooth: hci0: Found device 
firmware: intel/ibt-19-0-4.sfi
  Jan 24 09:31:20 semiauto kernel: [66926.420935] Bluetooth: hci0: Boot 
Address: 0x24800
  Jan 24 09:31:20 semiauto kernel: [66926.420939] Bluetooth: hci0: Firmware 
Version: 20-28.22
  Jan 24 09:31:20 semiauto systemd[1]: Reached target Bluetooth Support.
  Jan 24 09:31:20 semiauto systemd[3301]: Reached target Bluetooth.
  Jan 24 09:31:22 semiauto kernel: [66928.225980] Bluetooth: hci0: Waiting for 
firmware download to complete
  Jan 24 09:31:22 semiauto kernel: [66928.226323] Bluetooth: hci0: Firmware 
loaded in 1763173 usecs
  Jan 24 09:31:22 semiauto kernel: [66928.226415] Bluetooth: hci0: Waiting for 
device to boot
  Jan 24 09:31:22 semiauto kernel: [66928.241336] Bluetooth: hci0: Malformed 
MSFT vendor event: 0x02
  Jan 24 09:31:22 semiauto kernel: [66928.241353] Bluetooth: hci0: Device 
booted in 14614 usecs
  Jan 24 09:31:22 semiauto kernel: [66928.241416] Bluetooth: hci0: Found Intel 
DDC parameters: intel/ibt-19-0-4.ddc
  Jan 24 09:31:22 semiauto kernel: [66928.243390] Bluetooth: hci0: Applying 
Intel DDC parameters completed
  Jan 24 09:31:22 semiauto kernel: [66928.244482] Bluetooth: hci0: Firmware 
revision 0.4 build 20 week 28 2022
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/ldac
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSink/aptx_hd
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/aptx_hd
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSink/aptx
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/aptx
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSink/sbc
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/sbc
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSink/sbc_xq
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/sbc_xq
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/aptx_ll_1
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/aptx_ll_0
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/faststream
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/faststream_duplex
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSink/opus_05
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/opus_05
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/opus_05_51
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/opus_05_71
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSink/opus_05_duplex
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/opus_05_duplex
  Jan 24 09:31:22 semiauto bluetoothd[868]: Endpoint registered: sender=:1.111 
path=/MediaEndpoint/A2DPSource/opus_05_pro
  Jan 24 09:31:25 semiauto systemd[1]: systemd-rfkill.service: Deactivated 
successfully.
  Jan 24 09:31:25 semiauto bluetoothd[868]: src/profile.c:record_cb() Unable to 
get Hands-Free Voice gateway SDP record: Connection reset by peer
  Jan 24 09:31:32 semiauto wpa_supplicant[934]: wlp0s20f3: WPA: Group rekeying 
completed with 1c:87:2c:66:d6:38 [GTK=CCMP]
  Jan 24 09:32:03 semiauto systemd[3301]: Started Application launched by 
gnome-shell.
  Jan 24 09:32:04 semiauto gnome-shell[3648]: 
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' 
failed
  Jan 24 09:32:12 semiauto gnome-control-c[85651]: 
BluetoothHardwareAirplaneMode: 0
  Jan 24 09:32:38 semiauto bluetoothd[868]: src/profile.c:record_cb() Unable to 
get Hands-Free Voice gateway SDP record: Connection timed out
  Jan 24 09:32:40 semiauto bluetoothd[868]: 
profiles/audio/avdtp.c:avdtp_connect_cb() connect to 00:0E:DD:0E:D8:65: 
Connection reset by peer (104)
  Jan 24 09:32:40 semiauto bluetoothd[868]: src/service.c:btd_service_connect() 
a2dp-source profile connect failed for 00:0E:DD:0E:D8:65: Device or resource 
busy
  Jan 24 09:32:42 semiauto bluetoothd[868]: 
profiles/audio/avdtp.c:avdtp_connect_cb() connect to 00:0E:DD:0E:D8:65: 
Connection reset by peer (104)
  Jan 24 09:33:00 semiauto bluetoothd[868]: src/profile.c:record_cb() Unable to 
get Hands-Free Voice gateway SDP record: Connection reset by peer
  Jan 24 09:33:01 semiauto kernel: [67026.822487] Bluetooth: hci0: Opcode 0x 
401 failed: -16
  Jan 24 09:33:02 semiauto bluetoothd[868]: 
profiles/audio/avdtp.c:avdtp_connect_cb() connect to 00:0E:DD:0E:D8:65: 
Connection reset by peer (104)
  Jan 24 09:33:02 semiauto bluetoothd[868]: src/service.c:btd_service_connect() 
a2dp-source profile connect failed for 00:0E:DD:0E:D8:65: Device or resource 
busy
  Jan 24 09:33:06 semiauto bluetoothd[868]: 
profiles/audio/avdtp.c:avdtp_connect_cb() connect to 00:0E:DD:0E:D8:65: 
Connection reset by peer (104)


  
  Reference to similar problem, with similar resolution steps.  Can Ubuntu 
device manager take steps to resolve + install driverr when a new device is 
paired ?
  https://www.nielsvandermolen.com/bluetooth-headphones-ubuntu/

  Can the option to force disconnection be configured from the UI ?
  (default behavior would match other devices and operating systems ).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: pulseaudio 1:16.1+dfsg1-1ubuntu3
  ProcVersionSignature: Ubuntu 5.19.0-29.30-generic 5.19.17
  Uname: Linux 5.19.0-29-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  beadon     3316 F.... pipewire
                        beadon     3319 F.... wireplumber
   /dev/snd/seq:        beadon     3316 F.... pipewire
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Jan 24 09:15:47 2023
  InstallationDate: Installed on 2023-01-09 (15 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  SourcePackage: pulseaudio
  Symptom: audio
  UpgradeStatus: Upgraded to kinetic on 2023-01-15 (9 days ago)
  dmi.bios.date: 12/05/2022
  dmi.bios.release: 1.58
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N32ET82W (1.58 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20XY0027US
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40697 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.33
  dmi.modalias: 
dmi:bvnLENOVO:bvrN32ET82W(1.58):bd12/05/2022:br1.58:efr1.33:svnLENOVO:pn20XY0027US:pvrThinkPadX1YogaGen6:rvnLENOVO:rn20XY0027US:rvrSDK0J40697WIN:cvnLENOVO:ct31:cvrNone:skuLENOVO_MT_20XY_BU_Think_FM_ThinkPadX1YogaGen6:
  dmi.product.family: ThinkPad X1 Yoga Gen 6
  dmi.product.name: 20XY0027US
  dmi.product.sku: LENOVO_MT_20XY_BU_Think_FM_ThinkPad X1 Yoga Gen 6
  dmi.product.version: ThinkPad X1 Yoga Gen 6
  dmi.sys.vendor: LENOVO

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


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

Reply via email to