Giter Site home page Giter Site logo

gpioneer's People

Contributors

mholgatem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpioneer's Issues

Retropie - Failed to start gpioneer-web

I received a raspberry pi with retropie installed as an xmas present. I had issues with configuring the gamepad controllers so I thought it would be a good idea to update retropie as well as the underling rasbian.

after that it refuses to boot and exits with the error "Failed to start GPioneer-web.

pi@raspberrypi:~ $ systemctl status gpioneer-web.service
โ— gpioneer-web.service - GPioneer-web
Loaded: loaded (/lib/systemd/system/gpioneer-web.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-01-02 23:59:51 CET; 5min ago
Process: 461 ExecStart=/usr/bin/python app.py (code=exited, status=210/CHROOT)
Main PID: 461 (code=exited, status=210/CHROOT)

Jan 02 23:59:50 raspberrypi systemd[1]: gpioneer-web.service: Failed with result 'exit-code'.
Jan 02 23:59:51 raspberrypi systemd[1]: gpioneer-web.service: Service hold-off time over, scheduling restart.
Jan 02 23:59:51 raspberrypi systemd[1]: Stopped GPioneer-web.
Jan 02 23:59:51 raspberrypi systemd[1]: gpioneer-web.service: Start request repeated too quickly.
Jan 02 23:59:51 raspberrypi systemd[1]: Failed to start GPioneer-web.
Jan 02 23:59:51 raspberrypi systemd[1]: gpioneer-web.service: Unit entered failed state.

I don't fully unterstand the error because if I enter the ip into the webserver I am greated with a nice gui. in the logs:

Jan 02 23:59:55 Stopped gpioneer-daemon.Started gpioneer-daemon.gpioneer.service: Main process exited, code=exited, status=210/CHROOTgpioneer.service: Unit entered failed state.gpioneer.service: Failed with result 'exit-code'.gpioneer.service: Service hold-off time over, scheduling restart.

I already ran the install script and all packages are up to date.

What am I missing? How can I see the webpage but still receive an error that gpioneer-web can't be started?
How can I resolve this error?
Is there a safe way and recommended way of "migrating" from gpioneer to GPIOnext?

thank you very much!

Testing unit is not working?

Hi. I configure gpioneer for a GBZ project with just a few buttons, just to test.
When I type "sudo python gpioneer/GPioneer.py", and press the configured buttons, nothing happens.
If I press Ctrl+C, it shows up the expected "Kaaaaahhn!"
What am I doing wrong?
Thanks.

Can't configure controller to EmulationStation

Hi, also thank you, it seems to work very smoothly and I was able to get it up and running without any difficulty

I'm testing input with a single button (to make sure it works before I buy 12 to make a controller) and was able to successfully configure it in the GPioneer config. However, when I type 'gpionext start' and go back into emulation station, I can't configure the input as a controller.

Any ideas? Thank you very much.

Comments

I'm a noob to Linux. I installed the RetroPie 4.2 image and then installed GPioneer on a Pi 3. The setup configuration right after running was good, the web interface even nicer.

  1. The text after configuration said to use the pipeline character for combo keys. The web interface did not like and wanted commas.

  2. The text after configuration said to run: sudo python GPioneer.py -c which did not work. I then discovered the web interface.

  3. I tried deleting one or two of the default entries via the web interface and it was throwing error.

  4. When the Pi boots up, I still get 'No Gamepads Detected'. I had initially tried Adafruit's Retrogame and had the same issue. What am I doing wrong here?

-Thanks-

Issues with RetroPie

I have some issues getting your script running with RetroPie 3.2.1:

  1. The script doesn't work right away because it can't import the RPi.GPIO. I solved this like mentioned here: http://raspberrypi.stackexchange.com/questions/27407/importerror-no-module-named-gpio
    $ sudo apt-get install mercurial
    $ sudo pip install hg+http://hg.code.sf.net/p/raspberry-gpio-python/code#egg=RPi.GPIO
  2. After rebooting, the inputs are not recognized, until I connect a USB-Keyboard (I can disconnect it right after it has been recognized), then the GPIO inputs work until the next reboot.

Any ideas?

Thank you!

(Btw, I love your script because it's the only trick I found so far to properly use RetroPie with only 1 Joystick and 3 Buttons by mapping combos. Thank you!)

Searching the rc.local entry

Hi,

first of all big thanks for your work.

You wrote in readme:

Advanced configuration
/etc/rc.local has been modified to auto run GPioneer, add any of these flags to modify the runtime settings

If I open /etc/rc.local the file is untouched. I want to try some of the advanced configuration options but I can't find the file, where I have to edit it.

GreetZ
Nils

how to uninstall?

Hi,

really exited to use this program however when I input all the commands and I get to "bash gpioneer/install.sh", when processing that there seems to be a few errors. After that it comes up with the "press Y/N to configure" as normal, I press Y but I am not prompted to input the controls as specified in the README. it comes up with the menu in blue text but upon entering any of the commands it just says no such file or directory. i would really like to re install it as a reconfigured some of the partitions and i believe it didn't install properly, what is the bets way to uninstall? or if I am simply using the program wrong any suggestions are very much appreciated, thanks.

Web interface

Will this work with a psp joystick? Also... this might be a dumb question..but how do I access the web interface to configure buttons? I saw something about the IP address but I have no idea what to do. Thanks!

Web server issues.

I have been successful installing gpioneer and mapping the buttons with the console configuration. The web interface doesn't allow me to make any changes other than deleting records. If I click on edit record or create entry I get a page displaying:

jinja2.exceptions.TemplateAssertionError
TemplateAssertionError: no test named 'equalto'

I have tried removing gpioneer and re-installing

I also tried:
sudo pip uninstall Jinja2 #this complained it belonged to system

And:
sudo pip install -I Jinja2==2.8 #this installed without error

This system is a raspberry pi 3 running RASPBIAN JESSIE WITH PIXEL

Please let me know if you know what is causing this error. If not is there a another way to map button combinations.

Thank you for your work on this. It is working great for my project otherwise.

Jarrad

Install failed on RetroPie image 4.2

Imaged an SD card with RetroPie 4.2. Booted with a Pi 3 and installed gpioneer per instructions. Install failed--"Invalid operation python-pip"

I tried installing EVDEV package etc. (will try to get the exact apt-get command I used) on a whim and re-ran the gpioneer install. it worked!

This should be fairly easy to reproduce. I think RetroPie 4.2 is based on Raspbian Jessie-lite.

How can i use 27. and 28. Pins as input

Hi i like your code and thank you for sharing. All gpio pins are busy can i use 27 And 28 I2C Pins as input. Sorry about bad english. Thanks for helping.

2P Controls

Hello,

First off thanks for the driver, I got it working fairly quickly (the website is a very nice feature).

One issue I am having is trying to get a two player system working. Is this within the scope of your driver? Or am I just being a noob?

I am using a PI 3, trying to make a 2 player cocktail style. As mentioned I have all of the 1 player functions working fine but not the 2 player (or a way to rotate the screen 180 degrees but I digress).

Any information you can send my way would be much appreciated.

Aaron

License?

Hi mholgatem,

under which license do you released the gpioneer software?

Script preventing Shutdown / Reboot (Rpi3 only)

Hi mholgatem,

after further using your GPioneer we've encountered that the Raspberry Pi isn't able to reboot or shutdown anymore. It will hang on the message

"[OK] Stopped target Remote File Systems (Pre)."

without any explicit other errors. If I kill the script with "sudo pkill -9 -f GPioneer.py", then I can reboot and shutdown normally.

No sound after install

Hello there,

I'm running a Raspbian + Kodi + EmulationStation.

Your script looks the best to me as it is working on everything compare to Retrogame which is not working in Kodi.
I install Gpioneer, configure everything. Works great. Problem is that since I installed everything I don't have sound anymore. And I don't get where it's coming from. It was working before the installation tho'. In raspbian it's of course unmute, sound to the max.
Any tips ?
I'm running a Pi zero W

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.