Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › jstest – How to run/install?
Tagged: connection refused, install joystick, jstest
- This topic has 7 replies, 3 voices, and was last updated 10 years ago by bobbyt.
-
AuthorPosts
-
10/05/2014 at 01:24 #81502bobbytParticipant
I’m trying to figure out the keys for my gamepad, so I quit emulation and exited to the command line.
I first tried typing jstest /dev/input/js0
only to get: Command not foundSo I eventually found the following command:
sudo apt-get install joystickWhich I ran. It proceeded to go though a process which then asked me if I wanted to continue. I selected yes only to get a short list of URLs all saying (111: Connection refused).
I tried googling that and ended up seeing it’s likely something regarding proxy setup. That being said, I’m not sure how to get around this…
I’m using SD image 2.3. I’m a newbie & I’m not certain how to get around this problem so I can figure out my gamepad button mapping so I can assign them to emulators…
Anybody have any help here???
10/05/2014 at 03:24 #81506FloobMemberIf you are trying to get a USB controller working with RetroPie, you can use the setup option in the RetroPie setup script.
10/05/2014 at 10:01 #81511bobbytParticipantI’m not sure what you mean by RetroPie setup script.
At first I thought you meant ./retropie_setup.sh but I quickly found this is a tool for downloading an updating the RetroPie binaries (which suffers from the EXACT same connection issue (111: Connection refused) when I try using it).
The only other thing I can find corresponding with setup is the USB controller setup inside the emulator environment. The problem with this is it seems that mapping doesn’t carry though to the emulators too well, or at all…
When I run one emulator only the direction pad and 1 button seem to be mapped correctly, the others are all over the place or non existent (‘start’ seems to be hiding in one of the primary keypad buttons, and one of the shoulder buttons has no effect (while the other shoulder button is the only one mapped correctly)).
When I run another emulator I get no response from any of the buttons. I’m stuck at the intro screen…
In spite of this, it appears the gamepad itself is properly recognized during setup (even though it only has me assign about half the buttons the gamepad has built in).
This is why I planned on manually modifying the key mappings files in the individual emulator directories, but I ran into a complete inability to run any installers or updaters because there appears to be some kind of proxy automatically enabled on the SD 2.3 card image (and I’ve yet to figure out how to modify this setting).
If there is something else I’m overlooking, I would really appreciate the help…
10/05/2014 at 14:21 #81512FloobMemberDoes this help? The video also shows where the default config files are.
10/06/2014 at 04:47 #81538boesiiiParticipantAre you connected to the internet?
10/10/2014 at 03:27 #81639bobbytParticipant>Does this help? The video also shows where the default config files are.
It did. I avoided the setup option because I could not do the first two items. I realize in hindsight that part was done for me.
>Are you connected to the internet?
I should be. The device is connected via an ethernet cable to a hub which all my consoles are connected to (and they all have an internet connection). It also is being given an IP address from my router, which I’m able to connect to with an FTP client….
I haven’t messed with the network settings in any way… The only thing I can think is perhaps it’s not getting a valid name server…
10/11/2014 at 11:27 #81670bobbytParticipantI have more information.
I definitely have an active internet connection, which was confirmed by me a short time ago 2 separate ways.
The first is that I exited to the command line and successfully pinged google.com
The second is I ran the scraper for the first time and downloaded the content.It appears ONLY updates/installs give me the connection error.
Each update tries to connect to a url containing ‘mirror’ in it (I probably would re-run an update to get the full URL but I figured this would work for now).
It seems specifically tied to the ‘apt-get’ command being unable to run. As of now I seemed to have gotten everything working so I don’t really need to run it. However if an update comes out I will not be able to update until I can find a fix for this…
10/12/2014 at 00:37 #81684bobbytParticipantI’m going to solve this thread and start a separate one.
I’ve determined I cannot access ‘mirrordirector.raspbian.org’ which is preventing updates…
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.