mholgatem / gpioneer Goto Github PK
View Code? Open in Web Editor NEWA python GPIO controller
License: MIT License
A python GPIO controller
License: MIT License
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!
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.
Hi,
I was wondering if it would work on orange pi with retrorangepi as well?
I would like to have such PCB : http://gerblook.org/image/jfnptPNHwWvm8oYp3N9gxa/top.png
to work from GPIO of orange pi.
If you can help or tell me how I can adapt the drivers to have it working it would be really awesome :)
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.
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.
The text after configuration said to use the pipeline character for combo keys. The web interface did not like and wanted commas.
The text after configuration said to run: sudo python GPioneer.py -c which did not work. I then discovered the web interface.
I tried deleting one or two of the default entries via the web interface and it was throwing error.
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-
I have some issues getting your script running with RetroPie 3.2.1:
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!)
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
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.
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!
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
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.
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.
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
Hi, just a notification for mholgatem really.
I have been working on a new fork of this https://github.com/louisvarley/gpioneer-reloaded, will be going in a different direction from GPIOnext.
Hi mholgatem,
under which license do you released the gpioneer software?
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.