03-16-2022, 03:49 AM
Hey Weasel27!
I'm out again for a chunk of the day, today, so all my normal stuff is compressed into a few hours. I feel like a solution to this won't be difficult to implement, but I don't think I have enough information about what's going wrong. I'm going to try to compile the information in a more useful manner. That might help me to recognize the problem or it might help someone else reading along to pinpoint it.
"uname -a" shows that the kernel you're running is "4.19.97-v7+"
"ls /lib/modules" shows that you have modules for that "4.19.97-v7+" kernel
I assume that "find /lib/modules | grep mk_arcade" had no output. Is that true? If so, that means that you do not have ANY module built for mk_arcade_joystick_rpi anywhere in your modules directory tree. That seems odd, but it could be true, as part of the build would remove it from the current kernel's build. I would have expected it to be still in one of the others, but, oh well.
The output from the modprobe command just reiterates that the module doesn't exist.
I didn't see any output from "dmesg |grep mk_arcade" which might be true if that module doesn't exist.
I guess it all goes back to the fact that the make/build failed, so the module doesn't exist.
the output from "cat /var/lib/dkms/mk_arcade_joystick_rpi/0.1.6.3/build/make.log" doesn't tell the whole picture, though. I don't know why it's failing. Do you have any way to get that whole file to me? Maybe you could use FileZilla to connect to the Pi, then go to /var/lib/dkms/mk_arcade_joystick_rpi/0.1.6.3/build/ and download the make.log file. I don't know how big it will be, but if you ZIP it, it'll be small. Then, maybe you could attach it here or put it on Google Drive or something.
You can also go to https://www.freeplaytech.com/contact/ and open a SUPPORT ticket. It won't immediately allow you to send a file, but when you get a reply, then you can attach files.
I think we just need to figure out why the build is having an error that stops it from building the kernel module. It's possible that you don't have the proper headers in /usr/src/linux-headers-4.19.97-v7+ but I don't know why that would be.
You could try these commands to figure that out.
dpkg -l |grep header
There's another way to grab the kernel headers, by downloading the entire kernel source. You can do that using rpi-source. See https://github.com/RPi-Distro/rpi-source
For some reason, it seems like you are running a kernel version and MAYBE the version of the kernel headers that are installed doesn't match this version.
I think this MAY be the same issue that this guy had: https://forum.freeplaytech.com/showthrea...8#pid10088
There is also some other info about rpi-source here: https://forum.freeplaytech.com/showthrea...rpi-source
I'm out again for a chunk of the day, today, so all my normal stuff is compressed into a few hours. I feel like a solution to this won't be difficult to implement, but I don't think I have enough information about what's going wrong. I'm going to try to compile the information in a more useful manner. That might help me to recognize the problem or it might help someone else reading along to pinpoint it.
"uname -a" shows that the kernel you're running is "4.19.97-v7+"
"ls /lib/modules" shows that you have modules for that "4.19.97-v7+" kernel
I assume that "find /lib/modules | grep mk_arcade" had no output. Is that true? If so, that means that you do not have ANY module built for mk_arcade_joystick_rpi anywhere in your modules directory tree. That seems odd, but it could be true, as part of the build would remove it from the current kernel's build. I would have expected it to be still in one of the others, but, oh well.
The output from the modprobe command just reiterates that the module doesn't exist.
I didn't see any output from "dmesg |grep mk_arcade" which might be true if that module doesn't exist.
I guess it all goes back to the fact that the make/build failed, so the module doesn't exist.
the output from "cat /var/lib/dkms/mk_arcade_joystick_rpi/0.1.6.3/build/make.log" doesn't tell the whole picture, though. I don't know why it's failing. Do you have any way to get that whole file to me? Maybe you could use FileZilla to connect to the Pi, then go to /var/lib/dkms/mk_arcade_joystick_rpi/0.1.6.3/build/ and download the make.log file. I don't know how big it will be, but if you ZIP it, it'll be small. Then, maybe you could attach it here or put it on Google Drive or something.
You can also go to https://www.freeplaytech.com/contact/ and open a SUPPORT ticket. It won't immediately allow you to send a file, but when you get a reply, then you can attach files.
I think we just need to figure out why the build is having an error that stops it from building the kernel module. It's possible that you don't have the proper headers in /usr/src/linux-headers-4.19.97-v7+ but I don't know why that would be.
You could try these commands to figure that out.
dpkg -l |grep header
There's another way to grab the kernel headers, by downloading the entire kernel source. You can do that using rpi-source. See https://github.com/RPi-Distro/rpi-source
For some reason, it seems like you are running a kernel version and MAYBE the version of the kernel headers that are installed doesn't match this version.
I think this MAY be the same issue that this guy had: https://forum.freeplaytech.com/showthrea...8#pid10088
There is also some other info about rpi-source here: https://forum.freeplaytech.com/showthrea...rpi-source
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/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )