From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Leach Subject: bug#38915: Can't change profile of Bluetooth headphones Date: Sat, 04 Jan 2020 13:30:12 +0000 Message-ID: <87o8vjs61n.fsf@mattleach.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59059) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1injWC-00044o-SE for bug-guix@gnu.org; Sat, 04 Jan 2020 08:31:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1injWA-000536-LP for bug-guix@gnu.org; Sat, 04 Jan 2020 08:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36576) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1injWA-00052w-I6 for bug-guix@gnu.org; Sat, 04 Jan 2020 08:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1injWA-0001eh-Fi for bug-guix@gnu.org; Sat, 04 Jan 2020 08:31:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:57340) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1injVT-0003YS-IF for bug-guix@gnu.org; Sat, 04 Jan 2020 08:30:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1injVR-0003xs-JV for bug-guix@gnu.org; Sat, 04 Jan 2020 08:30:19 -0500 Received: from mx0.mattleach.net ([176.58.118.143]:54816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1injVR-0003vG-9i for bug-guix@gnu.org; Sat, 04 Jan 2020 08:30:17 -0500 Received: from troi.mattleach.net (92.40.248.7.threembb.co.uk [92.40.248.7]) by mx0.mattleach.net (Postfix) with ESMTPSA id 7CE5761C21 for ; Sat, 4 Jan 2020 13:30:14 +0000 (GMT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38915@debbugs.gnu.org Hi Guix! I have a pair of Bluetooth headphones that I I've paired and connected to my guix machine. They show up in the 'configuration' tab of pavucontrol. By default the profile is 'Headset Head Unit (HSP/HFP)'. When I try and change the profile to 'High Fidelity Playback (A2DP Sink)' this fails and the headphones are stuck in the HSP profile. I see the following line in `/var/log/debug' when attempting to switch profiles: --8<---------------cut here---------------start------------->8--- W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink: Not connected --8<---------------cut here---------------end--------------->8--- It looks as though this may have something to do with pulseaudio running as the GDM user: [0]. My current work-around for this is: --8<---------------cut here---------------start------------->8--- $ sudo killall pulseaudio && pulseaudio --8<---------------cut here---------------end--------------->8--- to make pulseaudio run as my user. [0]: https://wiki.debian.org/BluetoothUser/a2dp#Refused_to_switch_profile_to_a2dp_sink:_Not_connected -- Matt