Bluetooth en souffrance avec clé Sena UD100a suite à montée de version Raspbian + Jeedom,

Bonjour à tous,
J’ai pendant longtemps retardé la montée de version de mon Raspberry Pi mais avec la dernière release de Jeedom je me suis décidé.

Suite à cette mise à jour je suis désormais dans cette configuration :
Jeedom 4.1.17 sur un Rapsberry Pi 3b+ tournant sur un disque SSD sous Debian Buster 10.7

J’utilise BLEA avec une clé Bluetooth Sen UD100a déportée (rallonge USB), le Bluetooth sur le Raspi étant correctement désactivé.
Avant la montée de version par de soucis, mais depuis c’est une vraie galère : sois je n’arrive pas a détecter mes devices, soit une fois détectés ils ne remontent plus de valeurs.

Je suis allé faire un petit tour niveau logs et voici ce que je trouve :
dmesg

[ 2818.083919] Bluetooth: hci0: Received unexpected HCI Event 00000000
[ 2820.329603] Bluetooth: hci0: command 0x200c tx timeout
[ 2830.377643] Bluetooth: hci0: command 0x200c tx timeout
[ 2840.397721] Bluetooth: hci0: command 0x200b tx timeout
[ 2850.697722] Bluetooth: hci0: command 0x200c tx timeout
[ 2860.777874] Bluetooth: hci0: command 0x200c tx timeout
[ 2870.761844] Bluetooth: hci0: command 0x200b tx timeout
[ 2881.103046] Bluetooth: hci0: command 0x200c tx timeout
[ 2891.145901] Bluetooth: hci0: command 0x200c tx timeout
[ 2901.161987] Bluetooth: hci0: command 0x200b tx timeout
[ 2911.465968] Bluetooth: hci0: command 0x200c tx timeout
[ 2921.513999] Bluetooth: hci0: command 0x200c tx timeout
[ 2931.530050] Bluetooth: hci0: command 0x200b tx timeout
[ 2941.834084] Bluetooth: hci0: command 0x200c tx timeout
[ 2951.882125] Bluetooth: hci0: command 0x200c tx timeout
[ 2961.898164] Bluetooth: hci0: command 0x200b tx timeout
[ 2972.202271] Bluetooth: hci0: command 0x200c tx timeout
[ 2982.250296] Bluetooth: hci0: command 0x200c tx timeout
[ 2992.266336] Bluetooth: hci0: command 0x200b tx timeout
[ 2999.914337] Bluetooth: hci0: command 0x200c tx timeout
[ 3009.930346] Bluetooth: hci0: command 0x200b tx timeout
[ 3377.064902] Bluetooth: hci0: Received unexpected HCI Event 00000000
[ 3379.211709] Bluetooth: hci0: command 0x200c tx timeout
[ 3389.291833] Bluetooth: hci0: command 0x200c tx timeout
[ 3399.279780] Bluetooth: hci0: command 0x200b tx timeout

messages

Jan 22 16:25:39 jeedom kernel: [   39.026291]
Jan 22 16:25:39 jeedom kernel: [   39.026296] WARN::dwc_otg_hcd_urb_dequeue:639: Timed out waiting for FSM NP transfer to complete on 2
Jan 22 16:25:39 jeedom kernel: [   39.029929]
Jan 22 16:25:39 jeedom kernel: [   39.029944] WARN::dwc_otg_hcd_urb_dequeue:639: Timed out waiting for FSM NP transfer to complete on 0
Jan 22 16:28:35 jeedom rfkill: unblock set for all
Jan 22 16:28:39 jeedom rfkill: unblock set for all
Jan 22 16:29:21 jeedom kernel: [  114.923057]
Jan 22 16:29:21 jeedom kernel: [  114.923084] WARN::dwc_otg_hcd_urb_dequeue:639: Timed out waiting for FSM NP transfer to complete on 3
Jan 22 16:29:53 jeedom kernel: [  147.061372] NET: Registered protocol family 38
Jan 22 16:54:54 jeedom kernel: [ 1647.698846] Bluetooth: hci0: Received unexpected HCI Event 00000000
Jan 22 16:54:54 jeedom kernel: [ 1647.698865] Bluetooth: hci0: Received unexpected HCI Event 00000000
Jan 22 16:54:54 jeedom kernel: [ 1647.698876] Bluetooth: hci0: Received unexpected HCI Event 00000000
Jan 22 16:54:54 jeedom kernel: [ 1647.698887] Bluetooth: hci0: Received unexpected HCI Event 00000000
Jan 22 16:54:54 jeedom kernel: [ 1647.808860] Bluetooth: hci0: Received unexpected HCI Event 00000000

Je ne sais pas trop dans quelle direction chercher, avant je tournais sur Jessie et je n’ai pas eu de soucis pendant 1 an.

Merci par avance pour votre aide.

Bonsoir,

Vous n’êtes pas, par hasard passé en 64 bits ?

Bonsoir,

En effet, je suis sur du 64bits désormais.
Par contre je n’ai plus souvenir si j’étais en 32 auparavant (mon install date d’il y a 2 ans).

Alors vous êtiez FORCEMENT en 32 bits.

Repassez en 32 bits vous verrez, plus de problème.
J’ai la même configuration que vous (Pi3B+, SSD, SENA)
=> QUE des problèmes en 64bits (arrêt total, plus de réponse, plus de ping (mais fonctionnement ok), même problème avec dmesg ect…

Je suis repassé en 32 bits après 15 jours de tests inessifs en 64 bits, depuis, j’ai retrouvé ma stabilité d’avant.
Jeedom v4, Buster 10.7, apt update && apt upgrade fait tous les mois.

Merci pour ce retour.

Je m’arrache en effet les cheveux sur ce sujet Bluetooth depuis 3 jours.
J’ai du coup pris le soin d’aller voir vos posts et je suis tombé sur votre REX Buster en 64bits et j’ai retrouvé d’autres problèmes dont je n’ai pas fait part pensant qu’ils étaient séparés :

  • dysfonctionnement de ma clé Zigbee (deamon jmqtt qui tombe sans raison apparente)
  • perte de connexion très aléatoire (en mode ethernet) : le pi est inaccessible, la lecture des logs ne donne rien

J’avais au départ suspecté un problème de puissance (Raspi + clé Zigbee + clé ZWave + dongle USB + SSD) mais j’utilise le chargeur officiel à 3A.

Bref, mes retours sont similaires aux vôtres. Du coup j’imagine qu’il y a un soucis au niveau de l’USB (l’interface eth0 passant par le bus USB il me semble, cela expliquerait qu’elle plante) avec la version 64b.

Je ne vais pas chercher plus loin et tenter un retour au 32bits.

N’hésitez pas à faire un point après coup, c’est pour capitaliser sur le sujet.

Hello,
Bon je confirme après quelques galères pour passer en Buster 32bits (soucis avec mon SDD que j’ai un peu de mal à comprendre), je retrouve un jeedom stable :

  • ma clé USB Sena fonctionne parfaitement et tous mes équipements Bluetooth sont visibles
  • je ne perds plus la connexion réseau avec mon Rapsberry Pi
  • mon réseau zigbee ne rencontre plus de pbme aléatoires

Bref pour le moment je déconseille fortement la version Buster 64bits pour Raspberry Pi, j’ai d’ailleurs du mal à comprendre qu’il en soit autant fait la promotion sur la page d’installation de Jeedom → si j’avais été prévenu de ces soucis potentiels (tout le monde ne semble pas rencontrer de pbme) je serais parti sur la version 32bits directement et je me serais évité 1 semaine de galère.

Merci Fabrice !

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.