I have a problem with using bluetooth. When i connect my qudelix 5k to my laptop its configured as a headset head unit. I can
t get a2dp working.
pactl list cards shows me:
Card #102
Name: bluez_card.98_8E_79_00_6D_7B
Driver: module-bluez5-device.c
Owner Module: n/a
Properties:
api.bluez5.address = "98:8E:79:00:6D:7B"
api.bluez5.class = "0x240418"
api.bluez5.connection = "disconnected"
api.bluez5.device = ""
api.bluez5.icon = "audio-headphones"
api.bluez5.path = "/org/bluez/hci0/dev_98_8E_79_00_6D_7B"
bluez5.auto-connect = "[ hfp_hf hsp_hs a2dp_sink ]"
bluez5.profile = "off"
device.alias = "Qudelix-5K"
device.api = "bluez5"
device.bus = "bluetooth"
device.description = "Qudelix-5K"
device.form_factor = "headphone"
device.icon_name = "audio-headphones-bluetooth"
device.name = "bluez_card.98_8E_79_00_6D_7B"
device.product.id = "0xffff"
device.string = "98:8E:79:00:6D:7B"
device.vendor.id = "bluetooth:000a"
media.class = "Audio/Device"
factory.id = "14"
client.id = "33"
object.id = "74"
object.serial = "102"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
headset-head-unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 1, available: yes)
headset-head-unit-cvsd: Headset Head Unit (HSP/HFP, codec CVSD) (sinks: 1, sources: 1, priority: 2, available: yes)
headset-head-unit-msbc: Headset Head Unit (HSP/HFP, codec mSBC) (sinks: 1, sources: 1, priority: 3, available: yes)
Active Profile: headset-head-unit-msbc
Ports:
headphone-hf-input: Handsfree (type: Headphones, priority: 0, latency offset: 0 usec, available)
Properties:
port.type = "headphones"
Part of profile(s): headset-head-unit, headset-head-unit-cvsd, headset-head-unit-msbc
headphone-hf-output: Handsfree (type: Headphones, priority: 0, latency offset: 0 usec, available)
Properties:
port.type = "headphones"
Part of profile(s): headset-head-unit, headset-head-unit-cvsd, headset-head-unit-msbc
switching to a2dp via pactl set-card-profile 102 a2dp_sink give me "Failure: No such entity
"
sudo systemctl status bluetooth shows:
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
Active: active (running) since Tue 2023-01-03 11:27:18 CET; 37min ago
Docs: man:bluetoothd(8)
Main PID: 3042 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 19027)
Memory: 1.1M
CPU: 224ms
CGroup: /system.slice/bluetooth.service
└─3042 /usr/lib/bluetooth/bluetoothd
Jan 03 11:56:59 callj-latitude7285 bluetoothd[3042]: Endpoint registered: sender=:1.33 path=/MediaEndpoint/A2DPSource/faststream
Jan 03 11:56:59 callj-latitude7285 bluetoothd[3042]: Endpoint registered: sender=:1.33 path=/MediaEndpoint/A2DPSource/faststream_duplex
Jan 03 11:56:59 callj-latitude7285 bluetoothd[3042]: Endpoint registered: sender=:1.33 path=/MediaEndpoint/A2DPSink/opus_05
Jan 03 11:56:59 callj-latitude7285 bluetoothd[3042]: Endpoint registered: sender=:1.33 path=/MediaEndpoint/A2DPSource/opus_05
Jan 03 11:56:59 callj-latitude7285 bluetoothd[3042]: Endpoint registered: sender=:1.33 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Jan 03 11:56:59 callj-latitude7285 bluetoothd[3042]: Endpoint registered: sender=:1.33 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Jan 03 11:57:03 callj-latitude7285 bluetoothd[3042]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 98:8E:79:00:6D:7B: Connection refused (111)
Jan 03 11:57:03 callj-latitude7285 bluetoothd[3042]: sdp_extract_attr: Unknown data descriptor : 0x1e terminating
Jan 03 11:57:05 callj-latitude7285 bluetoothd[3042]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 98:8E:79:00:6D:7B: Connection refused (111)
Jan 03 11:57:07 callj-latitude7285 bluetoothd[3042]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 98:8E:79:00:6D:7B: Connection refused (111)
I don`t know what is wrong.