After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697545 - Multiple entries generated in GCC Sound list for bluetooth device
Multiple entries generated in GCC Sound list for bluetooth device
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Sound
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Control center sound maintainer(s)
Control-Center Maintainers
3.10
: 697830 708934 736844 741676 744622 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-04-08 11:01 UTC by Colin Beckingham
Modified: 2015-04-01 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Duplicate BT audio output devices (48.83 KB, image/png)
2014-06-17 19:11 UTC, Geoffrey Pursell
  Details
Bug fix (1.31 KB, patch)
2014-09-18 09:46 UTC, David Henningsson
committed Details | Review

Description Colin Beckingham 2013-04-08 11:01:50 UTC
(Opensuse 12.3, gnome-bluetooth 3.6.1)

In summary:

1. using a Belkin USB dongle with a Samsung WEP 475 headset.
2. detect and pair the headset, no problem. Headset is registered in PA list
ready for next connection.
3. reconnect the headset, reconnection with pairing takes place automatically,
one entry appears in the gnome control center (Sound) list. Select headset for input & output
4. about 10 sec. later, a second entry for the same device appears in the list.
Both may be active, sometimes selecting the first causes the GCC window to crash
5. with 2 devices in the list, select headset for output and click "test
speakers", generates hissing.
6. third entry appears in the list
7. select any of the three items and repeat test speakers, another entry
appears. Repeat, another entry appears
8. disconnect BT headset, only one entry disappears. 
9. click one of the remaining BT entries, test speakers generates output in
onboard audio.
10. If I repeat the same procedure with pavucontrol window open the behaviour is slightly different, but multiple entries are still created in the GCC Sound window, but entries come and go correctly in the pavucontrol window, always the single entry when the device is activated. So I think this is perhaps not PA related.

I initiated a query at mailing list linux-bluetooth, the result of the
conversation is titled "Re: Bluetooth pulseaudio multiple device entries"

The conversation with linux-bluetooth has been cc'd to pulseaudio-discuss, but
there has been no response from that list so far.

I did post a bug to gnome-bluetooth but I am assured that gnome-bluetooth is not involved in this error.
Comment 1 Bastien Nocera 2013-04-22 11:40:45 UTC
*** Bug 697830 has been marked as a duplicate of this bug. ***
Comment 2 Bastien Nocera 2013-09-30 06:37:41 UTC
*** Bug 708934 has been marked as a duplicate of this bug. ***
Comment 3 Geoffrey Pursell 2014-06-17 19:11:51 UTC
Created attachment 278620 [details]
Duplicate BT audio output devices
Comment 4 Geoffrey Pursell 2014-06-17 19:13:54 UTC
I can confirm this in Ubuntu/Gnome 14.04 with Gnome 3.12.

Using a Plantronics Voyager Pro+ headset, with  
IOGEAR GBU521 USB Bluetooth 4.0 Micro Adapter. The adapter reports itself in lsusb as ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0.
Comment 5 Bastien Nocera 2014-09-18 09:26:18 UTC
*** Bug 736844 has been marked as a duplicate of this bug. ***
Comment 6 David Henningsson 2014-09-18 09:46:41 UTC
Created attachment 286455 [details] [review]
Bug fix

Please test this patch (it's for libgnome-volume-control and if it fixes the problem, commit it.
Comment 7 Bastien Nocera 2014-12-18 07:38:24 UTC
*** Bug 741676 has been marked as a duplicate of this bug. ***
Comment 8 Bastien Nocera 2015-02-17 10:02:34 UTC
*** Bug 744622 has been marked as a duplicate of this bug. ***
Comment 9 Karol Babioch 2015-02-17 10:47:25 UTC
(In reply to David Henningsson from comment #6)
> Created attachment 286455 [details] [review] [review]
> Bug fix
> 
> Please test this patch (it's for libgnome-volume-control and if it fixes the
> problem, commit it.

This patch does NOT work as intended. I can no longer switch the profile of my Bluetooth device from HSP/HFP to A2DP. Without the patch applied, I can switch the profile, but the device is re-added to the list for each time I switch the profile. Let me know if you need any further information and/or want to test some other patches.
Comment 10 Bastien Nocera 2015-04-01 12:13:06 UTC
Committed in libgnome-volume-control, will need to be picked by the various modules now.
Comment 11 Bastien Nocera 2015-04-01 14:17:27 UTC
Fixed in branches gnome-3-14 and master (for 3.16 and later).