run /recalbox/scripts/recalbox-support.sh when the pad is plugged to have some information
Hi @nadenislamarre , this is the support file, with the NES pad connected by GPIO. I can see it in input menu of batocera #2NESPAD and #3NESPAD, but it doesn't work, ES menu or game doesn't work.. I Tested and used it in recalbox 4.0.1, same config string in recalbox.conf and same hardware.. could you help me please? Thanks all
ok. the pad looks here.
can you type in ssh : "evtest", choose your pad and check if the events are seen by linux ?
@nadenislamarre ok, just test.. if I chose controller 0 (generic wireless pad), all works (I see string on ssh evrytime I press a button). If I choose the controllers 1 or 2 (NES pads in my config) nothing happens, like they are not connected..
@nadenislamarre hi! Did you found something wrong? Tested with recalbox 4.0.1 working.. batocera 5.1 not working. Batocera 5.8 not working.. let me know if I can test something.. see you!
Hi! I was reading the recalbox forum looking for a solution for the nes controller problem in Batocera. I noticed in the recalbox 4.1 unstable changelog this line:
-Updated gamecon driver from 1.0 to 1.2
-fix gamecon 1.2
I remember that you were in the recalbox team since 4.1, maybe there is a problem in the gamecon driver 1.2 (that is used for nes/snes controllers)..
can I test the gamecon 1.0 driver? Could it be the right way? Need help/instruction for test this thing...
Thanks a lot @nadenislamarre
@jthemad please found here the built files https://batocera-linux.xorhub.com/special/lib/
hi think that just https://batocera-linux.xorhub.com/special/lib/modules/4.9.13-v7/extra/gamecon_gpio_rpi.ko
copy it on your card.
$ rmmod gamecon_gpio_rpi
to remove the current driver
$ insmod gamecon_gpio_rpi.ko
to load this one. and test.
i'm not sure you can copy it directly in /lib/modules/4.9.13-v7/extra while i guess that it may change dependancies. if needed, i can build a new image for you.
i've done and send an image here : https://batocera-linux.xorhub.com/special/lib/boot.tar.xz
nadenislamarre thank you very much!! I'm not at home now tomorrow evening I'll try it and then feedback to you on irc/forum! Is it for rpi3? Is the link up? Can't open it..
@nadenislamarre hi naden, I don't understand what I have to do with the .xz file.. is it an image or have I to unzip and copy/replace on my sd card? Thanks
yes. or by command line, it's easier :
it will download the boot.tar.xz inside, compute the md5sum if found inside (not found in this case while i've not done it), and unzip it on your sd card. Just reboot after that.
nadenislamarre hi naden! I've just done everything but no luck... after a restart the nes pads still don't work.. I notice that batocera alerts me that there is un upgrade avaible, but I am using 5.8.. is it correct? Is there something I can do for the nes pads now? Thank you
the upgrade is normal. batocera detects that the version you have is not the last one available. (it's not based on the version number, but on the content of the firmware)
nadenislamarre ok.. so we are at dead point...
yes. however, my only guess is that it may come from an upgrade of linux.
have you ask on the forum on the gpio driver side to see if something changed in the last versions of linux ?