After some helpful debugging tips from @Gnurou in discord chat and from this post PICADE - X Hat- Buttons + Joystick not detecting, I tried the additional following steps, but did not get further in solving the issue. However, have more details that might help ID the cause.
-
Reinstalling picadehat script install and rebooting. (curl https://get.pimoroni.com/picadehat | bash)
-
output of “ls -l /sys/class/input/” https://clitxt.com/t/vp9-1537337922.txt - expect to see gpio-keys device there, but don’t
-
Steps for debugging hardware:
- drop to terminal from ES by hitting F4 (you will need a keyboard!)
- install wiringpi for the
gpio
utility:sudo apt install wiringpi
- run
watch -n 0.1 gpio readall
to watch your GPIO status - hit some buttons, twiddle the joystick (slowly, 0.1 is a tenth of a second so any action <0.1s may not be visible) and see if anything changes
< I did see some activity when hitting buttons from the console, so that was a bit promising. Joystick only registered some activity when moving up. lt, rt, down didn’t see any activity.>
- It’s possible that the dtoverlay/drivers/etc for the controls aren’t loading properly, to debug the software:
- Make sure
/boot/overlays/picade.dtbo
exists - Make sure
dtoverlay=picade
is in/boot/config.txt
- Check
dmesg
output for any glaring errors - Check that
/etc/udev/rules.d/10-picade.rul
Here is output from “dmesg” command: https://clitxt.com/t/2ck-1537335849.txt