Выбор A2DP ничего не меняет. Какой файл конфигурации является рабочим?

Выбор A2DP ничего не меняет. Какой файл конфигурации является рабочим?
Xubuntu 14.04.3
Thinkpad t450s
Mpow Swift headset
$ bluetoothd -v
4.101
$ pulseaudio -v
4.0

A2DP работал (после того, как я следовал другим темам по настройке файла /etc/bluetooth/audio.conf). Раньше мне удавалось отключить и снова подключить гарнитуру. Мне пришлось бы вручную выбрать A2DP вместо HFP/HSP, но это работало. Я не менял никаких версий и не запускал обновление системы, но что-то произошло, потому что теперь он ничего не делает, когда я выбираю A2DP. Если выбрано «Выкл.», то выбор A2DP приведет к отсутствию звука. Если выбрано «HFP/HSP», то выбор A2DP приведет к тому, что будет по-прежнему выводиться HFP/HSP.

Есть ли у кого-нибудь рабочая настройка, чтобы опубликовать свой audio.conf или любые другие файлы/настройки, чтобы я мог сравнить их с тем, что есть у меня?

Есть ли настройка, позволяющая выбрать A2DP по умолчанию?

Заранее спасибо!

Вот мой audio.conf. (Я пробовал включить Socket — тот же результат. Я пробовал включить HFP — тот же результат.)

$ sudo cat /etc/bluetooth/audio.conf
# Configuration file for the audio service

# This section contains options which are not specific to any
# particular interface
[General]

# Switch to master role for incoming connections (defaults to true)
#Master=true

# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Gateway,Source,Socket
#Enable=Gateway,Source
Enable=Source,Sink,Headset,Gateway,Control,Media
Disable=Socket

# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
#SCORouting=PCM

# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect the
# other one automatically so the default setting of true is usually a good
# idea.
AutoConnect=true

# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
[Headset]

# Set to true to support HFP, false means only HSP is supported
# Defaults to true
HFP=false

# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=1

# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incoming call starts. Default settings are restored after
# call is answered or rejected. Page scan interval is much shorter and page
# scan type changed to interlaced. Such allows faster connection initiated
# by a headset.
FastConnectable=false

# Just an example of potential config options for the other interfaces
[A2DP]
SBCSources=1
MPEG12Sources=0

решение1

Хорошо, я попробовал отключить гарнитуру, и это полностью убило ее. После выбора будет просто (отключено), так что звук не будет выводиться:

Enable=Source,Sink,Gateway,Control,Media
Disable=Socket,Headset

$ sudo service bluetooth restart 
bluetooth stop/waiting
bluetooth start/running, process 8552
$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-controller snd-hda-codec snd-hwdep snd-pcm snd-timer (failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-controller snd-hda-codec snd-hwdep snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-controller snd-hda-codec snd-hwdep snd-pcm snd-timer.
$ pulseaudio -k

Затем я поставил его обратно, и он снова заработал:

Enable=Source,Sink,Gateway,Control,Media,Headset
Disable=Socket

$ sudo service bluetooth restart 
bluetooth stop/waiting
bluetooth start/running, process 15071

Какой в ​​этом смысл, я не знаю. Иногда Linux — это худшее!

Связанный контент