Freeplay CM3 GBA clone Kit.
-
@dragu sexy !
-
@Substring
I am on the way to reload the system after the crash. Also concerning mk_arcade_joystick_rpi, there is some confusion about the file in /etc/modprobe.d
Described in github is mk_arcade_joystick.conf, but it seems that mk_arcade_joystick_rpi.conf is the good one, as what you read in the web. Logical, no ? -
@Substring
There is no crash anymore with map=5 in recalbox.conf. Concerning mk_arcade_joystick_rpi.ko, I tried out with both versions of the .conf file in /etc/modprobe.d, but evtest fails to find a controller. -
@dragu check with lsmod if it's loaded + don't load it through recalbox.conf, it doesn't take all parameters.
rmmod
the ko, then manuallymodprobe
it with your parameters -
@Substring
Hi friend, in lsmod the driver is not existing (was there before) and with modprobe I have following feedback# # modprobe mk_arcade_joystick_rpi map=5 # modprobe: can't load module mk_arcade_joystick_rpi (extra/mk_arcade_joystick_rpi.ko): Invalid argument
-
@Substring
Some more small info. If I put him map=1 (I suppose same with 1,2) in recalbox.conf, the driver is loaded correctly as with the version before and also same behavior. -
@dragu have a look at /recalbox/scripts/recalbox-config.sh line 448 for loading the module and add your parameters
-
@Substring
Hi, I just made some tests. So if I define in recalbox.conf map=5, he just dont load mk_arcade_joystick_rpi.ok and if I put there map=1, he load object but also with the standard gpio definition.
As you told I changed in recalbox-config.sh the followingif [ "$command" == "gpiocontrollers" ];then command="module" mode="load" extra1="mk_arcade_joystick_rpi" extra2="map=1,2" to if [ "$command" == "gpiocontrollers" ];then command="module" mode="load" extra1="mk_arcade_joystick_rpi map=5 gpio=4,17,6,5,19,26,16,24,23,18,15,14,20,-1" extra2="map=1,2"
I tried with and without map=5, but perhaps I made a mistake here ?
Anyway recalbox.conf seems to have bigger influence, as with map=5 there, he even dont load the object. -
-
@Substring
@ian57 was last here 12 days ago, so I return to my cave
With PiGRRL the problem of the custom GPIO may also exist. -
@dragu but i can get in touch with him almost whenever i want
-
@Substring
I have the impression that this object dont accept arguments for map other as 1,2.
I am always somewhere astonished about in general software in Linux, as parameter files seems to be an acknowledged territory. I was about long time ago making with my team software for bigger companies, it was never software that had constant values inside that could at a certain moment change. By hardware or environnement. -
@Substring
Other thing on the schedule was the 3.2" waveshare tft screen, and this was a straight, because not necessary to use ED's driver, the waveshare32b.dtbo in /boot/overlays is working fine. -
Something else that I found out about this tiny waveshare displays, there are too much parameters in the description
If you just limit to the 3 not out commented, you have lcd screen + hdmi output all together, It seems to me that somebody was already asking this.#Waveshare 3.2 TFT Screen #same resolution for hdmi and tft #hdmi_force_hotplug=1 #hdmi_group=2 #hdmi_mode=1 #hdmi_mode=87 hdmi_cvt=320 240 60 1 0 0 0 dtparam=spi=on dtoverlay=waveshare32b:rotate=270,speed=82000000,fps=60
-
@dragu of course it is working fine, we put it here for this
-
@dragu I have a lot of work right now... so I cannot answer whenever I want, sorry.
For your problem, you need to pur the gpio config right in a conf file because the recalbox scripts do not take into account the gpio parameter from the recalbox.conf config file.
Add the module in /etc/module.conf file
snd_bcm2835 uinput usbhid mk_arcade_joystick_rpi
and create /etc/modprobe.d/mk_arcade_joystick.conf file with your parameters :
blacklist ads7846 #options mk_arcade_joystick_rpi map=1,2 # gpio with button order: Y-,Y+,X-,X+,start,select,a,b,tr,y,x,tl options mk_arcade_joystick_rpi map=5 gpio=4,17,6,5,19,26,16,24,23,18,15,14,20,-1
It should work for now...
the next release of recalbox should handle the gpio parameter in recalbox.conf -
@ian57
Be assured that I appreciate your and all other work in this non-profit organization for rotten gamblers.
I will test in the next hour, the GBA becomes adult only when it sounds through the speaker, "Shake it baby" -
@ian57
I just tested, but he still dont want to load the driver. The file in /etc/modprobe.d was already existing before, but also he refused already than to load the driver by modprobe. That seems the biggest problem, but when I put him map=1 or map=1,2 in recalbox.conf, he load the driver without other order, but with the basic gpio as always.modprobe mk_arcade_joystick_rpi
modprobe: can't load module mk_arcade_joystick_rpi (extra/mk_arcade_joystick_rpi.ko): Invalid argument
-
@dragu once again : the current recalbox-config.sh won't handle anything behind map=5 from the recalbox.conf. That's why ian suggested to manyally force the load ofnthe module. This also mean you must disable it in the recalbox.conf
-
@Substring
I am not sure about this. I just changed in recalbox.conf all the relations to the gpio-controller as following# ------------ D2 - GPIO Controllers ------------ # ## GPIO Controllers ## enable controllers on GPIO with mk_arcarde_joystick_rpi (0,1) #controllers.gpio.enabled=1 ## mk_gpio arguments, map=1 for one controller, map=1,2 for 2 (map=1,map=1,2) #controllers.gpio.args=map=5
but nothing changed, no driver loaded.
with in modules.confsnd_bcm2835 uinput usbhid mk_arcade_joystick_rpi
and the driver is here
sftp://root@Freeplay/lib/modules/4.4.13-v7/extra/mk_arcade_joystick_rpi.ko 14`972