Homepage Forums Search Search Results for 'usb'

Viewing 35 results - 2,451 through 2,485 (of 3,655 total)
  • Author
    Search Results
  • #87098

    In reply to: HELP!!!

    dparks
    Participant

    Cool project! I started something like it a few years ago, but didn’t have a raspberry pi at the time.

    For the sake of portability (and because I haven’t mucked around with the GPIO pins on the pi yet), I would wire it up to another controller with a USB on it. Something like this, though I can’t confirm its compatibility with the pi: http://www.diyarcade.com/usb-arcade-control-encoder

    That way, if you get frustrated or bored with using the raspberry pi, you can just plug the USB into another machine without having to completely rewire. From there it would just be a matter of plugging it in and configuring your emulators to recognise the buttons.

    I ended up wiring my arcade buttons up to the PCB of an old wired Xbox 360 controller as an obsession with street fighter 4 took hold. This is a pain in the arse, and I would not wish it upon anyone.

    #87094
    herbfargus
    Member

    There may have been some changes in the file structure from when those videos were made. What version of Raspberry Pi are you using? B+ or Model 2? Did you install from source or are you using the 2.5 SD image? Which USB controller are you using (SNES ibuffalo… n64?) Specifying the details of your hardware and software can help identify the issue.

    chyczewski
    Participant

    Ok I can confirm that you can get both controller working MANUALLY by doing this:

    press PS button on the first controller and wait until its assigned P1.

    run:

    sudo sixad –stop
    sudo sixad –start

    and when it tells you to press the PS button press the PS button on controller 2, I had this working but by no means is this a solution.

    I imaged my SD card with the image I had that had the controllers working. They act the same way, which leads me to believe when we ran raspi-update it updated some firmware which is persistent no matter what version of RetroPie is used.

    I am using a asus USB-BT211 dongle

    thanks!

    joaomluz
    Participant

    Hello guys, i im using a usb controller that works in menu but when i start the game the controller stop working.. anyone have some ideas? tks.

    #87062

    In reply to: rpi2 2.5 gamepad help

    webhead
    Participant

    does anyone know how to help in psx emu
    in the psx emu menu do i have to change the input to some different driver for an xbox controller lease help me heeellllppppppppppppppppppppppp

    i did jstest and my madcatz 360 usb controller works fine according to that.

    Anonymous
    Inactive

    I couldn’t find one of these when I was looking, so I just thought I’d share the config file I put together for people looking to use PS4 controllers with input autodetect.

    This version uses Share + Options (the DS4’s Select + Start) as the “quit emulator” button combo.

    By default, this should go into:
    /opt/retropie/emulators/retroarch/configs/

    IMPORTANT: You will also have to rename or remove PS3ControllerBT.cfg from this folder. You can simply rename it PS3ControllerBT.cfg.bak.

    DualShock 4s and bluetooth-connected DualShock 3s have the same device id, which disables in-game controls if both config files are present You will have to decide which type of controller you’re going to use. USB-connected PS3 controllers should still work fine with PS4 controllers.

    Let me know if you find any issues. :)

    SonyComputerEntertainmentWirelessController.cfg

    # DualShock®4 Wireless Controller Configuration
    # ---------------------------------------------
    # For reference, the input labels are as follows:
    # Directional Buttons 		| Hat0
    # Square			| Button0
    # X				| Button1
    # Circle			| Button2
    # Triangle			| Button3
    # L1				| Button4
    # R1				| Button5
    # L2				| Button6
    # R2				| Button7
    # Left Stick Horizontal 	| Axis0 (-Left/+Right)
    # Left Stick Vertical 		| Axis1 (-Up/+Down)
    # L3				| Button10
    # Right Stick Horizontal 	| Axis2 (-Left/+Right)
    # Right Stick Vertical 		| Axis5 (-Up/+Down)
    # R3				| Button11
    # Share				| Button8
    # Options			| Button9
    # PS Button			| Button12
    # Touchpad Button		| Button13
    
    # Device Configuration
    input_device = "Sony Computer Entertainment Wireless Controller"
    input_driver = "udev"
    
    # Directional Buttons
    input_up_btn = h0up
    input_down_btn = h0down
    input_left_btn = h0left
    input_right_btn = h0right
    
    # Action Buttons
    input_a_btn = 2
    input_b_btn = 1
    input_x_btn = 3
    input_y_btn = 0
    
    # Shoulder Buttons
    input_l_btn = 4
    input_r_btn = 5
    input_l2_btn = 6
    input_r2_btn = 7
    
    # Left Analog Stick
    input_l_x_minus_axis = -0
    input_l_x_plus_axis = +0
    input_l_y_minus_axis = +1
    input_l_y_plus_axis = -1
    input_l3_btn = 10
    
    # Right Analog Stick
    input_r_x_minus_axis = -2
    input_r_x_plus_axis = +2
    input_r_y_minus_axis = +5
    input_r_y_plus_axis = -5
    input_r3_btn = 11
    
    # Start & Select
    input_select_btn = 8
    input_start_btn = 9
    
    # Hotkeys
    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9
    floeggu87
    Participant

    I used this board as well. It took some time soldering it together.
    schematics

    On one end you solder on the usb-connector and on the other either a SNES/NES controller or a connector (also available at raphnet) –> http://www.raphnet-tech.com/products/snes_controller_connector/index.php

    The Configuration is very similar to the one I used with the nes2usb circuit.

    es_input.cfg:

    	<inputConfig type="joystick" deviceName="raphnet.net 4nes4snes" deviceGUID="030000009b2800000300000001010000">
    		<input name="a" type="button" id="4" value="1" />
    		<input name="b" type="button" id="0" value="1" />
    		<input name="down" type="axis" id="1" value="1" />
    		<input name="left" type="axis" id="0" value="-1" />
    		<input name="pagedown" type="button" id="6" value="1" />
    		<input name="pageup" type="button" id="7" value="1" />
    		<input name="right" type="axis" id="0" value="1" />
    		<input name="select" type="button" id="2" value="1" />
    		<input name="start" type="button" id="3" value="1" />
    		<input name="up" type="axis" id="1" value="-1" />
    	</inputConfig>

    retroarch.cfg:

    input_player1_joypad_index = 0
    input_player2_joypad_index = 0
    
    input_player1_a_btn = 4
    input_player1_b_btn = 0
    input_player1_y_btn = 1
    input_player1_x_btn = 5
    input_player1_start_btn = 3
    input_player1_select_btn = 2
    input_player1_l_btn = 6
    input_player1_r_btn = 7
    
    input_player2_a_btn = 12
    input_player2_b_btn = 8
    input_player2_y_btn = 9
    input_player2_x_btn = 13
    input_player2_start_btn = 11
    input_player2_select_btn = 10
    input_player2_l_btn = 14
    input_player2_r_btn = 15
    
    input_player1_up_axis = -1
    input_player1_down_axis = +1
    input_player1_left_axis = -0
    input_player1_right_axis = +0
    
    input_player2_up_axis = -3
    input_player2_down_axis = +3
    input_player2_left_axis = -2
    input_player2_right_axis = +2
    
    input_enable_hotkey_btn = 2
    input_exit_emulator_btn = 3
    input_save_state_axis = -1
    input_load_state_axis = +1

    I only configured two connectors, as I just needed two.

    My only problem left is: when quitting an emulator –> controlls point up and left till I press any button.

    maikeximu
    Participant

    Hello,

    First of all, i would like to thank you all for this amazing project !

    I’m currently using a 1Tb flash usb drive to store and try to keep a clean installation folder (which is just a small 2Gb micro sd). I much prefer this way in order to keep Retropie standalone (and i tend to mess around a lot).

    I moved all the roms back to the usb stick but I can’t find the proper way for the scraper to store gamelist & downloaded images (most important folder which takes a lot of space) directly on the usb.

    Right now, i just managed to change to mass edit the directory inside the gamelists but a better way would be to tell the ES python parser to put and retrieve images inside /media/usb0/Emulation/downloaded_images/xxx.

    If you have any idea :)

    imassakre
    Participant

    Ok. So using the 2.5 image did indeed allow the USB ports to be recognized…any idea why this worked?

    imassakre
    Participant

    I’m a bit confused here. My friend just got a brand new model B+ today and he is using the same exact RetroPie 2.3 image that I am (the one from petRockBlog) and his Pi refuses to recognize anything plugged into the USB ports. He installed Raspbian and they work fine, but again stopped working when he switched back to the RetroPie image. I am really confused because we know his USB ports work, and that the RetroPie image works. Any tips on where to begin trouble shooting this?

    webhead
    Participant

    hello downloaded 2.5 sd card image , got some emus working , but on my psx emu my gamepad doesnt do anything but it works in emulationstation and on dgen .
    its a xbox360 usb madcatz wired usb gampad. on a raspberry pi2 quadcore awesome.
    and thanks for making this software its awesome.
    im a linux beginner and retropie beginner.
    any help would be nice as i dont know what im doing in linux being a windows user for too many years lol.

    #86972
    pmurch
    Participant

    That audio noise is typical for the pi. A lot of places suggest replacing the built in analogue out with a cheapo usb sound card off ebay for around $2-5.

    mfkl90
    Participant

    Hello, i have a problem saving games on the psx emulator.
    It wont save the games as the playstation games are opened on a fat32 usb drive.

    It wont let me save them because of permissions and you cannot set linux permissions on a fat32 usb drive.

    I just wondered if anyone else has had this issue and know a workaround.
    using the fat32 usb drive to store the games is handy as you can access it on windows.
    i dont want to format this usb to ext.

    i have also looked at the /etc/fstab file as this seems to be a workaround, but i have no idea how to configure it with retropi.

    anyone have anyideas?

    #86922
    boblablah
    Participant

    Through some searching, I found the updated information for the wireless ps3 controller setup in this site. The new 2.4+ directions specifically state you can use the script within the retropie_setup.sh script to install the driver… they will fail, but you can run a couple things manually and voila.

    for me, this does not survive a reboot. no matter what. sixpair only hammers up a js device when usb connected. There’s no ps3 controller vibration when linked, and the one time it did work, there was only one controller allowed. as soon as i connected the second one, the first went off the air.

    The issue I am having now is that since the new script was built, new auto-configs have been added and I need to basically send those packing and go back to the 2.3 way of doing it, with downloading source, patching running and pairing etc etc.. I can go through all this work, but the problem lies in that the exit buttons are not taking either when i manually setup the controllers with my own 2.3 version predefined configs..

    i had this running sweet as honey on 2.3 but went to the beta as the RPI2 showed up and it seems this version is the necessary one for RPI2.

    Which are the predefined config files, and can I move/remove them and have the emulators go back to the previous configs?

    #86905
    raoulangel
    Participant

    Well, I have been looking at the number of projects here, and realized that I haven’t pushed the envelope yet, really.. I realized this thing is so small and powerful that I could probably get a LOT out of a little space.. So.. with that in mind.. I took apart a 1908’s Coleco Zaxxon Tabletop, and wired up the Pi inside.. added joystick and buttons, bought a Mini-Pac from Ultimarc and did some wiring.. Added a power switch, routed an external USB port and ethernet port, and found a 5″ adafruit SVGA HD screen.. and voila!! My portable Arcade Pi project.. Oddly enough it needs a bezel and a name!! Working on decals now.

    mavgink
    Participant

    Hi,

    I’m wondering if it’s possible to change the controller name that shows up when launching RetroArch. Now it says “USB Gamepad “. If I change USBgamepad.cfg
    RetroArch doesn’t recognize my controller anymore. Is this even possible? I would like to have it say for example: ‘USB SNES Gamepad’

    #86898
    Anonymous
    Inactive

    Hi everyone.

    I’ve done something really wrong, I’m completely new to this so go easy one me and please forgive me if I’ve posted in the wrong section.

    I’ll run through what I did yesterday and if someone would be kind enough to tell me what I did wrong I would be very grateful.

    So I bought a 32GB Micro SD card along with one of those USB adapters so I could use it in my Mac. I downloaded the RetroPie image, extracted it and used the RPI-sd card builder software to write the image to my SD card. All good so far.

    I put the SD card in my Raspberry Pi and followed a tutorial to get it up and running. I ended up doing something wrong and messing it up so I thought I would format my SD Card, write the image again and start over.

    I put the SD card back in my mac and go to disk utility. I notice on the left hand side it says ‘2.2 TB USB2.0 CARD-READER Media’ but didn’t think anything of it and went ahead and clicked the ‘erase’ tab (formatting it as MS DOS FAT). It got half way through and then it just froze. I quit disk utility and went to try again but when I put my SD card in now it says ‘The disk you inserted was not readable by this computer.’ It still shows up on disk utility though. I tried it in my phone as well and it’s not recognising it.

    Is my SD card broke? Did I do something wrong?

    Any help would be greatly appreciated. Thanks.

    #86894
    maikeximu
    Participant

    And don’t forget to change the path for save state and save files to another path (on retroarch.cfg). My USB card was read only (maybe yours is not) so i had to put these Save settings back to the original /home/pi/retropie/xxx.

    #86883
    Computer Ninja
    Participant

    [quote=86882]In the ROMS folder there should be a folder called mame. You put your ROMs in there. If the mame folder is in _unused then move it back into the ROMs folder, add your ROMs to the recently moved mame folder and restart emulationstation and mame will show up as an option. Once in a game you’ll use tab on the keyboard to configure your controllers since mame is different than retroarch configs. (https://www.petrockblock.com/forums/topic/configuring-usb-controller-with-mame/) You’ll also need to make sure your mame ROMs are from the 037b5 set (https://code.google.com/p/imame4all/wiki/GameList) otherwise they may not work.[/quote]

    So, the ROMs folders are basically triggers as to what is active is what you’re saying? If so, that’s pretty slick!

    #86882
    herbfargus
    Member

    In the ROMS folder there should be a folder called mame. You put your ROMs in there. If the mame folder is in _unused then move it back into the ROMs folder, add your ROMs to the recently moved mame folder and restart emulationstation and mame will show up as an option. Once in a game you’ll use tab on the keyboard to configure your controllers since mame is different than retroarch configs. (https://www.petrockblock.com/forums/topic/configuring-usb-controller-with-mame/) You’ll also need to make sure your mame ROMs are from the 037b5 set (https://code.google.com/p/imame4all/wiki/GameList) otherwise they may not work.

    #86864
    Anonymous
    Inactive

    Thanks. the emulator runs really well on the new rpi

    My only issue is with controller mapping. I have two generic N64 USB controllers. Unfortunately the mapping of the keys is wrong. A and B map to the right hand down and left. and A&B map to the shoulder buttons. I cant quite figure out where this info is stored, and i’ve tried to set it up using retroarch but assume that mupen doesnt use retroarch because the mapping has no effect.

    Can anyone help me with this??

    #86852
    herbfargus
    Member

    Kinda the same way that you update the usbromservice. I apologise if this isn’t exact I’m going off the top of my head as I don’t have access to my pi right now.
    cd RetroPie
    sudo ./retropie_setup.sh

    Select update script
    Reboot

    Then update usbromservice like you did before

    #86840
    petrockblog
    Keymaster

    get this image

    https://drive.google.com/open?id=0B_knGioK16E6TlVpa3hmRi1PRHc&authuser=0

    or do as herbfargus suggested, update the script, and then re-run the usbromservice. There was a bug with this in the 2.4.2beta image that has since been corrected.

    frikk
    Participant

    Hi guys,

    I have a fresh install of RetroPie (v2.3), and the only modification that I’ve done is added a few ROM files (that I own legally) for SNES, and set up my iBuffalo controller (using the provided setup script which worked great). I’m on a Raspberry Pi B (512mb RAM).

    Emulation station works great, and I’m using the default SNES emulator (which I believe is RetroArch). The games are beautiful, sound works great, controllers are highly responsive.

    The problem is that I’m getting intermittent crashes on my games. Super Mario Allstars seems to be the worst — Mario 3 crashes quickly, typically before I can complete the second level. Super Mario World (in the same ROM) seems to be more stable, but crashed after about 20 minutes. Same w/ the stand alone Super Mario World ROM. I tried playing EarthBound, and the first 2 times I played it (for about 20 minutes each) it was fine, so I thought it may have been a bad ROM file. But then last night it crashed on me too after about 15 minutes of a new session. Donkey Kong has not crashed yet, but I’ve only played it once.

    What happens is the game just crashes back to the console, where you can see the boot messages for the rpi and a few startup scripts for emulation station, then emulationstation loads back up to the SNES menu. Basically the same as if I had exited out of the game (which I have mapped to select/start on my controller config).

    So my questions are:

    * Is there a log file I can look for?
    * Would changing emulators help? I’d rather not change since RetroArch works so well (when it isn’t crashing)
    * Would updating to the beta version of retropie help?
    * Has anyone else experienced this? I’m running a pretty vanilla setup here.

    The only thing different is that I do have a bypass of the USB regulator on my chip, but that’s never caused system instability and all it does is remove the current cap so that the Pi can have a full wifi chip if needed (which I am not using currently).

    I’d love to hear any tips on what I could try. I’m an advanced linux user and I don’t mind getting my hands dirty. Thanks!

    #86810
    herbfargus
    Member

    The only thing I can think of that I made a mistake with was not updating the retropie setup script first. When I fixed it I updated the script first, rebooted, and then went back into the setup script and installed the usbromservice

    Anonymous
    Inactive

    Hello,
    I’ve just upgraded to 2.4 Beta, and the USB Rom-transfer no longer works. I plugged in my old stick to transfer back all my old ROMS, but nothing happened, so I figured 2.4 might use a different layout, so I copied the roms to my PC, formatted the thumb drive, then put it back in the Pi. It still didn’t work, so I did a bit of troubleshooting on my own. It is showing up correctly in the list of USB devices as a mass storage device, so it’s reading it fine. I then went into retropie_setup.sh and went through the USB service setup. I got the normal Installing… Configuring… and then it finished. However, it still did not work. I have restarted the Pi several times and I still have a blank thumb drive.

    Does anyone know what the problem could be?

    husar
    Participant

    I am working on a new RPi dedicated arcade setup. I have RetroPie working with my USB NES style controller. I also have it setup with my MAME roms via the TAB key when in a game. But the controller doesn’t work in anything else. Do I need to edit cfg files or should the following video give me what I need to control NES, SNES, and FBA?

    I just followed this video…..

    When I do the setup and it asks me to only connect the control to the RPi. I have a keyboard, mouse, and the USB controller connected. When I press ENTER to go on I get a quick black screen flash and then it says the config has been saved. I never get to button press part for the video.

    Last question, what is the different in running this and running the controller setup in emulation station?

    Thank you

    MarcoCol
    Participant

    Hi,
    is it possible to copy all roms, which I want to use on an USB-Stick and use it from there, instead of copy all of them to the boot-microSD-Card?

    I think I must for this mount the USB-Stick in any autostart-file and change a path of the RetroPi-Project (or of all of those emulators I’ve installed), right?
    But how? :)

    #86738
    Anonymous
    Inactive

    Hi there, I started playing around with Retro Pie yesterday and since I didn’t have a USB controller available, I tried using the Fire TV gamecontroller via bluetooth. I followed instructions for connecting a PS3 controller (https://dhoium3009.wordpress.com/raspberry-pi-connecting-multiple-ps3-controllers-via-bluetooth/), but got stuck when it came to pairing the controller to the Pi.

    Did someone already succeed in connecting the Fire TV controller? Any hints are really appreciated.

    #86724
    kittentime
    Participant

    This one. Though I just ordered a snes usb controller and it worked no problem. Don’t know why it didn’t work though…I tried everything.

    #86722
    raymate
    Participant

    Created a new card from scratch, this time did not update any software and it worked, now I was able to config the controller.

    This was a basic logitech controller I had, still can’t make it see my Neo Geo USB arcade stick. But the joypad is a start.

    Thanks for you help

    #86715
    raymate
    Participant

    Hi, thanks for the reply.

    I have followed that video and in fact did do that (register the USB controller)

    The issues I get is I’m as the screen when it says please make sure only the USB controller is plugged in, I press enter on the OK then it goes straight to the window telling me the file has been saved it does not give me the window to press the button to config them.

    Before that window comes up I do see for a second the black window that I assume is the one to enter the button presses.

    Any ideas what I can do now, even tried it with no keyboard plugged in but of course I have no way to press enter not he OK

    #86712
    Anonymous
    Inactive

    I am a newbie to retropie but I guess I am lucky enough to have SMB and SMK working without doing anything special.

    However at first it did not work as mention in this post. I could navigate in the menu of SMB but when the controller froze once in the game (in the map land). This only happens if I have only one controller connected.

    My configuration is a B+ with 2 identical USB gamepads connected to the Pie.

    First I run the calibration from retropie-setup with only one controller connected. It created a new configuration file called “GreenAsiaInc.USBJoystick.cfg”, here is the content :

    input_device = “GreenAsia Inc. USB Joystick ”
    input_driver = “udev”
    input_b_btn = “2”
    input_y_btn = “3”
    input_select_btn = “9”
    input_start_btn = “8”
    input_up_btn = “h0up”
    input_down_btn = “h0down”
    input_left_btn = “h0left”
    input_right_btn = “h0right”
    input_a_btn = “1”
    input_x_btn = “0”
    input_l_btn = “4”
    input_r_btn = “5”
    input_l2_btn = “6”
    input_r2_btn = “7”
    input_l_x_plus_axis = “+0”
    input_l_x_minus_axis = “-0”
    input_l_y_plus_axis = “+1”
    input_l_y_minus_axis = “-1”
    input_r_x_plus_axis = “+2”
    input_r_x_minus_axis = “-2”
    input_r_y_plus_axis = “+3”
    input_r_y_minus_axis = “-3”

    Then I connect the second controller and it worked, I have verified with 1 player and 2 players and it worked. Then I have tried SMK 1/2 players and it also worked. Maybe the key is to have two identical controllers connected?

    #86706
    Computer Ninja
    Participant

    I have not tried that yet. I could easily do that. Also, it has a USB WiFi dongle, but it definitely wasn’t configured to connect to my network.

    How do I deal with that, same way, connect to LAN first and then SSH into it? (following online documentation, of course).

    Anonymous
    Inactive

    Thanks for the reply!

    Just to be clear, I used win32diskimager to write the initial image to the MicroSD. It was after setting up my controllers, configurations, etc. that I made the image with HDD Raw Copy.

    I also have a 2a 5v power supply. Sucker cost me $13, but I’ve had issues with lesser ones.

    The USB transfer was the last thing that I tried, and it did corrupt the card, but so did samba and ssh.

    I found a 4gb MicroSD card and I’m going to try that one from scratch. It won’t hold all the ROMs, but it will be a good test.

Viewing 35 results - 2,451 through 2,485 (of 3,655 total)