Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/11/2014, à 16:47

tobiasBora

Problème avec le mode A2DP en bluetooth

Bonjour,

Voila, je n'arrive pas toujours à mettre mon casque bluetooth en mode A2DP (Lecture de haute qualité) : parfois ça fonctionne sans problème, parfois ça ne fonctionne pas (lorsque je le sélectionne dans les préférences rien ne se passe, l'ancien mode reste actif) et le seul mode accessible est alors HSP/HFT (basse qualité que l'on peut utiliser avec le micro également).

Savez vous ce qui ne va pas ?

Merci d'avance,

Tobias.

PS : Voici ici les logs que j'ai pu récupérer

$ cat /var/log/syslot | grep blue
[....]
--- En principe cette partie a été écrite lorsque le bluetooth fonctionnait ---

Nov  2 12:48:31 tobiaslin bluetoothd[947]: Bluetooth daemon 4.101
Nov  2 12:48:31 tobiaslin bluetoothd[947]: Starting SDP server
Nov  2 12:48:31 tobiaslin bluetoothd[947]: DIS cannot start: GATT is disabled
Nov  2 12:48:31 tobiaslin bluetoothd[947]: Failed to init deviceinfo plugin
Nov  2 12:48:31 tobiaslin bluetoothd[947]: Failed to init proximity plugin
Nov  2 12:48:31 tobiaslin bluetoothd[947]: Failed to init time plugin
Nov  2 12:48:31 tobiaslin bluetoothd[947]: Failed to init alert plugin
Nov  2 12:48:31 tobiaslin bluetoothd[947]: Failed to init thermometer plugin
Nov  2 12:48:31 tobiaslin bluetoothd[947]: Failed to init gatt_example plugin
Nov  2 12:48:31 tobiaslin bluetoothd[947]: Bluetooth Management interface initialized
Nov  2 12:48:32 tobiaslin bluetoothd[947]: input-headset driver probe failed for device D0:C1:B1:5F:55:D9
Nov  2 12:48:32 tobiaslin bluetoothd[947]: Unknown command complete for opcode 19
Nov  2 12:48:32 tobiaslin bluetoothd[947]: Adapter /org/bluez/947/hci0 has been enabled
Nov  2 12:48:32 tobiaslin NetworkManager[1005]: <info> (D0:C1:B1:5F:55:D9): new Bluetooth device (driver: 'bluez' ifindex: 0)
Nov  2 12:52:45 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/HFPAG
Nov  2 12:52:45 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/HFPHS
Nov  2 12:52:45 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource
Nov  2 12:52:45 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSink
Nov  2 12:53:15 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/HFPAG
Nov  2 12:53:15 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/HFPHS
Nov  2 12:53:15 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource
Nov  2 12:53:15 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink
Nov  2 13:00:49 tobiaslin bluetoothd[947]: Badly formated or unrecognized command: AT+CSRSF=0,0,0,0,0,7
Nov  2 13:01:24 tobiaslin bluetoothd[947]: /org/bluez/947/hci0/dev_00_18_E4_0B_7F_F6/fd2: fd(29) ready

--- A partir d'ici ça ne fonctionne plus ---

Nov  2 16:21:28 tobiaslin bluetoothd[947]: Adapter /org/bluez/947/hci0 has been disabled
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Unregister path: /org/bluez/947/hci0
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Endpoint unregistered: sender=:1.51 path=/MediaEndpoint/A2DPSink
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Endpoint unregistered: sender=:1.64 path=/MediaEndpoint/A2DPSink
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Endpoint unregistered: sender=:1.51 path=/MediaEndpoint/A2DPSource
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Endpoint unregistered: sender=:1.64 path=/MediaEndpoint/A2DPSource
Nov  2 16:21:28 tobiaslin bluetoothd[947]: avdtp_set_state(): no matching audio device
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Endpoint unregistered: sender=:1.51 path=/MediaEndpoint/HFPAG
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Endpoint unregistered: sender=:1.51 path=/MediaEndpoint/HFPHS
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Endpoint unregistered: sender=:1.64 path=/MediaEndpoint/HFPAG
Nov  2 16:21:28 tobiaslin bluetoothd[947]: Endpoint unregistered: sender=:1.64 path=/MediaEndpoint/HFPHS
Nov  2 16:21:28 tobiaslin bluetoothd[947]: hci0: Set IO Capability (0x0018) failed: Invalid Index (0x11)
Nov  2 16:21:28 tobiaslin pulseaudio[2452]: [bluetooth] bluetooth-util.c: Failed to release transport /org/bluez/947/hci0/dev_00_18_E4_0B_7F_F6/fd2: Method "Release" with signature "s" on interface "org.bluez.MediaTransport" doesn't exist
Nov  2 16:21:30 tobiaslin bluetoothd[947]: input-headset driver probe failed for device D0:C1:B1:5F:55:D9
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Unknown command complete for opcode 19
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/HFPAG
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/HFPHS
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSource
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.64 path=/MediaEndpoint/A2DPSink
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/HFPAG
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/HFPHS
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSink
Nov  2 16:21:30 tobiaslin NetworkManager[1005]: <info> (D0:C1:B1:5F:55:D9): new Bluetooth device (driver: 'bluez' ifindex: 0)
Nov  2 16:21:30 tobiaslin bluetoothd[947]: Adapter /org/bluez/947/hci0 has been enabled
Nov  2 16:22:04 tobiaslin bluetoothd[947]: Connection refused (111)
Nov  2 16:22:33 tobiaslin bluetoothd[947]: Connection refused (111)
Nov  2 16:23:03 tobiaslin bluetoothd[947]: Badly formated or unrecognized command: AT+CSRSF=0,0,0,0,0,7
Nov  2 16:23:04 tobiaslin pulseaudio[2452]: [pulseaudio] module-bluetooth-device.c: Default profile not connected, selecting off profile
Nov  2 16:23:04 tobiaslin bluetoothd[947]: /org/bluez/947/hci0/dev_00_18_E4_0B_7F_F6/fd9: fd(29) ready
Nov  2 16:23:12 tobiaslin pulseaudio[2452]: [pulseaudio] module-bluetooth-device.c: Profile not connected, refused to switch profile to a2dp
Nov  2 16:23:47 tobiaslin bluetoothd[947]: /org/bluez/947/hci0/dev_00_18_E4_0B_7F_F6/fd8: fd(24) ready
Nov  2 16:24:07 tobiaslin bluetoothd[947]: Audio connection got disconnected
Nov  2 16:25:59 tobiaslin bluetoothd[947]: Badly formated or unrecognized command: AT+CSRSF=0,0,0,0,0,7
Nov  2 16:26:22 tobiaslin bluetoothd[947]: /org/bluez/947/hci0/dev_00_18_E4_0B_7F_F6/fd11: fd(29) ready

Dernière modification par tobiasBora (Le 05/11/2014, à 17:37)

Hors ligne

#2 Le 05/11/2014, à 17:40

tobiasBora

Re : Problème avec le mode A2DP en bluetooth

J'ai fini par trouver dans la documentation d'ArchLinux qu'il était possible de désactiver le mode "Socket" du bluetooth en mettant dans /etc/bluetooth/audio.conf la ligne
    Disable=Socket

Pour le moment ça semble fonctionner (bon c'est dur à dire vu que je n'ai pas encore fait beaucoup de tests, mais pour le moment je n'ai pas eu de problèmes), cependant je n'aime pas l'idée de désactiver ainsi des services. Est-ce que quelqu'un sait ce que le service "Socket" est sensé fournir ?

Merci d'avance,

Tobias.

Hors ligne