Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
l2/r2 analog stick board
#1
I got my board in the mail today and installed it. The fit is great but when i went to run the commands in the install guide it seems like it failed now no input works.  The original buttons were all working great before i got the errors.   I tried to ssh and reset the input for emulation station but when im told to hold a to configure the controller none of the buttons are recognized.   I attached a photo of where i got the error maybe someone has had the same issue and can point me in the right direction?


Attached Files Thumbnail(s)
   
Reply
#2
I can see that it failed, and this is particularly annoying, because it failed after it uninstalled the older driver.

It looks as if it downloaded new kernel headers, but that they are newer than the kernel that you’re actually using. Then, when it went to build the driver it doesn’t have the kernel headers for the kernel that you’re currently using.

This may be hard to debug remotely. Did you start with one of our images, or had you updated it before This?
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#3
It would be interesting to do a
uname -a
and then reboot and do
uname -a
a second time. I'm wondering if it installed a new kernel that you aren't using.

OR, you got kernel headers for a kernel that you did not actually get yet. If so, maybe running
sudo apt install raspberrypi-kernel
and then rebooting could help.

It seems as if there's some mismatch, anyway.

The command
uname -a
or
uname -r
should show the current running kernel version.

I'm guessing that it's 4.14.52-v7+, but the headers you got were 4.14.62-v7+.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#4
aarontrini85 I'm having the same exact issue. Lemme know if you are able to get it working. Thanks!
Reply
#5
Let me know which SD image you guys are starting with. I will try to recreate it and post a solution.

In the meantime, I will burn Freeplay_CM3_18081001.img.gz to an SD and see if it has this problem, so I can start looking at a solution.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#6
I just burned the latest image to the SD card.  I booted it up, ssh'd in, and did this...

Code:
pi@retropie:~ $ cd /home/pi/Freeplay
pi@retropie:~/Freeplay $ mv mk_arcade_joystick_rpi mk_arcade_joystick_rpi_old
pi@retropie:~/Freeplay $ git clone https://github.com/TheFlav/mk_arcade_joystick_rpi.git
Cloning into 'mk_arcade_joystick_rpi'...
remote: Counting objects: 470, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 470 (delta 9), reused 6 (delta 0), pack-reused 450
Receiving objects: 100% (470/470), 1.33 MiB | 2.56 MiB/s, done.
Resolving deltas: 100% (264/264), done.
pi@retropie:~/Freeplay $ cd mk_arcade_joystick_rpi
pi@retropie:~/Freeplay/mk_arcade_joystick_rpi $
pi@retropie:~/Freeplay/mk_arcade_joystick_rpi $ ./install.sh
Error! There are no instances of module: mk_arcade_joystick_rpi
0.1.5.5 located in the DKMS tree.

-------- Uninstall Beginning --------
Module:  mk_arcade_joystick_rpi
Version: 0.1.5.6
Kernel:  4.14.52-v7+ (armv7l)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

mk_arcade_joystick_rpi.ko:
- Uninstallation
  - Deleting from: /lib/modules/4.14.52-v7+/updates/dkms/
- Original module
  - No original module was found for this module on this kernel.
  - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.1.5.6
completely from the DKMS tree.
------------------------------
Done.
Error! There are no instances of module: mk_arcade_joystick_rpi
0.1.5.7 located in the DKMS tree.
Reading package lists... Done
Building dependency tree      
Reading state information... Done
cpp-4.7 is already the newest version (4.7.3-11+rpi1).
dkms is already the newest version (2.3-2).
gcc-4.7 is already the newest version (4.7.3-11+rpi1).
joystick is already the newest version (1:1.6.0-1).
raspberrypi-kernel-headers is already the newest version (1.20180703-1).
wiringpi is already the newest version (2.46).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Creating symlink /var/lib/dkms/mk_arcade_joystick_rpi/0.1.5.7/source ->
                /usr/src/mk_arcade_joystick_rpi-0.1.5.7

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make -j4 KERNELRELEASE=4.14.52-v7+ all KVERSION=4.14.52-v7+.....
cleaning build area...

DKMS: build completed.

mk_arcade_joystick_rpi:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/4.14.52-v7+/updates/dkms/

depmod...

DKMS: install completed.

It seems to have worked fine.  I'm wondering if you guys did a different update or something before running this.  I want to figure it out, so I can come up with a fix/workaround ASAP.  Maybe I'll try doing an update via RetroPie and then re-running this.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#7
I just installed Freeplay_CM3_18081001.img and went through the steps outlined in https://docs.google.com/document/d/1GkmF...1wgEY/edit.
I uncommented this line in the conf file:
```
#this next line is for use with 4 extra buttons (maybe L2,R2,C,Z)
options mk_arcade_joystick_rpi map=4 gpio=4,17,6,5,19,26,16,24,23,18,15,14,-20,42,43,41,40 hkmode=2
```
(my psp analog stick and ribbon cable hasn't come in the mail yet)

and after a reboot, the right trigger is my start button, and start and select and hotkey don't work.
I should also mention this is the same result on a fresh install as the 1804 version of the img I was on previously.

My guess is the conf file just has the button mappings wrong. Could you post what your conf file looks like exactly so we could copy/paste? Also, do you plan on having some photos of the wiring for the psp analog stick? Thanks!!
Reply
#8
Heres my log:

```
pi@retropie:~/Freeplay/mk_arcade_joystick_rpi $ ./install.sh

Error! There are no instances of module: mk_arcade_joystick_rpi
0.1.5.5 located in the DKMS tree.

-------- Uninstall Beginning --------
Module: mk_arcade_joystick_rpi
Version: 0.1.5.6
Kernel: 4.14.52-v7+ (armv7l)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

mk_arcade_joystick_rpi.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.52-v7+/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 0.1.5.6
completely from the DKMS tree.
------------------------------
Done.
Error! There are no instances of module: mk_arcade_joystick_rpi
0.1.5.7 located in the DKMS tree.
Reading package lists... Done
Building dependency tree
Reading state information... Done
cpp-4.7 is already the newest version (4.7.3-11+rpi1).
dkms is already the newest version (2.3-2).
gcc-4.7 is already the newest version (4.7.3-11+rpi1).
joystick is already the newest version (1:1.6.0-1).
raspberrypi-kernel-headers is already the newest version (1.20180703-1).
wiringpi is already the newest version (2.46).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Creating symlink /var/lib/dkms/mk_arcade_joystick_rpi/0.1.5.7/source ->
/usr/src/mk_arcade_joystick_rpi-0.1.5.7

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make -j4 KERNELRELEASE=4.14.52-v7+ all KVERSION=4.14.52-v7+.....
cleaning build area...

DKMS: build completed.

mk_arcade_joystick_rpi:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.52-v7+/updates/dkms/

depmod...

DKMS: install completed.
```
Reply
#9
Okay, maxh123, I think you have a different issue than aarontrini85.

I think yours is working, but you just need to define the keys again. From the main menu, hit start (which may now be the right trigger just temporarily). Then hit CONFIGURE INPUT. Go through that, and set up the buttons however you wish. I think it'll work for you, then. You will need to configure new settings when you add the PSP stick.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#10
Flav, I got my L2, R2 working. Turns out, it was just a bad soldering job. After resoldering with a heaver coat, I went through the controller config wizard, and everything is great. Thanks!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)