@acris Bon je pense qu'il y a un soucis.
Impossible de connecter la manette en bluetooth en auto.
Lorsque j'essai la connexion en manuel via SSH j'ai cette erreur:
# /recalbox/scripts/bluetooth/simple-agent hci0 "XX:XX:XX:XX:XX:XX"
Agent registered
Device paired
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 604, in msg_r eply_handler
reply_handler(*message.get_args_list(**get_args_opts))
File "/recalbox/scripts/bluetooth/simple-agent", line 119, in pair_reply
dev_connect(dev_path)
File "/recalbox/scripts/bluetooth/simple-agent", line 38, in dev_connect
dev.Connect()
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_ blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.Failed: Input/output error
^[[A
^CTraceback (most recent call last):
File "/recalbox/scripts/bluetooth/simple-agent", line 182, in <module>
mainloop.run()
Lorsque j'utilise bluetoothctl pour connecter ma manette, je vois bien que l'adresse mac de ma manette est reconnu mai la connection retry en boucle sans aboutir:
[CHG] Device XX:XX:XX:XX:XX:XX Connected: no
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
Je vais essayer de debug le script.