우분투 14.04로 업데이트 한 이후 Bluetooth 장치가 유휴 상태가되거나 전원을 껐다가 다시 켤 때마다 기본적으로 전화 통신 설정으로 설정되며 기본값을 a2dp로 설정할 수 없습니다.
블루투스 스피커 와 같은 몇 가지 가능한 솔루션을 검색하고 찾았습니다
. 선호 모드“고 충실도 재생”(A2DP)이 저장
되지 않았지만 나에게는 효과가 없었습니다. Disable=Headset
해당 게시물에서 제안한대로를 사용하면 일시적으로 작동하지만 잠시 후 장치가 연결 해제되면 오디오 장치로 다시 연결되지 않습니다.
Bose Soundlink 헤드폰을 사용하고 있으며 /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
# 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
HSP=false
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=0
# 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