Summary: | cannot select a2dp profile | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Fabrice Bellet <fabrice> |
Component: | modules | Assignee: | pulseaudio-bugs |
Status: | RESOLVED MOVED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | high | CC: | andrzej.mendel, archont, cjunk, crockabiscuit, danielius.kudinskas, diego.ml, dominik, freedesktop, gih, h.danielsson, hxss, im.pankratov, inform, jan, johannes.t, j.orti.alcaine, languitar, lennart, luiz.dentz, mboquien, me, mmoya, n.schnelle, rdieter, sam, schlomo, shippo, snugghash, vitorveiga.eeic |
Version: | unspecified | Keywords: | regression |
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
btmon log of attempt to connect and automatically use a2dp_sink profile.
bluetoothd.log bluetooth-headset_head_unit.log journalctl log of "automatic" headset connection pactl-subscribe log of "automatic" headset connection btmon log of "automatic" headset connection journalctl log of manual headset connection pactl-subscribe log of manual headset connection btmon log of manual headset connection |
Description
Fabrice Bellet
2015-09-24 12:27:49 UTC
Apparently the a2dp profile doesn't initially get connected. It's not PulseAudio's job to connect the profiles, but something is connecting the hsp profile, so I wonder why a2dp doesn't get connected at the same time... The same or similar problem was reported recently in IRC, but we didn't find the culprit at that time. Even though this doesn't appear to be a PulseAudio bug, I'd be very interested to know what the solution is, if you figure out one. I'll add Luiz von Dentz to CC... Luiz, do you have any idea where to start debugging, if only the hsp profile gets connected when turning on a headset, but a2dp starts only working when an explicit "connect" command is given in bluetoothctl? I had the same problem and can verify the same workaround with the following: pulseaudio-git v7.0.34.g9d2b763-1 bluez 5.34-1 Device 00:1F:82:28:93:51 Name: DR-BT101 Alias: DR-BT101 Class: 0x240408 Icon: audio-card Paired: yes Trusted: yes Blocked: no Connected: yes LegacyPairing: no UUID: Headset (00001108-0000-1000-8000-00805f9b34fb) UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb) When the device connects automatically (by powering on after being paired) A2DP is "unavailable". To enable--and subsequently activate--the profile the device must be connected by explicitly giving the "connect 00:1F:82:28:93:51" command to bluetoothctl. I reproduced the same bug with Sony MDR-1RBT. Why does it have the problem with Sony bluetooth products? Can confirm the bug in Kubuntu 16.04 with JBL bluetooth speaker. It seems a similar problem was fixed upstream: https://git.kernel.org/cgit/bluetooth/bluez.git/commit/src/service.c?id=2e2edc36a91d6a8f2c65d793273df28a166d6bed I just tested with this newer bluez, and the bug is still there. This is a headset bug actually, the policy of reconnecting profiles is from the initiator as it may or may not have disabled profiles, like cars normally do have options to have phone calls only or media only. It is actually pretty strange coming from Sony, this used to work quite well with their devices in the past, maybe they have decided to move to another stack an now there is this sort of problem, please add the HCI trace maybe there is something preventing the L2CAP connection to A2DP. (In reply to Luiz Augusto von Dentz from comment #7) > stack an now there is this sort of problem, please add the HCI trace maybe > there is something preventing the L2CAP connection to A2DP. Unfortunately, the sony headset was taken by someone else. I don't have it anymore. (In reply to Luiz Augusto von Dentz from comment #7) > This is a headset bug actually, the policy of reconnecting profiles is from > the initiator as it may or may not have disabled profiles, like cars > normally do have options to have phone calls only or media only. > > It is actually pretty strange coming from Sony, this used to work quite well > with their devices in the past, maybe they have decided to move to another > stack an now there is this sort of problem, please add the HCI trace maybe > there is something preventing the L2CAP connection to A2DP. oh yes, you're right, there's an action to be performed on the device (press on the play/pause jog switch), that makes the a2dp_sink profile available and active in pulseaudio. I have a Sony MDR-ZX220BT bluetooth headset that encounters this problem. I'm using Ubuntu 16.10, bluez "5.41-0ubuntu3", and pulseaudio "1:9.0-2ubuntu2.1". From https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1438510 https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 it looks like the sequence that works is: 1. Select the "off" profile in pulseaudio. 2.1 Disconnect the bluetooth earphones. 2.2 Reconnect the bluetooth earphones. 3. Select the "a2dp_sink" profile in pulseaudio. Or for commands: 1. pactl set-card-profile bluez_card.00_18_09_62_4B_98 off 2. bluetoothctl 2.1 disconnect 00:18:09:62:4B:98 2.2 connect 00:18:09:62:4B:98 3. pactl set-card-profile bluez_card.00_18_09_62_4B_98 a2dp_sink Bluetooth users are resorting to a scripted version of the above as a workaround: https://gist.github.com/pylover/d68be364adac5f946887b85e6ed6e7ae#file-a2dp-py What I'm seeing in /var/log/syslog if I select "a2dp_sink" as the profile, then disconnect, and reconnect: Nov 25 00:47:50 fireflower pulseaudio[2178]: [pulseaudio] module-bluez5-device.c: Default profile not connected, selecting off profile Nov 25 00:47:50 fireflower bluetoothd[970]: /org/bluez/hci0/dev_00_18_09_62_4B_98/fd17: fd(24) ready Nov 25 00:47:50 fireflower pulseaudio[2178]: [pulseaudio] bluez5-util.c: Transport TryAcquire() failed for transport /org/bluez/hci0/dev_00_18_09_62_4B_98/fd17 (Operation Not Authorized) Nov 25 00:47:50 fireflower kernel: [ 7852.918655] input: 00:18:09:62:4B:98 as /devices/virtual/input/input37 The message from bluetoothd "fd(24) ready" showing up then makes me wonder if this is a race between pulseaudio and the bluetooth connection? If I then run: pactl set-card-profile bluez_card.00_18_09_62_4B_98 a2dp_sink I get nothing new in /var/log/syslog . If I run: pactl set-card-profile bluez_card.00_18_09_62_4B_98 off I get nothing new in /var/log/syslog . If I again run: pactl set-card-profile bluez_card.00_18_09_62_4B_98 a2dp_sink I get this output: Failure: Input/Output error and /var/log/syslog logs: Nov 25 00:52:26 fireflower pulseaudio[2178]: [pulseaudio] bluez5-util.c: Transport Acquire() failed for transport /org/bluez/hci0/dev_00_18_09_62_4B_98/fd17 (Operation Not Authorized) If I run pactl list cards | tail -n 26 I see: Card #18 Name: bluez_card.00_18_09_62_4B_98 Driver: module-bluez5-device.c Owner Module: 43 Properties: device.description = "MDR-ZX220BT" device.string = "00:18:09:62:4B:98" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_00_18_09_62_4B_98" bluez.class = "0x240404" bluez.alias = "MDR-ZX220BT" device.icon_name = "audio-headset-bluetooth" device.intended_roles = "phone" Profiles: headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: yes) a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes) off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: off Ports: headset-output: Headset (priority: 0, latency offset: 0 usec, available) Part of profile(s): headset_head_unit, a2dp_sink headset-input: Headset (priority: 0, latency offset: 0 usec) Part of profile(s): headset_head_unit If I disconnect and connect the device via bluetoothctl, /var/log/syslog logs: Nov 25 00:55:38 fireflower acpid: input device has been disconnected, fd 15 and Nov 25 00:57:02 fireflower kernel: [ 8404.425497] input: 00:18:09:62:4B:98 as /devices/virtual/input/input38 If in the "Sound" GUI (System Settings > Sound), I go to the Output tab, and select the headset, /var/log/syslog logs: Nov 25 00:57:37 fireflower pulseaudio[2178]: [pulseaudio] backend-native.c: connect(): Function not implemented If in the pulseaudio "Volume Control" UI I go to the Configuration tab, it shows the profile is "Off". If there, I select "High Fidelity Playback (A2DP Sink), /var/log/syslog logs: Nov 25 01:00:55 fireflower bluetoothd[970]: /org/bluez/hci0/dev_00_18_09_62_4B_98/fd18: fd(24) ready Created attachment 128181 [details]
btmon log of attempt to connect and automatically use a2dp_sink profile.
Attached a btmon log of attempt to connect and automatically use a2dp_sink profile.
Well the logs looks completely different from the original problem, perhaps the logs of bluetoothd can show if there is perhaps another client acquiring the transport which would explain the error: Nov 25 00:47:50 fireflower pulseaudio[2178]: [pulseaudio] bluez5-util.c: Transport TryAcquire() failed for transport /org/bluez/hci0/dev_00_18_09_62_4B_98/fd17 (Operation Not Authorized) That another client could be gdm's pulseaudio instance. See comment 56 in bug 73325 for how to disable gdm's use of bluetooth: https://bugs.freedesktop.org/show_bug.cgi?id=73325#c56 I faced a similar issue with a2dp_sink profile where it is "not available" and what I did prior to connecting the Bluetooth headset in bluetoothctl was to first run pulseaudio --check -v to check if the pulseaudio daemon is running. If it is not running, issue "pulseaudio -D" and then check if it is running. Once the pulseaudio daemon is running, then only perform pairing and connecting in bluetoothctl. Hi, The same bug for me. Ubuntu 16.04. Packets: * libbluetooth3:amd64 5.37-0ubuntu5 * pulseaudio-module-bluetooth 1:8.0-0ubuntu3.1 * bluez 5.37-0ubuntu5 * pulseaudio 1:8.0-0ubuntu3.1 Speakers JBL Charge 2 can't return after disconnecting. The python script a2dp.py published above restores connection. Is there any chance to solve this in 2017? How can I help with this? (I'm a programmer). Is is a bug of pulseaudio or blueZ? (In reply to Slava Grig from comment #15) > Is there any chance to solve this in 2017? How can I help with this? (I'm a > programmer). Is is a bug of pulseaudio or blueZ? If you're a programmer, you can dive into pulseaudio and bluez code and figure out why it's not working. Have you disabled bluetooth for gdm, as hinted to in comment #13? Ruling out the gdm problem would be the first step. If the a2dp profile in "pactl list cards" shows up as "available: no", then it's likely a bluez bug. An "unavailable" bluetooth profile in pulseaudio means that bluez tells pulseaudio that the profile isn't connected. Raising the priority due to downstream activity (affects a number of popular devices, directly impacts usability, leaves mainstream desktop Linux distros at a feature loss compared to non-free OSes, etc.). Also personally confirming that it affects the Bose Color SoundLink, and the workaround script is no help with it. This bug should not have gone unresolved for two years. A more or less vanilla Ubuntu 16.04 installation, this bug is triggered. Python script provided (a2dp.py) works like a charm and returns sound to device. (In reply to Daniel from comment #18) > A more or less vanilla Ubuntu 16.04 installation, this bug is triggered. > Python script provided (a2dp.py) works like a charm and returns sound to > device. Where can I download a2dp.py? I want to make MDR-1RBT work on my linux. (In reply to crocket from comment #19) > (In reply to Daniel from comment #18) > > A more or less vanilla Ubuntu 16.04 installation, this bug is triggered. > > Python script provided (a2dp.py) works like a charm and returns sound to > > device. > > Where can I download a2dp.py? I want to make MDR-1RBT work on my linux. Link provided above in comment #10 https://gist.github.com/pylover/d68be364adac5f946887b85e6ed6e7ae#file-a2dp-py Unfortunately, with MDR-1RBT, a2dp_sink is not available. Thus, a2dp.py cannot work in my case. The only real errors I see in journalctl are E: [pulseaudio] backend-native.c: connect(): Function not implemented W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink: Not connected Wait. The proposed workaround worked for MDR-1RBT. I followed the steps below. 1. Turn on MDR-1RBT 2. Let it be paired and connected to automatically 3. Execute `connect 00:18:09:1F:C3:29` in bluetoothctl 4. Execute `pactl set-card-profile bluez_card.00_18_09_1F_C3_29 a2dp_sink` on a shell. 5. Select MDR-1RBT's A2DP in sound settings If there was a workaround, people must have found the exact cause of the problem. What is the problem? What is the cause? What is the solution? (In reply to crocket from comment #22) > Wait. The proposed workaround worked for MDR-1RBT. > I followed the steps below. > > 1. Turn on MDR-1RBT > 2. Let it be paired and connected to automatically > 3. Execute `connect 00:18:09:1F:C3:29` in bluetoothctl > 4. Execute `pactl set-card-profile bluez_card.00_18_09_1F_C3_29 a2dp_sink` > on a shell. > 5. Select MDR-1RBT's A2DP in sound settings > > If there was a workaround, people must have found the exact cause of the > problem. > What is the problem? What is the cause? What is the solution? If you could please add some logs when connecting, syslog of bluetoothd and pulseaudio, then we can figure out if it needs some special handling. Created attachment 130342 [details]
bluetoothd.log
I attached bluetooth.log as a file because it is somewhat long.
I paste journalctl log below because it is short.
journalctl.log:
----------------------------------------
I don't know what this is.
Mar 21 21:11:42 arch-server pulseaudio[16130]: W: [pulseaudio] module-bluez5-device.c: Profile has no transport
-----------------------------------------
When I tried to select MDR-1RBT in gnome sound settings while MDR-1RBT's active profile was off.
Mar 21 21:12:43 arch-server pulseaudio[16130]: E: [pulseaudio] backend-native.c: connect(): Function not implemented
Mar 21 21:12:47 arch-server pulseaudio[16130]: E: [pulseaudio] backend-native.c: connect(): Function not implemented
Created attachment 130343 [details]
bluetooth-headset_head_unit.log
I haven't found a way to get verbose pulseaudio log output on gnome.
According to my test, A2DP works for MDR-1RBT after reconnection.
But, I can't set the active profile to headset_head_unit for MDR-1RBT.
Read the following errors I got when I tried headset_head_unit.
~> pactl set-card-profile bluez_card.00_18_09_1F_C3_29 headset_head_unit
Failure: Input/Output error
journalctl:
E: [pulseaudio] backend-native.c: connect(): Function not implemented
I attached bluetoothd log recorded when I tried headset_head_unit.
bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device 00:18:09:1F:C3:29 connected eir_len 5 bluetoothd[16274]: src/adapter.c:dev_disconnected() Device 00:18:09:1F:C3:29 disconnected, reason 3 bluetoothd[16274]: src/adapter.c:adapter_remove_connection() bluetoothd[16274]: plugins/policy.c:disconnect_cb() reason 3 bluetoothd[16274]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:18:09:1F:C3:29 type 0 status 0xe bluetoothd[16274]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e bluetoothd[16274]: src/device.c:device_bonding_failed() status 14 bluetoothd[16274]: src/adapter.c:resume_discovery() bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device 00:18:09:1F:C3:29 connected eir_len 5 bluetoothd[16274]: src/adapter.c:dev_disconnected() Device 00:18:09:1F:C3:29 disconnected, reason 3 bluetoothd[16274]: src/adapter.c:adapter_remove_connection() bluetoothd[16274]: plugins/policy.c:disconnect_cb() reason 3 bluetoothd[16274]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:18:09:1F:C3:29 type 0 status 0xe bluetoothd[16274]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e bluetoothd[16274]: src/device.c:device_bonding_failed() status 14 bluetoothd[16274]: src/adapter.c:resume_discovery() bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device 00:18:09:1F:C3:29 connected eir_len 5 bluetoothd[16274]: src/adapter.c:dev_disconnected() Device 00:18:09:1F:C3:29 disconnected, reason 3 bluetoothd[16274]: src/adapter.c:adapter_remove_connection() bluetoothd[16274]: plugins/policy.c:disconnect_cb() reason 3 bluetoothd[16274]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:18:09:1F:C3:29 type 0 status 0xe bluetoothd[16274]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e bluetoothd[16274]: src/device.c:device_bonding_failed() status 14 bluetoothd[16274]: src/adapter.c:resume_discovery() bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device 00:18:09:1F:C3:29 connected eir_len 5 bluetoothd[16274]: src/adapter.c:dev_disconnected() Device 00:18:09:1F:C3:29 disconnected, reason 3 bluetoothd[16274]: src/adapter.c:adapter_remove_connection() bluetoothd[16274]: plugins/policy.c:disconnect_cb() reason 3 bluetoothd[16274]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:18:09:1F:C3:29 type 0 status 0xe bluetoothd[16274]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e bluetoothd[16274]: src/device.c:device_bonding_failed() status 14 bluetoothd[16274]: src/adapter.c:resume_discovery() bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device 00:18:09:1F:C3:29 connected eir_len 5 bluetoothd[16274]: src/profile.c:ext_confirm() incoming connect from 00:18:09:1F:C3:29 This sounds strange, it is as if the connection is interrupted several times before it succeeds, anyway once past this line all looks fine: bluetoothd[16274]: src/service.c:change_state() 0x250c1a0: device 00:18:09:1F:C3:29 profile Headset Voice gateway state changed: connecting -> connected (0) bluetoothd[16274]: profiles/audio/sink.c:sink_set_state() State changed /org/bluez/hci0/dev_00_18_09_1F_C3_29: SINK_STATE_CONNECTING -> SINK_STATE_CONNECTED And there is some client acquiring the transport: bluetoothd[16274]: profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_00_18_09_1F_C3_29/fd0: TRANSPORT_STATE_IDLE -> TRANSPORT_STATE_REQUESTING bluetoothd[16274]: profiles/audio/transport.c:media_request_create() Request created: method=Acquire id=4 bluetoothd[16274]: profiles/audio/transport.c:media_owner_add() Owner :1.2679 Request Acquire bluetoothd[16274]: profiles/audio/transport.c:media_transport_set_owner() Transport /org/bluez/hci0/dev_00_18_09_1F_C3_29/fd0 Owner :1.2679 bluetoothd[16274]: profiles/audio/avdtp.c:session_cb() bluetoothd[16274]: profiles/audio/avdtp.c:avdtp_parse_resp() START request succeeded bluetoothd[16274]: profiles/audio/a2dp.c:start_cfm() Source 0x2503830: Start_Cfm bluetoothd[16274]: /org/bluez/hci0/dev_00_18_09_1F_C3_29/fd0: fd(34) ready bluetoothd[16274]: profiles/audio/transport.c:media_owner_remove() Owner :1.2679 Request Acquire bluetoothd[16274]: profiles/audio/transport.c:transport_set_state() State changed /org/bluez/hci0/dev_00_18_09_1F_C3_29/fd0: TRANSPORT_STATE_REQUESTING -> TRANSPORT_STATE_ACTIVE bluetoothd[16274]: profiles/audio/a2dp.c:setup_unref() 0x25222c0: ref=0 bluetoothd[16274]: profiles/audio/a2dp.c:setup_free() 0x25222c0 bluetoothd[16274]: profiles/audio/avdtp.c:avdtp_unref() 0x250d620: ref=2 bluetoothd[16274]: profiles/audio/avdtp.c:avdtp_sep_set_state() stream state changed: OPEN -> STREAMING bluetoothd[16274]: profiles/audio/sink.c:sink_set_state() State changed /org/bluez/hci0/dev_00_18_09_1F_C3_29: SINK_STATE_CONNECTED -> SINK_STATE_PLAYING Perhaps this is GDM instance taking over? Btw, have we make sure GDM instance disables its endpoints when it is no longer active? > This sounds strange, it is as if the connection is interrupted several times before it succeeds When I turn on MDR-1RBT, the connection is severed by an unknown force several times before the connection succeeds. > Perhaps this is GDM instance taking over? Btw, have we make sure GDM instance disables its endpoints when it is no longer active? No, GDM is not running pulseaudio. I explicitly disabled pulseaudio in GDM. ~> ps -f (pgrep pulseaudio) UID PID PPID C STIME TTY STAT TIME CMD crocket 2038 1936 0 10:52 ? S<sl 0:04 /usr/bin/pulseaudio --daemonize=no > there is some client acquiring the transport I played music after A2DP became available to make sure A2DP actually worked. I'm on Fedora 26, using PulseAudio 10.0 and I'm having the same issue with my Sony MDR100ABN headset. I've tried all sorts of things, and the only thing that consistently works is to: 1. Let it connect automatically when I turn on my headset 2. Disconnect through bluetoothctl 3. Reconnect through bluetoothctl 4. Use pacmd set-card-profile to set a2dp_sink I've tried disabling the GDM pulseaudio, changing 'load-module module-bluetooth-discover headset=<mode>' in default.pa, adding 'load-module module-switch-on-connect' to default.pa, adding 'Disable=Headset' to '[General]' in bluetooth/main.conf, and pretty much any combination of those changes. (In reply to Diego Fernandez from comment #28) > I'm on Fedora 26, using PulseAudio 10.0 and I'm having the same issue with > my Sony MDR100ABN headset. I've tried all sorts of things, and the only > thing that consistently works is to: > > 1. Let it connect automatically when I turn on my headset > 2. Disconnect through bluetoothctl > 3. Reconnect through bluetoothctl > 4. Use pacmd set-card-profile to set a2dp_sink For me this is also the only thing that works, apart from the fact that I can enable A2DP within blueman after the explicit connection. Archlinux, no GDM running. My headset is Sony DR-BT50. 4.13.12-1-ARCH. This is not gdm problem. I use lightdm + xfce. And have this bug. Nevertheless I was try to disable lightdm, reboot, startx - the bug still here. Created attachment 135608 [details]
journalctl log of "automatic" headset connection
Created attachment 135609 [details]
pactl-subscribe log of "automatic" headset connection
Created attachment 135610 [details]
btmon log of "automatic" headset connection
Created attachment 135611 [details]
journalctl log of manual headset connection
Created attachment 135612 [details]
pactl-subscribe log of manual headset connection
Created attachment 135613 [details]
btmon log of manual headset connection
added some logs. Please check it My system: 4.13.12-1-ARCH BT: local/blueberry 1.1.15-1 Bluetooth configuration tool local/bluez 5.47-2 Daemons for the bluetooth protocol stack local/bluez-libs 5.47-2 Deprecated libraries for the bluetooth protocol stack local/bluez-tools 0.2.0-1 A set of tools to manage Bluetooth devices for Linux local/bluez-utils 5.47-2 Development and debugging utilities for the bluetooth protocol stack local/gnome-bluetooth 3.26.0+1+g3875844-1 The GNOME Bluetooth Subsystem local/pulseaudio-bluetooth 11.1-1 Bluetooth support for PulseAudio local/sbc 1.3-1 Bluetooth Subband Codec (SBC) library Pulse: local/libcanberra-pulse 0.30+2+gc0620e4-1 PulseAudio plugin for libcanberra local/libpulse 11.1-1 A featureful, general-purpose sound server (client library) local/pavucontrol 3.0-4 PulseAudio Volume Control local/pulseaudio 11.1-1 A featureful, general-purpose sound server local/pulseaudio-alsa 2-3 ALSA Configuration for PulseAudio local/pulseaudio-bluetooth 11.1-1 Bluetooth support for PulseAudio local/xfce4-pulseaudio-plugin 0.3.2-1 (xfce4-goodies) Pulseaudio plugin for Xfce4 panel wrote this fully automated(you no need to manually run scripts or specify mac addresses) udev rule for temporary solve the problem. It work with already paired and new headsets. https://gist.github.com/hxss/a3eadb0cc52e58ce7743dff71b92b297 @Sergey: thanks for your udev script. Would you add a comment to your script that bluez-tools package is a dependency (for bt-device)? (Standard dependency for bluetooth sound seems to be only bluez-utils.) (In reply to Milan Knížek from comment #39) > @Sergey: thanks for your udev script. > > Would you add a comment to your script that bluez-tools package is a > dependency (for bt-device)? (Standard dependency for bluetooth sound seems > to be only bluez-utils.) Dependencies list added. Isn't this a duplicate of bug 73325? Dominik, no. For me all protocols works fine. But only if I connect to headset manual from bluetoothctl. We need exactly AUTOMATIC connection, when headset trying to connect to PC. Just want to confirm this bug with SONY MDR-XB650BT on Kernel 4.14.52-1-MANJARO. The script from Comment 38 helped me. Can also confirm the issue with Sony WH-H900N headphones, Arch with kernel 4.17.4, BlueZ 5.50, PulseAudio 12.0. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/525. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.