probleme avec le bluetooth Le sujet est résolu

Demande d'aide : c'est ici.
Répondre
tuxique
Membre
Membre
Messages : 24
Enregistré le : 17 août 2021, 00:50
Status : Hors ligne

Salut je suis sur sid, environnement bureau KDE.

Depuis une mise a jour de pulseaudio, Bluetooth ne se connecte plus a mes écouteurs. je peux scanner et detecter les ecouteur, je peux les jumeler, mais je peux pas me connecter dessus, que ce soit avec en ligne de commande avec bluetoothctl ou sur le bureau en mode graphique.

Et si je fais pulseaudio --start et que j'essaie de connecter mes écouteurs, la connexion se fait mais le matériel n'est pas détecter et j'ai pas de sortie de son en vérité.

j'ai essaye la solution proposer dans la section truc et astuce du forum par piratebab et tout le materiel disparait speaker compris de pavu quand je killall pipewire et pulseaudio -k pulseaudio --start ne change rien.

# Defaults for bluez

# start bluetooth on boot?
# compatibility note: if this variable is _not_ found bluetooth will start
BLUETOOTH_ENABLED=1

# This setting used to switch HID devices (e.g mouse/keyboard) to HCI mode, that
# is you will have bluetooth functionality from your dongle instead of only
# HID. This is accomplished for supported devices by udev in
# /lib/udev/rules.d/62-bluez-hid2hci.rules by invoking hid2hci with correct
# parameters.
# See /usr/share/doc/bluez/NEWS.Debian.gz for further information.

# Older daemons like pand dund and hidd can be found in bluez-compat package as
# they are deprecated and provided for backward compatibility only.

# Note that not every bluetooth dongle is capable of switching back to HID mode,
# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
HID2HCI_ENABLED=0
HID2HCI_UNDO=0


sudo systemctl status bluetooth
[sudo] password for :
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-11-15 17:46:04 EST; 5min ago
Docs: man:bluetoothd(8)
Main PID: 857 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 38319)
Memory: 10.0M
CPU: 32ms
CGroup: /system.slice/bluetooth.service
└─857 /usr/libexec/bluetooth/bluetoothd

Nov 15 17:46:04 systemd[1]: Starting Bluetooth service...
Nov 15 17:46:04 bluetoothd[857]: Bluetooth daemon 5.61
Nov 15 17:46:04 bluetoothd[857]: Starting SDP server
Nov 15 17:46:04 bluetoothd[857]: Bluetooth management interface 1.21 initialized
Nov 15 17:46:04 bluetoothd[857]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
Nov 15 17:46:04 bluetoothd[857]: sap-server: Operation not permitted (1)
Nov 15 17:46:04 systemd[1]: Started Bluetooth service.
Nov 15 17:47:16 bluetoothd[857]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for D0:8A:55:BF:AA:90: Protocol not available


fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: 1350 F.... wireplumber
/dev/snd/controlC1: 1350 F.... wireplumber
/dev/snd/seq: 1348 F.... pipewire


pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 71
Tile Size: 65472
User Name:
Host Name:
Server Name: PulseAudio (on PipeWire 0.3.40)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 860e:1d44

Code : Tout sélectionner

sudo cat /var/log/syslog | grep -i protocol 
Nov 15 17:30:39  bluetoothd[852]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for D0:8A:55:BF:AA:90: Protocol not available
Nov 15 17:30:51  bluetoothd[852]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for D0:8A:55:BF:AA:90: Protocol not available
Nov 15 17:37:07  pulseaudio[61376]: Failed to load module "module-native-protocol-unix" (argument: ""): initialization failed.
Nov 15 17:41:10  pipewire[61663]: mod.protocol-native: server 0x563fd7dfaa20: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
Nov 15 17:41:10  pipewire[61663]: pw.conf: 0x563fd7de06f0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
Nov 15 17:41:44  pipewire[61666]: mod.protocol-native: server 0x5608523489e0: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
Nov 15 17:41:44  pipewire[61666]: pw.conf: 0x56085232e6b0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
Nov 15 17:47:16  bluetoothd[857]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for D0:8A:55:BF:AA:90: Protocol not available
Nov 15 17:59:56  bluetoothd[857]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for D0:8A:55:BF:AA:90: Protocol not available
Nov 15 18:43:42  pipewire-pulse[1349]: mod.protocol-pulse: client 0x559039e7ce10: send channel:-1 20, error -32: Broken pipe
Nov 15 18:48:30  pipewire-pulse[1349]: mod.protocol-pulse: client 0x559039f1a910: send channel:-1 20, error -32: Broken pipe

Code : Tout sélectionner

$ pulseaudio
W: [pulseaudio] pid.c: Stale PID file, overwriting.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] socket-server.c: bind(): Address already in use
E: [pulseaudio] module.c: Failed to load module "module-native-protocol-unix" (argument: ""): initialization failed.
E: [pulseaudio] module-bluez5-device.c: Failed to get device path from module arguments
E: [pulseaudio] module.c: Failed to load module "module-bluez5-device" (argument: ""): initialization failed.
E: [pulseaudio] module.c: Module "module-bluez5-discover" should be loaded once at most. Refusing to load.
E: [pulseaudio] main.c: D-Bus name org.pulseaudio.Server already taken.
Merci.
Vivement un monde sans Google Inc et consort.
https://thehighwire.com/videos/live-fro ... dallas-tx/
tuxique
Membre
Membre
Messages : 24
Enregistré le : 17 août 2021, 00:50
Status : Hors ligne

J'ai a la fois pulseaudio et pipewire d'installe, il semblerait que cela est correct, je comprends pas trop, mais en suivant le wiki debian :
At minimum, you will need to install the libspa-0.2-bluetooth package, remove the pulseaudio-module-bluetooth package (if previously installed), and then either reboot your computer or restart the PipeWire services, otherwise device connections will fail with "Protocol not available".
https://wiki.debian.org/BluetoothUser/a2dp

ce qui a régler le problème.
Vivement un monde sans Google Inc et consort.
https://thehighwire.com/videos/live-fro ... dallas-tx/
Répondre