Homepage Forums Search Search Results for 'usb'

Viewing 35 results - 2,766 through 2,800 (of 3,655 total)
  • Author
    Search Results
  • naxxox
    Participant

    Hi there,

    I’m really frustrated concerning about my input gamepad lag. I’m experimenting a lot of latency and delay while playing and I don’t know what to do. My gamepad is an USB clone of SNES gamepad.

    Currently I’m using Retropie 2.3 with the following settings to avoid input lag:

    config.txt:

    hdmi_group=1
    hdmi_mode=4
    
    arm_freq=1100
    core_freq=600
    sdram_freq=750
    over_voltage=6
    over_voltage_sdram=6
    avoid_safe_mode=1
    gpu_mem=256
    overscan=1

    all/retroarch.cfg:

    video_driver = "gl"
    video_hard_sync = true
    video_hard_sync_frames = 3

    My questions are:

    · Should I get other gamepad? Maybe Bluetooth Sony DualShock 3?
    · Some specific configuration of config.txt or retroarch.cfg that I’m missing?
    · Are there some applications to test the input lag?

    Thanks in advance! :)

    #82747
    Anonymous
    Inactive

    Hi! I had trouble getting my controller to work, just a regular USB SNES controller. I didn’t think about it all that much, since I doubt I’ll be using XBMC much, but I would be interested in a solution as well. :)

    #82746
    jaime
    Participant

    Hi, need your help guys,

    I followed this post to succesfully install xbmc in the retropie menu, i made a retro cabinet with arcade joystick and buttons and im using the adafruit retogame.c to map gpio as keyboard, xbmc doesnt read the arcade buttons, it only works with a usb connected keyboard.

    Tryed to config xbmc with keyboard mapper add on, but it seems the retrogame.c its not running.

    Thanks for your help

    thierrydiaz
    Participant

    Hello,

    I successfully performed the whole install and configured 2 dual shock controllers with bluetooth.

    The problem I have is that if no USB controller is plugged at startup, I get an error message (“no gamepad detected”).

    I don’t want to keep an USB controller plugged because it catches the first controller slot (e.g. slot 0) and this messes up my gamepad configuration in retroarch. (I want to use only my BT controllers)

    So here’s my question: is it possible to skip gamepad detection at startup of emulation station?

    Thanks in advance! And keep up this brilliant work!
    Thierry

    #82734
    Anonymous
    Inactive

    There are a few ways to get roms into it by default.

    The one method most people use is to have their image on an SD card, running from USB. This keeps the roms and Retro Pie running from USB.

    How to run from USB (the best method)

    The second method is to load your roms into your SD card if you have Retropie on your SD card. All you have to do to do this is take a blank USB drive, plug it into the PI, wait a few seconds and then plug it into your PC and you will see a pre-built roms folder.

    Information about downloading roms cannot be divulged on the forums as per this topic:

    FORUM RULES (ALSO ON POSTING IN REGARDS TO ROMS/GAME IMAGES)


    but I would invite you to look into the suggestion placed on this page which offers free and legal downloadable roms.

    You can copy what roms you have into these folders and then plug this back into the PI, give this some time to do until you notice your USB stops flashing (This is the only method I’ve found at least). You can then reboot your device and this should have copied the roms into the SD card.

    The third method which I haven’t been able to get working unfortunately is offloading your roms on an USB drive. This method is described in the article below but you’ll have to scroll down into the comments as it’s outdated. You do this so you can have your RetroPie Image on your SD card, and your roms on your USB. I’ve been looking to do this to save some money temporarily as I haven’t had the extra cash to pick up a 128 gb flash drive.

    http://mardell.me/blog/how-to-load-roms-from-a-usb-drive-on-retropie/

    I’m no pro either but I hope that helps some.

    Anonymous
    Inactive

    Hey everyone!

    So I’m a bit new to the Retropie and have unfortunatly not had the time (or money) to pick up a 128GB usb drive just for my emulation system. As a temporary way around this I found this article(Link below) that a few people were using to link their roms on a usb off of their main sd card.

    I’ve tried a few various methods and even have gone through the comments section to find that this article is outdated and am looking to see if anyone knows how I might go about doing this as I have a USB laying around and really would like to have more than a few games on my system till I can afford to buy a larger drive.

    I’ve tried doing the below:
    sudo cp /etc/emulationstation/es_systems.cfg ~/.emulationstation/es_systems.cfg
    sudo into the copied file
    change the path inside <path> for each emulator
    save, reboot

    Additionally what I’ve been doing with each emulator is creating a script with 7-zip to delete duplicate roms and in most cases roms that have foreign copies. If you could let me know on the above or if anyone has gotten another way to make this work that’d be great!

    #82690
    dudleydes
    Participant

    You can configure your controller by launching a ROM, pressing TAB on a keyboard to bring up the MAME UI and selecting Input (general) or Input (this game).

    Forum member Floob has created a video that demonstrates this.

    Configuring MAME with USB controller

    noodleface
    Participant

    Hi all,

    I recently purchased a Raspberry Pi Model B+ solely for the purpose of installing RetroPie/EmulationStation.

    I set everything up according to the guides on this blog and everything seemed great. Then EmulationStation loaded.. “no gamepad found”. Hmm.

    Even my keyboard wouldn’t work to quit ES (F4). I’ve tried 3 separate USB controllers and 2 separate keyboards, but nothing works.

    Using lsusb I can see the devices listed, and they work in other applications just fine but not in ES.

    I even added a sleep before emulationstation is loaded, but this didn’t help either.

    Can anyone think of anything to try? I’m very disappointed so far :(

    bluewaffle
    Participant

    Hi everyone,
    I’m currently running RetroPie Version 2.3 and I’m having some problems. My keyboard isn’t working when the Emulation Station is running. Also, my USB SNES controller is wonky. Sometimes it works and other times it doesn’t.

    Is this a problem with the RetroPie or a power issue?

    #82668
    Anonymous
    Inactive

    I could help with mapping out the same controller to use different keys in the other emulators. But I am at a loss as to how to get RetroArch to understand what controller needs to be read in the main config file when you plug in a PS3 controller as player one, and ignore the mappings for the snes usb controller you had plugged in earlier.
    I also noticed there is a slight problem with mapping the PS3 controller for my build as if it writes it’s own config no matter what I change, I suspect it has something to do with not having enough power draw to the controller from the usb port (ps3 controller draws 300amps, but the usb from the pi can only supply 100amps).
    My guess is when you want to map a certain controller you would use input_device somewhere in the file?:

    # SNES CONTROLLERUSB
    input_player1_joypad_index = 0
    <strong>input_device = "USB,2-axis 8-button gamepad  "</strong>
    input_driver = "udev"
    input_b_btn = "1"
    input_y_btn = "3"
    input_select_btn = "6"
    input_start_btn = "7"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_a_btn = "0"
    input_x_btn = "2"
    input_l_btn = "4"
    input_r_btn = "5"
    
    input_enable_hotkey_btn = "6"
    input_exit_emulator_btn = "7"
    
    # PS3 CONTROLLERUSB
    input_player1_joypad_index = 0
    <strong>input_device = "Sony PLAYSTATION(R)3 Controller"</strong>
    input_driver = "udev"
    input_b_btn = "14"
    input_y_btn = "15"
    input_select_btn = "0"
    input_start_btn = "3"
    input_up_btn = "4"
    input_down_btn = "6"
    input_left_btn = "7"
    input_right_btn = "5"
    input_a_btn = "13"
    input_x_btn = "12"
    input_l_btn = "10"
    input_r_btn = "11"
    input_l2_btn = "8"
    input_r2_btn = "9"
    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"

    *This is an example config and by no means how I use mine.*
    But then the problem starts as to which hotkeys get mapped to what controller? Because 6 and 7 are down and left on the ps3 controller, & select-start on the snes controller. So you try and map only the controls to the PS3 controller to be used with the PSX emulator inside the PSX Retroarch config file, right? Wrong! It still takes hotkeys from your main config file, and another config file from your controllers folder in the Retroarch emulator folder. Fine so you delete the controls in the main file, and also the controller config, but leave the file how you want it inside the PSX emu config, Wrong again!
    My main problem is no matter which files I manipulate, or even delete…I still get odd anomalies with using my PS3 controller in PSX Retroarch that forces the controller to use weird mappings even though I specifically set up the mappings I wanted for just that emulator with nothing else connected>
    I press R3 and it acts like TRIANGLE, I press L3 it acts like X…so I swap them, boot the game again and they are supposed to be switched but what do you know they register the same input anyway. I hook up my snes usb controller, delete some hotkeys from the PSX emulator, and add some back for the snes controller, and Bam! it works flawless.
    So in closing i am looking for a solution in the config file that would make it easy to play with what config you write and for Retroarch to actually use the correct one for the controller attached at the time…seems easy enough right?

    rngeezus
    Participant

    Hey all,

    I’ve been working on getting my gpsp control scheme setup and I’ve run into a snag. I’ve already made sure the BIOS works and used the gpsp setup utility located in ..\emulators\gpsp, I’m just having difficulty setting up an escape key for my controller. I’m using a SNES controller that I converted to USB using a teensy. It’s set to be read as a keyboard and output the keys mapped to the buttons. The issue is that gpsp provides a menu function for a gamepad, but not in the keyboard scheme! I looked at the .cfg file that I believe was created by the utility, but I just see nonsense (using nano to edit).

    Does anyone have any ideas how I might be able to setup an escape key? I’m pretty sure that gpsp isn’t using a retroarch core, so using that .cfg wouldn’t have any effect would it? Thanks for the help.

    #82637
    Anonymous
    Inactive

    Sorted it out… Now need to wait for the controllers to arrive and find my old USB keyboard!

    clockwork
    Participant

    Hello everyone,

    I’m encoutering problems with my snes controller !
    I’ve read a lot of threads about controller configuration but I can’t seem to find a solution to my problem.

    I’m using a B+ model, everything works great with a wired Xbox360 controller.

    I now want to use an original super nintendo controller with a usb adapter. I’ve plugged it in, set it up with emulationstation and everything works great… but not in game. Nothing responds.

    What I’ve tried so far :

    – Run retropie_setup.sh : When prompt to push the button to configure, nothing is recognized and I get a time out message.
    – Set the “input_player1_***_btn” lines in retroarch.cfg in /opt/retropie/configs/all/
    – Copy all these lines in the retroarch.cfg of the Snes emualtor.

    Does anyone know why the controller works perfectly in emulation station but is not recognized in configuration or in game ?

    Thanks in advance !

    Anonymous
    Inactive

    Hi Everyone,

    I bought a Raspberry Pi Model B+ (as I wanted lots of USB ports), I downloaded the RetroPie Project SD-card Image V2.3 image via PetrockBlog downloads page & Win32 Disk Imager v0.9.5 via Sourceforge.

    I then loaded the RetroPi image onto an 64GB exFAT (128kb allocated) MicroSD card using Win32 Disk Imager and safely ejected the card. Stuck it into the RaspberryPi, plugged in the HDMI and power and nothing.

    Blank screen.
    Any thoughts?

    kdesilva
    Participant

    Hey there, I’ve got my Raspberry Pi B+ setup with a fresh install of RetroPie 2.3 using the binary source code installation (only took around 20 hours). I had it setup with the image downloaded from the site earlier but the controllers weren’t working on that either…

    I’m trying to get an xbox360 wired controller working and a cheap amazon bought snes usb controller.

    I installed the 360 drivers, and I registered my controller with retroarch (although no menu came up to take me through setup)

    I’ve also setup the controllers through emulation station and mapped the controls to the commands ..

    So emulationstation works (although after the second installation there’s no background, just white with black text), and both controllers can navigate around in it .. but neither of my controllers work IN GAME.

    I’ve only tried one ROM (super mario world) on the NES and neither of them are recognized. Help please!

    #82569
    krux02
    Participant

    @proxycell
    I do know jstest. But jstest doesn’t let me test weather my button mapping of x on the controller is x on the sega genesis emulator.

    @mr9v9
    Yes that is totally true. Configuring a controller is just way too much of an headache. By default I can’t even exit a game with the controller. There is a way to do it, but it is not nice.

    I would like to be able to configure the controllers for the genesis emulator within the frontend. And then, when I have configured the controllers, I would like to decide which usb controllers is connected to which port on the emulated device. Keep in mind, that every gamepad needs it’s individual configuration for the system. Having just a global mapping to a controller that is not the superset of all controllers feels just wrong.

    #82568
    lightthief
    Participant

    I tried different USB controllers. Same issue, so I guess it’s not just the xbox control.
    It just sits at the initial set up screen, recognizes the controller but not the inputs.

    #82554
    bobbyt
    Participant

    I had a slightly different issue, but to fix it I disconnected my XBox controller and connected an alternate USB controller. When I booted back into EmulationStation it recognized the old controller was gone and asked me to setup the new one.

    I then reconnected the XBox controller and rebooted and ES re-asked me to configure the XBox controller…

    clockwise
    Participant

    Hi everyone,

    I just installed my RetroPie and decided that I really want to use some Lightguns for MAME. I’ve been searching the internet for a few days and haven’t really found anyone yet who has used any lightguns with their Raspberry pi so I thought I’d check with you guys here. Has anyone here got any lightguns to work on RetroPie?

    I’m looking to buy these: http://www.arcadeguns.com/index.php?main_page=product_info&cPath=1&products_id=1&zenid=i9is7jfthfg9r5nud9glia5u65

    I contacted the support on the site above and asked them if the guns would work on a raspberry pi, unfortunately they couldn’t give me a straight answer since they haven’t tried on a Pi, but if it runs Linux and got USB 2.0 they SHOULD work, according to the retailers. Does anyone know a reason for these NOT to work, or potential problems when using them on a raspberry? Does the MAME in RetroPie support lightguns?

    #82530
    Scott Nath
    Participant

    A couple addendums:

    two config files?
    There are two cfg files in /opt/retropie/emulators/RetroArch/configs:

    • Xarcade-to-Gamepad-Device.cfg
    • Xarcade-to-GamepadDevice.cfg

    Should those both be in there?

    I tried editing /opt/retropie/configs/all/retroarch.cfg
    I added the items found here:

    XArcade + USB keyboard


    but that made no difference at all.

    thanks,
    Scott

    krux02
    Participant

    Hello folks. I am new to this forum, and I would like to introduce myself first, before I ask for any help here. I just downloaded an EmulationStation 2 image and installed it on my little Raspberry. I am new to Raspberry, but in the past I used a lot of emulation of the GP2X. But that is almost 8 years ago, and I think time is right to test some embedded emulators. Aside from that I am a computer science student, and Arch Linux is on my desktop computer. Therefore many Linux commands are already known for me.

    When I first started the emulation station, I was visually impressed, because it just looked beautiful, and even my gamepad was recognized perfectly fine and I could use it in the menus. No keyboard needed at all. So I got some games on the system and tried to play a game, and my impression faded away. The controller setup is a mess. Here is a setup of controllers that I would like to for megadrive emulation:

    [img]http://i.imgur.com/26tGSXp.jpg[/img]

    It’s an playstation 2 controller (with adapter) and a WingMan Cordless Rumblepad. Since they both are generally very different, they need to be configured differently.

    The WingMan controller is generally pretty perfect for Sega emulation, because it has C and Z which can be mapped to C and Z of the genesis controller. But I don’t know how to do that with this system. First of all, it is not helpful when someone else decided to map everything to a “360 compatible gamepad” and I have to guess how that mapping might look like, so that I can undo that mapping. And second, I am still confused by all these different configuration files and locations that I am able to use.

    [code]
    ls /opt/retropie/emulators/RetroArch/configs/
    GreenAsiaInc.USBJoystick.cfg (adapter for DualShock2)
    LogitechWingManCordlessGamepad.cfg
    […]
    ls /opt/retropie/configs/all
    dgenrc
    retroarch.cfg
    retroarch.cfg.bak
    retroarch-core-options.cfg
    ls /opt/retropie/configs/megadrive/
    retroarch.cfg
    [/code]

    another big problem is, that I can’t test my buttons easily. The best test I could find so far is the game gauntlet 4, that has an integrated gamepad test for 4 players, but it does not cover the xyz buttons.

    dgenrc seems to be the file I need to use, but I am not shure if it isn’t completely ignored

    Btw, I don not have a 360 controller, nor do I want one, I have enough gamepads.

    einbrecher
    Participant

    Hey all. I recently purchased a Raspberry Pi B+ to run RetroPie, but I’m having some issues getting things setup.

    What I have plugged into my pi:
    Raspberry Pi B+
    Xbox 360 Wireless hub (and controller)
    USB keyboard
    Wired Internet
    RetroPie 2.3 SD imaged onto a 32GB microSD card

    I’ve been following the blog post/guide for setup here: https://www.petrockblock.com/forums/topic/updated-for-2-3-step-by-step-guide/

    I’ve been able to set up the xboxdrv drivers for running the wireless controller and have it working (with the correct LED illuminated on the controller) with EmulationStation. No problems there, though it did require me to include the option “–detach-kernel-driver” in order to get it working.

    My troubles start when I get to step #8, running retroarch-joyconfig, specifically with the command:

    sudo ./retroarch-joyconfig -j 1 >> /opt/retropie/configs/all/retroarch.cfg

    It tells me to let the sticks settle before pressing enter, which I do, and then it prompts me with “B (down)” – and then nothing I do seems to do anything. I push buttons on the controller, I push buttons on the keyboard – nothing registers. I have to kill the process.

    I’ve tried running the same command with -j 0 and -j 2, as I’ve seen on other posts, but still nothing.

    I’ve changed the “-wid 0” in the controller setup to “-wid 1” and run -j 0, -j 1, and -j 2, but still no dice.

    I’ve also noticed there are no configuration files in my /home/pi/RetroArch directory (only BIOS/ and roms/), is that correct?

    #82492

    In reply to: Binary version 2.3

    writeson
    Participant

    Hi proxycell,

    Yes, sorry, by “binary” I am referring to the image. And you’re correct, SSH was enabled by default, and I just wasn’t looking in the right place for raspi-config. So all were pebkac errors. :)

    I have a wifi dongle plugged into one of the USB ports, and it’s inactive, not sure how to get that running, any hints for a pebkack user?

    Doug

    jalia43
    Participant

    I’ve got a setup with two joypads. They are connected to the pad with a single USB dongle. The joypads are connecting the the dongle using bluetooth.

    I can only get one of the to work in the emulators.

    I’ve tried to configure the joypad configuration in the different retroarch.cfg files. Setting input_player1_joypad_index = 0 and input_player2_joypad_index = 1
    That does not work. If I set them both to index 0 they both work, but on the same character in the game.

    I’ve also set up input_player1 buttons and input_player2 buttons.

    Do I need to register the pads in some way?
    Is it simply not doable since they use the same usb port because of the dongle?

    Any idea how to make this work?

    #82470
    spot
    Participant

    I have been using a Samsung 64GB SDXC MicroUSB card in my RetroPie build with no issues. Its even on sale right now at Amazon:

    If you plan on using the 2.3 image, dont worry about formating the microsd. Just write the image to the microsd card using win32 disk imager and expand the root file system to use the full size once the image is deployed using sudo raspi-config.

    osias
    Participant

    So per my research and testing thus far the Pi needs Micro SDHC & Fat32 Formatting.

    Fat32 will only go up to 32gb in size without special tools, which you can get.
    So technically you can make fat32 bigger… Okay

    I can’t find any legitimate Micro SDHC cards that go over 32gb, once you go above 32gb its a Micro SDXC card, which will not work in a Pi.

    Now I did find some 64gb’s that said they where Micro SDHC but I don’t think they were kept causing all sorts of issues, seemed unreliable at best.

    However I still need about 40gb’s of space to fit all my roms on one installation of retro pie. I do not want multiple cards to break my emulators up across seems silly.

    So I see this thread here about Karloss using a 128gb card to boot from.

    How to run from USB (the best method)

    Where are these cards and is there no recommended confirmed to work Micro SD compatibility list?

    diliegrOS
    Participant

    Hi exonerated, I will not have access to my Raspberry until Monday, so it will be difficult to me to do some tests. Anyway I will try to help. I don’t know if having a PS3 controller synced should be a problem, but it can be.

    What I can see from your commands is that the BT MAC that you are using to delete the PS3 controller is the BT USB dongle MAC, not the controller MAC, that must be the problem. When you run hciconfig you can see the proprieties of the BT USB interface, it is needed to know only the number of the device, in your case it is “hci0”, the MAC that is displayed there is the dongle MAC, not the PS3 controller MAC that you may need to remove.

    If you have your PS3 controller with you, you can get its MAC doing the “hcitools scan” command and by put the controller in paring mode. That’s the MAC you have use in the bluez-simple-agent command.

    If that doesn’t work, it could be better if you try on a clean RetroPie to avoid any sort of problems. ;)

    #82459
    samanello
    Participant

    So, I figured out finally that THT Arcade console 2P USB Player is the same thing as Xin-Mo Dual Arcade. Once I started searching for Xin-Mo information I finally found lots of people having issues. I went ahead and installed an image of Raspicade since they claimed it is supported and it works fantastically. This is a USB interface for up to two arcade joysticks and 22 buttons. I guess I am really pretty confused as to why this doesn’t work right with RetroPie. I will await patiently for replies.

    ex
    Participant

    Hmmm. I previously had a PS3 controller synced with bluetooth. I try to remove that because it is the only bluetooth device displayed in hciconfig. Could this be the problem? Having a PS3 controller synced before? I try to remove it and get hit with this:

    pi@raspberrypi ~ $ bluez-simple-agent hci0 00:02:72:D6:9E:96 remove
    ERROR:dbus.proxies:Introspect error on :1.1:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.10" (uid=1000 pid=5609 comm="/usr/bin/python /usr/bin/bluez-simple-agent hci0 0") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=2270 comm="python /usr/sbin/sixad-dbus-blocker ")
    Traceback (most recent call last):
      File "/usr/bin/bluez-simple-agent", line 102, in <module>
        path = manager.FindAdapter(args[0])
      File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
        return self._proxy_method(*args, **keywords)
      File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
        **keywords)
      File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
        message, timeout)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.10" (uid=1000 pid=5609 comm="/usr/bin/python /usr/bin/bluez-simple-agent hci0 0") interface="org.bluez.Manager" member="FindAdapter" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=2270 comm="python /usr/sbin/sixad-dbus-blocker ")

    I can’t remove the PS3 connection. Anyway to remove it completely and do a clean install of the DS4?

    Here is what hciconfig outputs (This is my PS3 controller MAC which I no longer have, not my DS4 MAC):

    pi@raspberrypi ~ $ hciconfig
    hci0:   Type: BR/EDR  Bus: USB
            BD Address: 00:02:72:D6:9E:96  ACL MTU: 1021:8  SCO MTU: 64:1
            UP RUNNING PSCAN
            RX bytes:2363 acl:0 sco:0 events:88 errors:0
            TX bytes:1403 acl:0 sco:0 commands:78 errors:0

    Edit: Your English is more than good!

    georgecmx
    Participant

    I am using a USB stick to copy games. I plugged in the USB stick into the Raspberry PI to get the directory structure. I copied a few SNES, Mega Drive games. However when I plug it in back to my raspberry the only games that show up in emulation station are the ones from sega genesis. any reason for that? i tried multiple times, reformatting the SD card and using different usb sticks. always the same issue.

    writeson
    Participant

    Hi all,

    I’ve compiled RetroPie 2.2 on a Raspberry PI B+ and it seems to be working, except for one problem. I’ve got it connected to an XBox 360 wireless (USB dongle) controller(s). When I configure this, it seems to work, I can navigate the UI with the controller fine. However, when I start a game, the game seems to only recognize the A, B and Y buttons, but not the directional D-Pad. Does anyone have any suggestions, pointers to help me diagnose this problem?

    Thanks in advance!!
    Doug

    #82420
    karloss
    Participant

    Obviously I wasn’t talking about the overclocking thread…

    How to run from USB (the best method)

    diliegrOS
    Participant

    This is the simplest way to get it working, and it is also very stable, anyway this is the version 1.00 of this tutorial, it will be improved over time.

    First things first, you will need this, but it’s kinda obvious :P

    – RetroPie v2.3 clean image
    – An USB bluetooth dongle
    – A DualShock4 controller
    – An active internet connection

    1.- Update the repositories:

    sudo apt-get update

    2.- Install the following packages to prepare the Raspberry to handle bluetooth and to meet the required ds4drv dependencies:

    sudo apt-get install --no-install-recommends joystick checkinstall bluez-utils bluez-compat bluez-hcidump libusb-dev libbluetooth-dev
    sudo apt-get install python-dev python-setuptools

    3.- We will be using the development version of ds4drv, that was the one that work the best for me:

    git clone https://github.com/chrippa/ds4drv.git
    cd ds4drv
    sudo python setup.py install

    4.- Now we need to allow a normal user to create a new joystick:

    wget https://raw.githubusercontent.com/chrippa/ds4drv/master/udev/50-ds4drv.rules
    sudo mv 50-ds4drv.rules /etc/udev/rules.d/
    sudo udevadm control --reload-rules
    sudo udevadm trigger

    5.- At this point we can test the ds4drv connection with the DS4 controller:

    ds4drv --led 000008

    You will see something like this:

    pi@raspberrypi ~/ds4drv $ ds4drv --led 000008
    [info][controller 1] Created devices /dev/input/js0 (joystick) /dev/input/event0 (evdev)
    [info][bluetooth] Scanning for devices

    Now you have to press and hold the share and PS buttons on the DualShock 4 at the same time until the light bar starts blinking. It will connect, and the led will turn on in soft blue.

    Now press Ctrl + C to stop the test.

    6.- Now we need to add the ds4drv to the programs at boot, so:

    sudo nano /etc/rc.local

    And just after “# By default this script does nothing.” we add:

    /usr/local/bin/ds4drv --led 000008 &

    To get something like this:

    # By default this script does nothing.
    
    /usr/local/bin/ds4drv --led 000008 &
    
    # Print the IP address
    _IP=$(hostname -I) || true
    if [ "$_IP" ]; then
      printf "My IP address is %s\n" "$_IP"

    Save the file with “Ctrl + X”.

    7.- That’s it, you can now restart the Raspberry, in the “Emulation Station Loading…” screen or in the “Welcome” screen, we have to press and hold the share and PS buttons on the DualShock 4. It should connect with the led bar turned on in soft blue. Press and hold any button and you will see this:

    To do:
    – I have to see if running ds4drv in daemon mode is the best option.
    – More tests.

    Edited:
    Step 6: Changed /etc/init.d to /etc/rc.local. (Thanks @exonerated)

    #82401
    bobbyt
    Participant

    Using the new ModMyPi expandable cases:

    Raspberry Pi Cases

    I was able to assemble it (with some modifications to the case) so that the 360 wireless adapter I was using was self contained.

    It isn’t the most professional job (I’m fairly new with a dremel, and very clumsy to top it off), but I’m pretty happy with the result.

    I used a 180 degree USB adapter and cut the cable on my 360 wireless adapter, running it into the lid…

    escher
    Participant

    I’ve been throug the same problem. I’m building an Arcade machine and using the Zero Delay USB encoder.

    I’ve managed to get the exit btn working by adding the hotkey and exit_btn params in the SNES config file!

Viewing 35 results - 2,766 through 2,800 (of 3,655 total)