RPI 3b GPIO comportement bizarre dans l'interface
-
- Raspberry Pi/ Odroid / PC / NUC model: Raspberry PI 3B
- Recalbox version (build) : 9.2.3
- Matériels (Micro SD, Power Supply, etc.): Micro SD 128 Go san disk pour le systeme, disque ssd en usb de 128Go (ou 256 je sais plus ) sans alimentation externe
- Manette(s): GPIO
Bonjour,
Je rencontre un comportement étrange dans l'interface de recalbox avec les bouton du GPIO 1 (et pas le deux étrangement).
Je m'explique, le joystick haut bas ne fonctionne pas, la hotkey non plus les boutons X Y A B L R ne semblent pas fonctionnelJ'ai tout recontrôlé et rebranché 2 fois et étonnamment le GPIO2 fonctionne correctement lui .
J'ai tenté une reinstall et un retour paramètre usineVoici la ligne que j'ai dans le fichier recalbox.conf:
controllers.gpio.enabled=1 controllers.gpio.args=map=1,2 gpio=17,4,27,22,10,9,25,24,23,18,15,14,2 gpio2=11,5,13,6,19,26,21,20,16,12,7,8,-1
Voici le retour de evtest (ce qui me laisse penser que le cablage en lui meme est bon)
# evtest No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: NOVATEK USB Keyboard /dev/input/event1: NOVATEK USB Keyboard System Control /dev/input/event2: NOVATEK USB Keyboard Consumer Control /dev/input/event3: NOVATEK USB Keyboard /dev/input/event5: vc4-hdmi /dev/input/event6: GPIO Controller 1 /dev/input/event7: GPIO Controller 2 Select the device event number [0-7]: 6 Input driver version is 1.0.1 Input device ID: bus 0x15 vendor 0x1 product 0x1 version 0x100 Input device name: "GPIO Controller 1" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 304 (BTN_SOUTH) Event code 305 (BTN_EAST) Event code 307 (BTN_NORTH) Event code 308 (BTN_WEST) Event code 310 (BTN_TL) Event code 311 (BTN_TR) Event code 314 (BTN_SELECT) Event code 315 (BTN_START) Event code 316 (BTN_MODE) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 0 Min -1 Max 1 Event code 1 (ABS_Y) Value 0 Min -1 Max 1 Properties: Testing ... (interrupt to exit)
Joystick Haut
Event: time 1733684350.972062, type 3 (EV_ABS), code 1 (ABS_Y), value -1 Event: time 1733684350.972062, -------------- SYN_REPORT ------------ Event: time 1733684351.172074, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1733684351.172074, -------------- SYN_REPORT ------------
Joystick Bas
Event: time 1733684415.202073, type 3 (EV_ABS), code 1 (ABS_Y), value 1 Event: time 1733684415.202073, -------------- SYN_REPORT ------------ Event: time 1733684415.302067, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1733684415.302067, -------------- SYN_REPORT ------------
Joystick Gauche
Event: time 1733684482.892090, type 3 (EV_ABS), code 0 (ABS_X), value -1 Event: time 1733684482.892090, -------------- SYN_REPORT ------------ Event: time 1733684483.092086, type 3 (EV_ABS), code 0 (ABS_X), value 0 Event: time 1733684483.092086, -------------- SYN_REPORT ------------
Joystick Droit
Event: time 1733684548.622071, type 3 (EV_ABS), code 0 (ABS_X), value 1 Event: time 1733684548.622071, -------------- SYN_REPORT ------------ Event: time 1733684548.742064, type 3 (EV_ABS), code 0 (ABS_X), value 0 Event: time 1733684548.742064, -------------- SYN_REPORT ------------
Select
Event: time 1733684656.592131, type 1 (EV_KEY), code 314 (BTN_SELECT), value 1 Event: time 1733684656.592131, -------------- SYN_REPORT ------------ Event: time 1733684656.672139, type 1 (EV_KEY), code 314 (BTN_SELECT), value 0 Event: time 1733684656.672139, -------------- SYN_REPORT ------------
Start
Event: time 1733684605.772092, type 1 (EV_KEY), code 315 (BTN_START), value 1 Event: time 1733684605.772092, -------------- SYN_REPORT ------------ Event: time 1733684605.872137, type 1 (EV_KEY), code 315 (BTN_START), value 0 Event: time 1733684605.872137, -------------- SYN_REPORT ------------
Hotkey
Event: time 1733684728.522082, type 1 (EV_KEY), code 316 (BTN_MODE), value 0 Event: time 1733684728.522082, -------------- SYN_REPORT ------------ Event: time 1733684728.642083, type 1 (EV_KEY), code 316 (BTN_MODE), value 1 Event: time 1733684728.642083, -------------- SYN_REPORT ------------
Y
Event: time 1733684830.252108, type 1 (EV_KEY), code 308 (BTN_WEST), value 0 Event: time 1733684830.252108, -------------- SYN_REPORT ------------ Event: time 1733684830.392098, type 1 (EV_KEY), code 308 (BTN_WEST), value 1 Event: time 1733684830.392098, -------------- SYN_REPORT ------------
X
Event: time 1733684830.712106, type 1 (EV_KEY), code 307 (BTN_NORTH), value 0 Event: time 1733684830.712106, -------------- SYN_REPORT ------------ Event: time 1733684830.892098, type 1 (EV_KEY), code 307 (BTN_NORTH), value 1 Event: time 1733684830.892098, -------------- SYN_REPORT ------------
B
Event: time 1733684831.172109, type 1 (EV_KEY), code 305 (BTN_EAST), value 0 Event: time 1733684831.172109, -------------- SYN_REPORT ------------ Event: time 1733684831.352094, type 1 (EV_KEY), code 305 (BTN_EAST), value 1 Event: time 1733684831.352094, -------------- SYN_REPORT ------------
A
Event: time 1733684831.632099, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 0 Event: time 1733684831.632099, -------------- SYN_REPORT ------------ Event: time 1733684831.812099, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 1 Event: time 1733684831.812099, -------------- SYN_REPORT ------------
L
Event: time 1733684964.852089, type 1 (EV_KEY), code 310 (BTN_TL), value 0 Event: time 1733684964.852089, -------------- SYN_REPORT ------------ Event: time 1733684964.972089, type 1 (EV_KEY), code 310 (BTN_TL), value 1 Event: time 1733684964.972089, -------------- SYN_REPORT ------------
R
Event: time 1733684964.172088, type 1 (EV_KEY), code 311 (BTN_TR), value 0 Event: time 1733684964.172088, -------------- SYN_REPORT ------------ Event: time 1733684964.332100, type 1 (EV_KEY), code 311 (BTN_TR), value 1 Event: time 1733684964.332100, -------------- SYN_REPORT ------------
Ai-je oublié un truc ?
-
Edit:
Je viens de remarquer que j'avais une différence de comportement au niveau des bouton start et select avec une value a 1 et après un appui a 0 , je vais tester avec d'autre bouton voir si cela proviendrait de la.
:
SelectEvent: time 1733684656.592131, type 1 (EV_KEY), code 314 (BTN_SELECT), value 1
Event: time 1733684656.592131, -------------- SYN_REPORT ------------
Event: time 1733684656.672139, type 1 (EV_KEY), code 314 (BTN_SELECT), value 0
Event: time 1733684656.672139, -------------- SYN_REPORT ------------
StartEvent: time 1733684605.772092, type 1 (EV_KEY), code 315 (BTN_START), value 1
Event: time 1733684605.772092, -------------- SYN_REPORT ------------
Event: time 1733684605.872137, type 1 (EV_KEY), code 315 (BTN_START), value 0
Event: time 1733684605.872137, -------------- SYN_REPORT ------------RE édit, malgres le changement de bouton j'ai toujours le soucis de navigation:
Event: time 1733687017.354101, type 1 (EV_KEY), code 315 (BTN_START), value 0
Event: time 1733687017.354101, -------------- SYN_REPORT ------------
Event: time 1733687017.454108, type 1 (EV_KEY), code 315 (BTN_START), value 1
Event: time 1733687017.454108, -------------- SYN_REPORT ------------Event: time 1733687018.264103, type 1 (EV_KEY), code 314 (BTN_SELECT), value 0
Event: time 1733687018.264103, -------------- SYN_REPORT ------------
Event: time 1733687018.384107, type 1 (EV_KEY), code 314 (BTN_SELECT), value 1
Event: time 1733687018.384107, -------------- SYN_REPORT ------------D'ailleur ca a une influence sur le fonctionnement ?