mholgatem / GPIOnext

The next evolution of GPioneer! Create virtual gamepads with your GPIO pins!
MIT License
134 stars 37 forks source link

evdev? #58

Closed mrjjenkins closed 2 years ago

mrjjenkins commented 2 years ago

I have used this link many times over the past few years and there was no problem what so ever. Now for some reason, when I go to clone and bash the file I am getting an error. It says how there is "no module named evdev found". This is a little confusing and frustrating because collectively I have been a part of probably 20 arcade cabinets and this is the first time this problem arises.

Any help would be greatly appreciated.

FYI I am using the same retropi 2/3 downloaded directly from the retropi website.

mholgatem commented 2 years ago

someone else was just having this problem as well. try this and let me know what happens:

First, check to see if evdev is installed sudo pip3 install evdev

if that is installed, you next want to check to make sure the module is getting loaded. sudo nano /etc/modules if evdev is not listed, add it on it's own line at the end of the file. save and exit.

reboot your system and try it

n-i-x commented 2 years ago

Installing via pip3 worked for me.

mrjjenkins commented 2 years ago

Hello. So this is an issue because python is not installed here. So therefore, nothing will show up when we type in this command. In the past, I always just flashed retropi to an SD card and then bashed this github file and no issues. Does python now need to be flashed over? Any chance you have a link to find this file to also flash over to an SD card with retropi that we can try?

Lastly, I was using retropi 2/3 with a raspberry pi 3. I have a pi4 also, and I flashed over retropi 4 to see if this still persisted and I get the same error code with this retropi for also. Just an FYI

thanks for all your help and I hope that we can get this resolved in the end for everyone.

merwok commented 2 years ago

You shouldn’t need to use pip if your OS packages python3-evdev — try installing with system package manager.

mrjjenkins commented 2 years ago

Previously I have just used this github file with just retropi. Have people here downloaded retropi AND raspbian or another OS? Again I have many arcade consoles which only have retropi and this github file.

n-i-x commented 2 years ago

I just downloaded stock retropie, installed gpionext, and no longer have this issue... it also did not happen on another image from arcadepunks based on playbox4.

I'm not sure why the retropie image I used last time had the issue and this one does not... but something fixed it.

On Wed, Oct 20, 2021 at 9:20 AM mrjjenkins @.***> wrote:

Previously I have just used this github file with just retropi. Have people here downloaded retropi AND raspbian or another OS? Again I have many arcade consoles which only have retropi and this github file.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mholgatem/GPIOnext/issues/58#issuecomment-947659924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADLOXXP75XFLLFXECJVNZ3UH26X7ANCNFSM5FRYSRPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mrjjenkins commented 2 years ago

So I have tried a variety of things. I even updated the raspberry pi. No idea what the problem is. There clearly is something though because I am not the only one to have a problem with the evdev. GPIO next will install fine but I can not configure it because that is when it says evdev not found.

Again I just have retropie and this github file bashed to it.

merwok commented 2 years ago

Sorry, what does «github file bashed» mean? (what commands and if you can copy the output or error messages)

mholgatem commented 2 years ago

Hello. So this is an issue because python is not installed here.

@mrjjenkins - The installer script installs python3 and python3-pip

if they aren't installed, you are going to need to do some digging as to why (personally, I would just install a fresh image from a different source)

n-i-x commented 2 years ago

I can confirm it’s working with the latest stock retropie.

On Thu, Oct 21, 2021 at 4:16 PM mholgatem @.***> wrote:

Hello. So this is an issue because python is not installed here.

@mrjjenkins https://github.com/mrjjenkins - The installer script installs python3 and python3-pip

if they aren't installed, you are going to need to do some digging as to why (personally, I would just install a fresh image from a different source)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mholgatem/GPIOnext/issues/58#issuecomment-948970395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADLOXRPW6QFAHUWU5HXNXLUIBYJLANCNFSM5FRYSRPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mholgatem commented 2 years ago

thanks @n-i-x