You are not logged in.
When I connect bluetooth earbuds and watch pavucontrol's "Configuration" tab I can see they appear, display A2DP mode fine, and I can hear ongoing music clearly, all is well.
However, about half of the time, now after about half a second to a second later, pavucontrol will suddenly switch them to "Headset" mode right away, resulting in abysmal audio quality. And what's even stranger it will stop showing all the (three) A2DP options in the earbud Configuration list so I cannot even switch back to an A2DP profile!
If that happens, I have to turn off the earpads and turn them on again and let Archlinux reconnect and hope that this time I'll be lucky and it will not do the back-switch-and-forget-A2DP thingy and they will just stay in A2DP mode and run fine.
Sometimes I have to do this 3 times in a row until it works. -_-
Any ideas?
Edit:
Sometimes the list of profiles actually still displays ONE of the 3 a2dp choices (aac, sbc, sbc-xq), but it becomes an effectless "ghost setting". Like, I can click on it, but it will just disable sound output and freeze the youtube video. I then need to click on one of the 3 headset mode profiles, then the video+sound will resume.
In most cases, all 3 a2dp profiles just disappear though, with none left to ghost-select. ^^
Last edited by millus (2024-02-04 11:53:34)
Offline
uh, really nobody else having this issue?
Last edited by millus (2024-01-30 14:14:11)
Offline
Hm, sorry, if I'm not supposed to bump this thread, then just delete it I guess, but I dunno, what am I supposed to do, getting kinda desparate with this, just had to turn earbuds off+on 4 times in a row again... xD
Last edited by millus (2024-02-04 11:50:57)
Offline
Do you have things open that want a mic and thus force the profile?
Offline
Hm, I only really had Discord open sometimes, but even when I didn't start Discord and nothing else is running really except Chromium (and no Discord-tabs there either) the bug still happens.
Also, the problem isn't just that it force switches to mic randomly, but also that it deletes the A2DP profiles after 1-2 seconds or so. Like, even if an app says "headset plz!" it shouldn't result in the actual a2dp profiles suddenly getting completely erased in the mixer, no?
Offline
Generally no, check your journal/kernel logs if the bluetooth daemon/device mentions losing access to the a2dp endpoints. Bluetooth in general is very fickle and some signal disturbance could lead to losing the profile because it goes into a lower mode.
Offline
I have the same problem with my JBL headphones. I have to unplug my Bluetooth dongle and power-cycle my headphones before they become usable. Also the headphones are in softbricked state and I have to plug them to usb-c connector to unbrick them beforehand
[ugjka@ugjka ~]$ journalctl -p warning -u bluetooth.service --no-pager
-- Boot 198a8b5616ed41f79660ac70a46fb7f2 --
feb 08 06:07:43 ugjka bluetoothd[527]: src/plugin.c:plugin_init() System does not support csip plugin
feb 08 06:07:43 ugjka bluetoothd[527]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
feb 08 06:07:43 ugjka bluetoothd[527]: src/plugin.c:plugin_init() System does not support micp plugin
feb 08 06:07:43 ugjka bluetoothd[527]: src/plugin.c:plugin_init() System does not support vcp plugin
feb 08 06:07:43 ugjka bluetoothd[527]: src/plugin.c:plugin_init() System does not support mcp plugin
feb 08 06:07:43 ugjka bluetoothd[527]: src/plugin.c:plugin_init() System does not support bass plugin
feb 08 06:07:43 ugjka bluetoothd[527]: src/plugin.c:plugin_init() System does not support bap plugin
feb 08 06:07:43 ugjka bluetoothd[527]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0x03)
feb 08 06:07:43 ugjka bluetoothd[527]: Failed to clear UUIDs: Failed (0x03)
feb 08 06:07:43 ugjka bluetoothd[527]: Failed to add UUID: Failed (0x03)
feb 08 06:07:43 ugjka bluetoothd[527]: Failed to add UUID: Failed (0x03)
feb 08 06:07:43 ugjka bluetoothd[527]: Failed to add UUID: Failed (0x03)
feb 09 19:02:25 ugjka bluetoothd[527]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
feb 09 19:02:27 ugjka bluetoothd[527]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
feb 09 19:03:15 ugjka bluetoothd[527]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 21:03:36 ugjka bluetoothd[527]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
-- Boot 70c96ffa62b14536996013f10ce173e1 --
feb 09 21:04:04 ugjka bluetoothd[525]: src/plugin.c:plugin_init() System does not support csip plugin
feb 09 21:04:04 ugjka bluetoothd[525]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
feb 09 21:04:04 ugjka bluetoothd[525]: src/plugin.c:plugin_init() System does not support micp plugin
feb 09 21:04:04 ugjka bluetoothd[525]: src/plugin.c:plugin_init() System does not support vcp plugin
feb 09 21:04:04 ugjka bluetoothd[525]: src/plugin.c:plugin_init() System does not support mcp plugin
feb 09 21:04:04 ugjka bluetoothd[525]: src/plugin.c:plugin_init() System does not support bass plugin
feb 09 21:04:04 ugjka bluetoothd[525]: src/plugin.c:plugin_init() System does not support bap plugin
feb 09 21:04:04 ugjka bluetoothd[525]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0x03)
feb 09 21:04:05 ugjka bluetoothd[525]: Failed to clear UUIDs: Failed (0x03)
feb 09 21:04:05 ugjka bluetoothd[525]: Failed to add UUID: Failed (0x03)
feb 09 21:04:05 ugjka bluetoothd[525]: Failed to add UUID: Failed (0x03)
feb 09 21:04:05 ugjka bluetoothd[525]: Failed to add UUID: Failed (0x03)
feb 09 21:05:43 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
feb 09 21:05:45 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
feb 09 21:05:56 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 21:06:28 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
feb 09 21:06:30 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
feb 09 21:06:33 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 21:07:03 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
feb 09 21:07:05 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
feb 09 21:07:23 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 22:45:46 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 10 13:10:26 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 10 14:44:34 ugjka bluetoothd[525]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to D8:AA:59:95:96:B7: Connection reset by peer (104)
feb 10 14:44:34 ugjka bluetoothd[525]: profiles/audio/avdtp.c:avdtp_parse_rej() SET_CONFIGURATION request rejected: Bad Acceptor SEID (18)
feb 10 14:44:34 ugjka bluetoothd[525]: profiles/audio/a2dp.c:invalidate_remote_cache() Invalidating Remote SEP from cache
feb 10 14:44:37 ugjka bluetoothd[525]: profiles/audio/a2dp.c:load_remote_sep() Unable to load LastUsed: rseid 1 not found
[ugjka@ugjka ~]$ sudo lsusb -d 0bda:8771 -v
Bus 003 Device 004: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x8771 Bluetooth Radio
bcdDevice 2.00
iManufacturer 1 Realtek
iProduct 2 Bluetooth Radio
iSerial 3 00E04C239987
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x00b1
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4 Bluetooth Radio
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4 Bluetooth Radio
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4 Bluetooth Radio
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4 Bluetooth Radio
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4 Bluetooth Radio
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4 Bluetooth Radio
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4 Bluetooth Radio
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Device Status: 0x0001
Self Powered
[ugjka@ugjka ~]$ bluetoothctl info
Device D8:AA:59:95:96:B7 (public)
Name: JBL TUNE660NC
Alias: JBL TUNE660NC
Class: 0x00240404 (2360324)
Icon: audio-headset
Paired: yes
Bonded: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Cont.. (0000110f-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Audio (00001203-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (df21fe2c-2515-4fdb-8886-f12c4d67927c)
Modalias: bluetooth:v0ECBp1F40d001F
Battery Percentage: 0x32 (50)
[ugjka@ugjka ~]$ journalctl -p warning --user -u pipewire --no-pager
-- Boot 198a8b5616ed41f79660ac70a46fb7f2 --
feb 08 06:08:22 ugjka pipewire[977]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
feb 09 19:02:25 ugjka pipewire[977]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-130) idle -> error (Received error event)
feb 09 19:02:56 ugjka pipewire[977]: pw.node: (bluez_input.D8_AA_59_95_96_B7.0-130) idle -> error (Received error event)
feb 09 19:02:56 ugjka pipewire[977]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-134) running -> error (Received error event)
feb 09 19:02:58 ugjka pipewire[977]: pw.link: 0x5a366b97a350: one of the nodes is in error out:error in:suspended
feb 09 19:02:58 ugjka pipewire[977]: pw.link: 0x5a366b97c970: one of the nodes is in error out:error in:suspended
feb 09 20:17:47 ugjka pipewire[977]: mod.client-node: 0x5a366b7f6790: unknown peer 0x5a366b9087c0 fd:113
feb 09 21:03:37 ugjka pipewire[977]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-154) idle -> error (Received error event)
-- Boot 70c96ffa62b14536996013f10ce173e1 --
feb 09 21:04:24 ugjka pipewire[905]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
feb 09 21:05:43 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-105) running -> error (Received error event)
feb 09 21:05:45 ugjka pipewire[905]: pw.core: 0x5cdf07853bd0: error -2 for resource 54: port_set_io failed: No such file or directory
feb 09 21:05:45 ugjka pipewire[905]: mod.client-node: 0x5cdf080c3290: error seq:1609 -2 (port_set_io failed: No such file or directory)
feb 09 21:06:28 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-130) idle -> error (Received error event)
feb 09 21:07:03 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-121) running -> error (Received error event)
feb 10 13:10:26 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-110) running -> error (Received error event)
feb 10 13:24:57 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-109) idle -> error (Received error event)
[ugjka@ugjka ~]$ journalctl -p warning --user -u wireplumber --no-pager
-- Boot a75b09ff3b2646e9b56feff8cd242faa --
feb 06 06:34:49 ugjka wireplumber[893]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
feb 06 06:34:50 ugjka wireplumber[893]: <WpPortalPermissionStorePlugin:0x5c883bb82db0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
feb 06 06:34:50 ugjka wireplumber[893]: <WpPortalPermissionStorePlugin:0x5c883bb82db0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
feb 07 20:45:35 ugjka wireplumber[893]: <WpPortalPermissionStorePlugin:0x5c883bb82db0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
-- Boot 198a8b5616ed41f79660ac70a46fb7f2 --
feb 08 06:08:22 ugjka wireplumber[978]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
feb 08 06:08:22 ugjka wireplumber[978]: <WpPortalPermissionStorePlugin:0x6323b63d07c0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
feb 08 06:08:22 ugjka wireplumber[978]: <WpPortalPermissionStorePlugin:0x6323b63d07c0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
feb 09 19:02:25 ugjka wireplumber[978]: Acquire /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd1 returned error: org.bluez.Error.Failed
feb 09 19:02:25 ugjka wireplumber[978]: (bluez_output.D8_AA_59_95_96_B7.1-130) running -> error (Received error event)
feb 09 19:02:25 ugjka wireplumber[978]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd1
feb 09 19:02:56 ugjka wireplumber[978]: (bluez_input.D8_AA_59_95_96_B7.0-130) running -> error (Received error event)
feb 09 19:02:56 ugjka wireplumber[978]: (bluez_output.D8_AA_59_95_96_B7.1-134) running -> error (Received error event)
feb 09 19:02:56 ugjka wireplumber[978]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/fd40
feb 09 21:03:36 ugjka wireplumber[978]: (bluez_output.D8_AA_59_95_96_B7.1-154) running -> error (Received error event)
feb 09 21:03:36 ugjka wireplumber[978]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd3
-- Boot 70c96ffa62b14536996013f10ce173e1 --
feb 09 21:04:24 ugjka wireplumber[907]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
feb 09 21:04:24 ugjka wireplumber[907]: <WpPortalPermissionStorePlugin:0x56f9b0e416d0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
feb 09 21:04:24 ugjka wireplumber[907]: <WpPortalPermissionStorePlugin:0x56f9b0e416d0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
feb 09 21:05:43 ugjka wireplumber[907]: Acquire /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd1 returned error: org.bluez.Error.Failed
feb 09 21:05:43 ugjka wireplumber[907]: (bluez_output.D8_AA_59_95_96_B7.1-105) running -> error (Received error event)
feb 09 21:05:43 ugjka wireplumber[907]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd1
feb 09 21:06:28 ugjka wireplumber[907]: Acquire /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd3 returned error: org.bluez.Error.Failed
feb 09 21:06:28 ugjka wireplumber[907]: (bluez_output.D8_AA_59_95_96_B7.1-130) running -> error (Received error event)
feb 09 21:06:28 ugjka wireplumber[907]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd3
feb 09 21:07:03 ugjka wireplumber[907]: Acquire /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd5 returned error: org.bluez.Error.Failed
feb 09 21:07:03 ugjka wireplumber[907]: (bluez_output.D8_AA_59_95_96_B7.1-121) running -> error (Received error event)
feb 09 21:07:03 ugjka wireplumber[907]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd5
feb 10 08:11:23 ugjka wireplumber[907]: Failed to release transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd7: Method "Release" with signature "" on interface "org.bluez.MediaTransport1" doesn't exist
feb 10 13:10:26 ugjka wireplumber[907]: (bluez_output.D8_AA_59_95_96_B7.1-110) running -> error (Received error event)
feb 10 13:10:26 ugjka wireplumber[907]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep1/fd9
feb 10 13:24:57 ugjka wireplumber[907]: (bluez_output.D8_AA_59_95_96_B7.1-109) running -> error (Received error event)
feb 10 13:24:57 ugjka wireplumber[907]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep1/fd11
feb 10 15:06:07 ugjka wireplumber[907]: Failed to release transport /org/bluez/hci0/dev_D8_AA_59_95_96_B7/sep3/fd13: Method "Release" with signature "" on interface "org.bluez.MediaTransport1" doesn't exist
[ugjka@ugjka ~]$ sudo dmesg | grep -E "Bluetooth|JBL"
[ 2.984397] usb 2-1.2: Product: Bluetooth Radio
[ 3.036768] Bluetooth: Core ver 2.22
[ 3.036800] Bluetooth: HCI device and connection manager initialized
[ 3.036807] Bluetooth: HCI socket layer initialized
[ 3.036810] Bluetooth: L2CAP socket layer initialized
[ 3.036816] Bluetooth: SCO socket layer initialized
[ 3.067276] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 3.068315] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 3.068321] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[ 3.069704] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[ 3.069816] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[ 3.222268] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[ 3.840901] usb 3-3: Product: Bluetooth USB Host Controller
[ 7.110996] toshiba_bluetooth: Toshiba ACPI Bluetooth device driver
[ 15.020605] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 15.020613] Bluetooth: BNEP filters: protocol multicast
[ 15.020622] Bluetooth: BNEP socket layer initialized
[ 15.023416] Bluetooth: MGMT ver 1.22
[ 34.643427] Bluetooth: RFCOMM TTY layer initialized
[ 34.643440] Bluetooth: RFCOMM socket layer initialized
[ 34.643448] Bluetooth: RFCOMM ver 1.11
[ 85.664594] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input24
[ 89.196093] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input25
[ 89.244811] Bluetooth: Unexpected start frame (len 46)
[ 137.384487] usb 2-1.2: Product: Bluetooth Radio
[ 137.390126] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 137.391125] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 137.391135] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[ 137.393673] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[ 137.393984] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[ 137.555115] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[ 137.627574] Bluetooth: MGMT ver 1.22
[ 147.830981] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input26
[ 151.378861] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input27
[ 151.418151] Bluetooth: Unexpected start frame (len 46)
[ 175.271934] usb 2-1.2: Product: Bluetooth Radio
[ 175.278823] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 175.279885] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 175.279907] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[ 175.281786] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[ 175.282073] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[ 175.442996] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[ 175.516444] Bluetooth: MGMT ver 1.22
[ 183.165794] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input28
[ 186.733496] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input29
[ 186.779198] Bluetooth: Unexpected start frame (len 46)
[ 221.096861] usb 2-1.2: Product: Bluetooth Radio
[ 221.101430] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 221.102438] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 221.102455] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[ 221.104188] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[ 221.104270] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[ 221.263502] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[ 221.335155] Bluetooth: MGMT ver 1.22
[ 228.996118] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input30
[ 232.525992] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input31
[ 6118.766037] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 6118.767739] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 6118.767759] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[ 6118.768261] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[ 6118.768349] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[ 6118.949028] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[ 6119.018358] Bluetooth: MGMT ver 1.22
[24040.727947] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input38
[24044.272930] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input39
[24075.965392] usb 2-1.2: Product: Bluetooth Radio
[24075.971536] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[24075.972362] Bluetooth: hci0: RTL: rom_version status=0 version=1
[24075.972372] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[24075.976785] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[24075.977353] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[24076.136511] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[24076.208125] Bluetooth: MGMT ver 1.22
[24085.134973] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input40
[24088.644632] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input41
[29609.044921] usb 3-2: Product: Bluetooth Radio
[29609.051019] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[29609.051991] Bluetooth: hci0: RTL: rom_version status=0 version=1
[29609.052001] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[29609.053326] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[29609.053500] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[29609.205011] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[29609.273471] Bluetooth: MGMT ver 1.22
[29712.555136] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input48
[29716.098968] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input49
[31011.708807] input: JBL TUNE660NC (AVRCP) as /devices/virtual/input/input50
[ugjka@ugjka ~]$ journalctl -perr | grep -i -E "usb|bluez|bluetooth|a2dp|headset"
feb 09 19:02:19 ugjka kernel: Bluetooth: Unexpected start frame (len 46)
feb 09 19:02:25 ugjka bluetoothd[527]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
feb 09 19:02:25 ugjka pipewire[977]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-130) idle -> error (Received error event)
feb 09 19:02:27 ugjka bluetoothd[527]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
feb 09 19:02:56 ugjka pipewire[977]: pw.node: (bluez_input.D8_AA_59_95_96_B7.0-130) idle -> error (Received error event)
feb 09 19:02:56 ugjka pipewire[977]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-134) running -> error (Received error event)
feb 09 19:03:15 ugjka bluetoothd[527]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 21:03:36 ugjka bluetoothd[527]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 21:03:37 ugjka pipewire[977]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-154) idle -> error (Received error event)
feb 09 21:03:37 ugjka dbus-broker-launch[522]: Activation request for 'org.bluez' failed.
feb 09 21:03:37 ugjka dbus-broker-launch[522]: Activation request for 'org.bluez' failed.
feb 09 21:03:52 archlinux kernel: usb 2-1.2: device descriptor read/64, error -32
feb 09 21:04:04 ugjka bluetoothd[525]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0x03)
feb 09 21:04:05 ugjka bluetoothd[525]: Failed to clear UUIDs: Failed (0x03)
feb 09 21:04:05 ugjka bluetoothd[525]: Failed to add UUID: Failed (0x03)
feb 09 21:04:05 ugjka bluetoothd[525]: Failed to add UUID: Failed (0x03)
feb 09 21:04:05 ugjka bluetoothd[525]: Failed to add UUID: Failed (0x03)
feb 09 21:05:19 ugjka kernel: Bluetooth: Unexpected start frame (len 46)
feb 09 21:05:43 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
feb 09 21:05:43 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-105) running -> error (Received error event)
feb 09 21:05:45 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
feb 09 21:05:56 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 21:06:21 ugjka kernel: Bluetooth: Unexpected start frame (len 46)
feb 09 21:06:28 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
feb 09 21:06:28 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-130) idle -> error (Received error event)
feb 09 21:06:30 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
feb 09 21:06:33 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 21:06:57 ugjka kernel: Bluetooth: Unexpected start frame (len 46)
feb 09 21:07:03 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Start: Connection timed out (110)
feb 09 21:07:03 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-121) running -> error (Received error event)
feb 09 21:07:05 ugjka bluetoothd[525]: profiles/audio/avdtp.c:cancel_request() Abort: Connection timed out (110)
feb 09 21:07:23 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 09 22:45:46 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 10 13:10:26 ugjka bluetoothd[525]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
feb 10 13:10:26 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-110) running -> error (Received error event)
feb 10 13:24:57 ugjka pipewire[905]: pw.node: (bluez_output.D8_AA_59_95_96_B7.1-109) idle -> error (Received error event)
feb 10 14:44:34 ugjka bluetoothd[525]: src/profile.c:ext_connect() Hands-Free Voice gateway failed connect to D8:AA:59:95:96:B7: Connection reset by peer (104)
feb 10 14:44:34 ugjka bluetoothd[525]: profiles/audio/avdtp.c:avdtp_parse_rej() SET_CONFIGURATION request rejected: Bad Acceptor SEID (18)
Last edited by ugjka (2024-02-10 13:37:19)
https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
Some update seems to have fixed this for me.
https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
If anyone still has this problem, I was a bit lazy and just made an automatic workaround for this, a bash script file that you can run on startup or when needed, which monitors an active bluetooth profile and reconnects the device if it's headset-head-unit or (the 'better' protocol) headset-head-unit-msbc. Of course this script won't work if you intentionally want to switch to headset mode, so you have to stop it in that case. Lastly, this script assumes that only 1 bluetooth device is connected at a time:
while true; do
PROFILE=`pactl list cards | awk -v RS='' '/bluez/' | awk -F': ' '/Active Profile/ { print $2 }'`
if [ "$PROFILE" == "headset-head-unit" ] || [ "$PROFILE" == "headset-head-unit-msbc" ]; then
echo "profile is headset-head-unit"
DEV=`bluetoothctl disconnect | grep "disconnect from .*" | grep -o "[0-9A-Z:]*$"`
bluetoothctl connect $DEV
echo " reconnected to $DEV"
fi
sleep 1
done
As you can see it requires:
awk
pactl
bluetoothctl
PS: There is a 3rd headset mode, "cvsd", but it never gets auto-selected, so it can be safely ignored it seems, at least on my system.
Last edited by millus (2024-08-09 08:49:18)
Offline