Homepage Forums Search Search Results for 'usb'

Viewing 35 results - 421 through 455 (of 3,655 total)
  • Author
    Search Results
  • pasiasty
    Participant

    Hello

    I have Pi Zero with RetroPie 3.5 on 16gb sd card with keyboard, gamepad nad wifi dongle connected through powered usb hub.

    I’ve spent almost whole weekend trying to get it working witout success…

    After installation of RetroPie emulation station is launched and i have to configure gamepad. My gamepad is Esperanza PS3-like controller and it is recognized as “Sun Light PS2 PS3 USB Controller”. During key mapping i have none problems with key assignment.

    Afterwards i press A and go to menu. Now if i select any option like Super Mario or configure wifi and go back to menu gamepad doesn’t work anymore. Keyboard doesn’t work also (arrows or anything besides F4). Then i press F4 and go back to terminal, start emulation station again and i have to configure controller all over again.

    There are many guides with controller configuration but almost everyone refers to 2.X Retropie…

    ribbley
    Participant

    Hello everyone, I try to grab the video output of my raspberry pi and send it via ffmpeg to an rtmp server.
    Build the most updated version of ffmpeg from source, I have another good PC, which should handle the main processing, so I really need the pi, only to send the output to the stream. I know it may be easier other way around, but I would really like to do this this way.

    So what I have:
    ffmpeg -devices:
    Devices:
    D. = Demuxing supported
    .E = Muxing supported

    DE alsa ALSA audio output
    D dv1394 DV1394 A/V grab
    DE fbdev Linux framebuffer
    D jack JACK Audio Connection Kit
    D lavfi Libavfilter virtual input device
    DE oss OSS (Open Sound System) playback
    E sdl SDL output device
    E v4l2 Video4Linux2 output device
    D video4linux2,v4l2 Video4Linux2 device grab
    D x11grab X11 screen capture, using XCB

    hoped i could do something like:
    ffmpeg -f fbdev -i /dev/fb0 -f flv rtmp://192.168.0.103/live/test
    but i only get ‘Output file #0 does not contain any stream’. So I need to enable them or they are not fully present?

    emustation / retroarch(emulators) do not run through x11, if im not mistaken, so which video source should i grab? And what are the input (files) for the streams? I read something about v4l2 and /dev/video0 , but video0 is not present, or better grab it from the dv1394? Doing more research, but maybe someone knows.

    Hope I’m understandable :D
    happy valentine’s

    Pi Model: 2 +
    RetroPie Version Used: latest version 7 days ago
    Built From: SD
    USB Devices connected: keyboard, WLAN, 2 controllers
    Controller used: 1 xbox360 (udev) and an old ps one fake usb controller (greenix something)

    #116978
    thornton
    Participant

    This was just what I was looking for. It’s been less than a week since I first read about RPi, up until then I didn’t know what it was, but was sure it wasn’t for me. I was dead set on getting a NUC, but was put of by the price, when all I want is an emulator/movieplayer. This solution is PERFECT for me, as I liked the feeling of Kodi right away (I installed it first on a spare 2GB microSD while waiting for 16GB I’d ordered). Anyway, I registered just to say thank you for this build. It was really simple to install by following the included readme instructions, even for a total Linux/code/”anything more advanced than installing a game in Win7″ virgin like myself. So THANK YOU!

    I do have a couple of questions though:
    1) How do I add GBA BIOS (preferably with USB)? GBA roms wont run and I found forums saying it’s due to missing BIOS. Well, I’ve got the BIOS, but have no idea how to implement them, and I don’t want to fiddle with something I know nothing about.
    2) I setup my controllers (Dual PS2-style controllers using shared USB). To me it made sense to have “X” button as A, to select, but once in games (SNES only so far) it’s completely wrong. So I’m just wondering how do I reconfigure the controller?

    Thanks in advance to anyone who can help me with these, seemingly, miniscule issues.

    Edit: I managed to solve the first problem, but still need help with reconfiguring controllers.

    #116967
    ruckage
    Participant

    Hello, just thought I’d share my just completed Megadrive 2 conversion.

    Here is the console freshly disassembled.
    [img]http://i.imgur.com/FAaxDnS.jpg[/img]

    Sadly a Megadrive 2 was most definitely harmed during this. I wanted to retain the power buttons, power LED and the cartridge slot but still needed space to fit the raspberry pi so the board had to be cut up.
    [img]http://i.imgur.com/T3VAkI5.jpg[/img]

    Here are the board sections back in the case. As it turned out this still wasn’t enough to fit everything inside comfortably so more hacking was required.
    [img]http://i.imgur.com/xlfjrK6.jpg[/img]

    After lots more hacking and use of a rotary tool to remove unwanted plastic bits I was finally able to fit everything inside the case comfortably. Below you can see all the components. to the right are what remains of the Megadrive board – the cartridge area had to be cut in half to allow everything to fit how I wanted.
    The power socket has been replaced with a new socket and this will be wired to that cut off usb connector to power the Raspberry Pi.
    The power button and power led have wires attached so that they can be connected to the ‘Powerblock’ so that they will both be functional (great piece of kit by the way).
    I couldn’t decide on how to do the HDMI connector originally but settled on the solution shown which works really well – there is a hole already at the back of the console which as it turns out is a perfect diameter for the HDMI extender cable.
    The USB extension leads pictured will be shortened and then used in place of the original controller ports.
    The ethernet socket will be connected to the raspberry pi and will replace the original AV socket.
    [img]http://i.imgur.com/WkZXOJW.jpg[/img]

    Everything secured in place. I drilled holes in the original circuit board and used cable ties to hold the ethernet socket and USB extension leads in place. It’s actually really sturdy surprisingly. Holes were drilled below the Raspberry Pi so that it could be secured using nuts and bolts.
    [img]http://i.imgur.com/EYsw0Yv.jpg[/img]

    View of USB ports.
    [img]http://i.imgur.com/UpcwDOb.jpg[/img]

    Rear panel showing HDMI extender, ethernet socket and power socket.
    [img]http://i.imgur.com/Wlt364W.jpg[/img]

    Here’s the reason I wanted to keep at least some of the cartridge slot. Here is a bog standard Menacer Cartridge bought on ebay.
    [img]http://i.imgur.com/BWesNB6.jpg[/img]

    And after lots of label peeling and some time spent in photoshop here is the all new cartridge.
    [img]http://i.imgur.com/DYtT55t.jpg[/img]

    And here’s the finished product :)

    #116944
    petrockblog
    Keymaster

    [quote=116759]
    I also plan to connect it to my pi with jumper wire instead of mounting it directly. I read in the documentation that there is a slight voltage drop with in the power circuitry, so you need a good power supply. I was planning to use a 5V 6A power supply like this:
    http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_323425_-1

    Will using the ControlBlock to power the pi affect my ability to overclock? Will it affect my ability to power controllers/mouse/keyboard/thumb drive/wifi from the USB?
    [/quote]

    The MOSFET that the ControlBlock uses is the IRLML6402 (http://www.irf.com/product-info/datasheets/data/irlml6402.pdf). It is rated for a maximum of 3.7 A.
    The ControlBlock works with the various overclocking configurations that can be selected from within the rasps-config tool.
    If your other USB devices work well is hard to say for me since that depends on their power consumption behavior.

    Hope that helps?

    #116930
    jaspreet97
    Participant

    Very interesting I tried it but I was under the impression that operating systems will install on USB drive which I now know is not the case .

    Is there a way to make the OS partitions to install on USB and have only a tiny micro SD card in the Pi .
    I am trying to achieve this with a 16gb Pendrive and a 2 gb micro SD card

    #116907
    Anonymous
    Inactive

    Yeah tried that, but can’t seem to get it to work. This is what I have…

    input_device = “USB,2-axis 8-button gamepad ”
    input_driver = “udev”
    input_r_btn = “5”
    #input_save_state_btn = “5”
    input_start_btn = “7”
    input_exit_emulator_btn = “7”
    input_l_btn = “4”
    #input_load_state_btn = “4”
    input_up_axis = “-1”
    input_a_btn = “0”
    input_b_btn = “1”
    input_reset_btn = “1”
    input_down_axis = “+1”
    input_right_axis = “+0”
    input_state_slot_increase_axis = “+0”
    input_x_btn = “2”
    input_menu_toggle_btn = “2”
    input_select_btn = “6”
    input_enable_hotkey_btn = “6”
    input_y_btn = “3”
    input_left_axis = “-0”
    input_state_slot_decrease_axis = “-0”
    input_shader_next_btn = “4”
    input_shader_prev_btn = “5”

    cooke86
    Participant

    Hi all…

    Im new here and this is my first post, I’m having trouble getting my teensy 3.1 to work in emulationstation.

    I have a keyboard setup fine so I can navigate through the menus and when I select “configure input” from the menu I get the teensy serial/keyboard/mouse/joystick appear. If I hold the button it enters the menu but thats it, from that point on their is no more input regestered and I cant set the keys.

    I have also tryed “jstest” and get no responce to button pressing with that, but it does see it as a usb device.

    Im using a teensy 3.1 set to 72mhz and as a “serial+keyboard+mouse+joystick”

    Any help would be greatly appreciated!

    #116898
    Anonymous
    Inactive

    I am having the same problem. I altered the retroarch.cfg file… video_smooth to false
    and video_shader_enable to true. I also removed the # to ensure they were loading. I also made sure hot keys were enabled. I know they work because start+select on the controller exits the game. I even remapped R+select and L+select to change shaders on my snes usb controller. Still nothing. Would appreciate any help.

    fhon
    Participant

    Hey Everyone,

    I’m using a wireless Xbox controller with a zettaguard wireless receiver like I know many are on this site. However, I’m having an issue where the controllers disconnect when they lose line of site with the receiver (like if your legs are in the way). I’m only about 8 feet away. At first I thought it was a power issue. I’ve added a 5v 4amp power supply and add “max_usb_current=1” to /boot/config.txt. But I’m still having the same issue.

    Is this typical of these receivers or am I missing something?

    fensholm
    Participant

    I have a one-button usb-joystick connected to the Raspberry. It is setup with the button mapped to A. It works in the GUI (with some navigation going through keyboard) but when I load UAE, the button does not work. The joystick works fine for up, down, left, right, but games does not respond to the button. Does anyone know how to remap the button to another button than A or in some other tweak make it possible to play with a one button joystick?

    Regards
    Andreas

    snipperdag
    Participant

    Good afternoon,

    After much playing over the past month on 3.3.1 I’ve realised there is an update and had to revise the hacks list I made myself… so I thought I’d share it and ask a hopefully simple question!

    Pi Model: 1 Model B
    RetroPie Version Used: 3.5
    Built From: SD Image
    USB Devices connected: N/A
    Controller used: Keyboard/360 Controller (official)

    The above is used to configure the SD card before placing into my Pi Zero, the lack of a LAN port is killing me. There are however no issues swapping between the two!

    My Initial Setup

    1) Write the retropie-3.5-rpi1.img to the SD card using Win32 Disk Imager
    2) Go into RetroPie/RetroPie-Setup and ‘Update Retro-Pie Setup’, then Reboot
    3) Place into the Pi and boot for the first time
    4) Setup keyboard as an input device, don’t plug in the 360 controller yet
    5) Shutdown the Pi and place the SD card back in my PC, enable ‘hdmi_drive=2’ in config.txt (or I don’t get sound on my TV)
    6) Boot back up and shell out (F4), disable the existing Xpad drivers –
    sudo nano /etc/modprobe.d/fbdev-blacklist.conf
    Add ‘blacklist xpad’ to the bottom of the blacklist, save and exit (F3 then ctrl+x)
    7) Either ‘exit’ or ‘sudo reboot’
    8) Go into RetroPie-Setup and install the Xbox 360 drivers, reboot
    9) Plug in the 360 controller and ‘Configure Input’ from the main menu, it should now use the right driver!

    Random Hacks… these are done once I am happy with the system, to keep sticky fingers out

    Remove ‘Press a key to configure emulator’ prompt
    sudo nano /opt/retropie/supplementary/runcommand/runcommand.sh
    Search for IFS= and replace the number 2 after -t with a 0
    (this removes the option for someone to mess with your emulator settings although with the new runcomamnd.sh options you may want to leave it in and just disable joystick input)

    Hiding ‘RetroPie’ from the list of emulators in EmulationStation
    sudo nano /etc/emulationstation/es_systems.cfg
    Add <!– to the start of ‘RetroPie’
    and –> to the end

    Adding ‘analogue’ support to the emulators (there are much better hacks!)
    Using ftp to access \\retropie
    Edit configs/all/retroarch.cfg to include the following –
    input_player1_analog_dpad_mode = “1”
    input_player2_analog_dpad_mode = “1”
    input_player3_analog_dpad_mode = “1”
    input_player4_analog_dpad_mode = “1”
    input_player5_analog_dpad_mode = “1”
    input_player6_analog_dpad_mode = “1”
    input_player7_analog_dpad_mode = “1”
    input_player8_analog_dpad_mode = “1”

    To prevent it interfering with PSX and N64 analogue functions edit their separate retroarch.cfgs and add –
    input_player1_analog_dpad_mode = “0”
    input_player2_analog_dpad_mode = “0”
    input_player3_analog_dpad_mode = “0”
    input_player4_analog_dpad_mode = “0”
    input_player5_analog_dpad_mode = “0”
    input_player6_analog_dpad_mode = “0”
    input_player7_analog_dpad_mode = “0”
    input_player8_analog_dpad_mode = “0”

    Possible fix for audio lag stutter –
    Using ftp to access \\retropie
    Edit configs/all/retroarch.cfg to include the following
    audio_out_rate = 44100 (this will already be in there as 48000, uncomment and change)
    audio_driver = sdl (this will already be in there but blank, uncomment and change)

    My question

    Now that I’ve bored everyone.. but hopefully put some stuff in one place! Here goes.

    On the Main Menu is the option for ‘Configure Input’, I would like to remove it so that I can leave the emulator in the hands of children and they won’t mess the joysticks up to the point I can’t remap them. I tried setting a read-only es_input.cfg but it didn’t work.

    If I can remove the configure input menu option there isn’t anywhere they can go (if you don’t count the RetroArch shortcut in game). The rest of the menu can stay otherwise I can’t reach the Shutdown/Restart options. :)

    Thanks for any advice.

    Lee

    mirage
    Participant

    I hope this is the right place to post this info:

    This HDE receiver works perfectly with Retropie (tested on 3.4 and 3.5)
    Nothing else to do than plugging and enabling the xboxdrv from retropie menu.

    Holding the wireless button on the controller and on the receiver will get them to pair.
    No Lag, works in all retroarch emulator.

    Note 1: To enable analog input for psx change the following line in
    /opt/retropie/configs/all/retroarch-core-options.cfg

    pcsx_rearmed_pad1type = "standard"
    pcsx_rearmed_pad2type = "standard"

    to

    pcsx_rearmed_pad1type = "analog"
    pcsx_rearmed_pad2type = "analog"

    Note 2: Best method to map controller for each emulator:
    1 – create input configuration from emulation station
    2 – copy the following folder and its contentto the rom folder:
    copy:
    /opt/retropie/configs/all/retroarch-joypads/
    to (example)
    /opt/retropie/configs/psx/retroarch-joypads/
    3 – include the following line in the retroarch.cfg file of the emulator:
    example:
    in /opt/retropie/configs/psx/retroarch.cfg
    add this line before the #include… statement:
    joypad_autoconfig_dir = /opt/retropie/configs/psx/retroarch-joypads/
    4 – make sure the emulator rom folder is correctly called in the line you just entered.
    5 – Modify the inputs for the controller in the controller config file:
    /opt/retropie/configs/psx/retroarch-joypads/XboxGamepad(userspacedriver).cfg

    here are my settings for a few console:

    PSX:

    input_device = "Xbox Gamepad (userspace driver)"
    input_driver = "udev"
    input_save_state_btn = "7"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_load_state_btn = "6"
    input_up_btn = "h0up"
    input_reset_btn = "1"
    input_down_btn = "h0down"
    input_right_btn = "h0right"
    input_state_slot_increase_btn = "h0right"
    input_menu_toggle_btn = "2"
    input_select_btn = "8"
    input_enable_hotkey_btn = "8"
    input_left_btn = "h0left"
    input_state_slot_decrease_btn = "h0left"
    
    #input_up_axis = "-1"
    #input_down_axis = "+1"
    #input_left_axis = "-0"
    #input_right_axis = "+0"
    
    input_l2_btn = "6"
    input_r2_btn = "7"
    input_l_btn = "4"
    input_r_btn = "5"
    
    input_a_btn = "3"
    input_b_btn = "0"
    input_x_btn = "1"
    input_y_btn = "2"
    
    input_r_y_plus_axis = "+3"
    input_r_x_minus_axis = "-2"
    input_l_y_minus_axis = "-1"
    input_r_y_minus_axis = "-3"
    input_l_x_plus_axis = "+0"
    input_l_y_plus_axis = "+1"
    input_l_x_minus_axis = "-0"
    input_r_x_plus_axis = "+2"
    

    NES:

    input_device = "Xbox Gamepad (userspace driver)"
    input_driver = "udev"
    input_save_state_btn = "7"
    input_l2_btn = "4"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_load_state_btn = "6"
    input_up_btn = "h0up"
    input_a_btn = "0"
    input_b_btn = "2"
    input_reset_btn = "1"
    input_down_btn = "h0down"
    input_right_btn = "h0right"
    input_state_slot_increase_btn = "h0right"
    input_menu_toggle_btn = "2"
    input_select_btn = "8"
    input_enable_hotkey_btn = "8"
    input_left_btn = "h0left"
    input_state_slot_decrease_btn = "h0left"
    input_r_x_plus_axis = "+2"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_y_btn = "3"
    input_x_btn = "1"

    SNES:

    input_device = "Xbox Gamepad (userspace driver)"
    input_driver = "udev"
    input_save_state_btn = "7"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_load_state_btn = "6"
    input_up_btn = "h0up"
    input_a_btn = "1"
    input_b_btn = "0"
    input_reset_btn = "1"
    input_down_btn = "h0down"
    input_right_btn = "h0right"
    input_state_slot_increase_btn = "h0right"
    input_menu_toggle_btn = "2"
    input_select_btn = "8"
    input_enable_hotkey_btn = "8"
    input_left_btn = "h0left"
    input_state_slot_decrease_btn = "h0left"
    input_r_x_plus_axis = "+2"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_y_btn = "3"
    input_x_btn = "2"
    input_l_btn = "6"
    input_r_btn = "7"

    PCENGINE:

    input_device = "Xbox Gamepad (userspace driver)"
    input_driver = "udev"
    input_save_state_btn = "7"
    #input_l2_btn = "4"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_load_state_btn = "6"
    input_up_btn = "h0up"
    input_a_btn = "0"
    input_b_btn = "2"
    input_reset_btn = "1"
    input_down_btn = "h0down"
    input_right_btn = "h0right"
    input_state_slot_increase_btn = "h0right"
    input_menu_toggle_btn = "2"
    input_select_btn = "8"
    input_enable_hotkey_btn = "8"
    input_left_btn = "h0left"
    input_state_slot_decrease_btn = "h0left"
    input_r_x_plus_axis = "+2"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_y_btn = "3"
    input_x_btn = "1"

    Advantage of using this controller config method is that you could load tons of different controller configurations and the system will attribute player 1 to the first type of controller connected and match the corresponding custom config you made in the folder /opt/retropie/configs/(ìnsert emulator name)/retroarch-joypads/
    .

    Hope this helps :)
    Mirage

    yorkie
    Participant

    Hi all,

    There seems to be a plethora of retro usb joypads out there, but playing Sensible Soccer etc on joypad just doesn’t feel like the real thing to me. I miss the feel of my old two-button Amiga joystick.

    Did anyone manage to find something suitable? Amazon have a Competition Pro style joystick listed but it is unavailable, and nowhere else seems to have one in stock. Maybe it was a limited run or something?

    I don’t need anything fancy like the ones designed for flight sims or with tons of buttons; just a stick and a couple of buttons. Is it really too much to ask :/

    #116832
    stonec098
    Participant

    Tried boot with no USB and the psu 5v DC 2.5A. Thanks

    rdhanded2
    Participant

    The script I got from Mausberry’s website performs a full shutdown for me. Have you had issues with it?

    pakmule87
    Participant

    I have the original switch soldered to work with the Mausberry shutdown switch, though having to hunt down a better script than what is originally setup with it was a little trouble, but having it fully shutdown from the switch as intended is very nice to have. Had also originally planned to have a reset switch too, but I am happy enough as it is.

    hijinksensue
    Participant

    duckclimber: Can you expand on your switch to shut off the Xin-Mo? Are you just cutting USB power? Does this require a reboot each time you want to switch controllers? I’m trying to do the exact same thing.

    Anonymous
    Inactive

    Would just like to chime in mentioning that I am experiencing the same issues – USB controllers work, but original SNES controller connected through ControlBlock is detected but unconfigurable. Also running with a 2.1 ControlBlock, LED and Power Button functionality working as expected.

    Edit: SNES controller is configurable when classified as an “arcade” controller, but only one button (B) is recognised. Have resoldered twice to confirm connection.

    #116790
    petrockblog
    Keymaster

    the power supply. how are you powering the raspberry pi – what does the power supply say “5v 1a” or “5v 2a” etc. try booting with no usb devices connected.

    #116781
    stonec098
    Participant

    Pi Model 2 B
    RetroPie Version Used: 3.5
    Built From: (SD Image,
    USB Devices connected: SNES controller & Keyboard
    Controller used:
    Error messages received:
    Guide used: (Mention if you followed a guide) Git hub, SNES PI and just about any other video online

    In trying to launch RetroPie I have downloaded the 3.5 verison via this site and formated the SD card under boot and pi (multi attempts) then written the image using win32. When I plug the SD card into the pi and connect power the process starts and then goes to a blank screen and starts over all while repeating the same sequence of LEDs over and over (I have let run for 10 mins prior) Not sure if it is the software and formating process that I have messed up or if it is the pie itself. Any help or recomendations would be great. Thanks

    #116759
    Anonymous
    Inactive

    I would like to see some more information about the ControlBlock as well. I am about ready to order one, but I also had a few questions.

    I also plan to connect it to my pi with jumper wire instead of mounting it directly. I read in the documentation that there is a slight voltage drop with in the power circuitry, so you need a good power supply. I was planning to use a 5V 6A power supply like this:
    http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_323425_-1

    Will using the ControlBlock to power the pi affect my ability to overclock? Will it affect my ability to power controllers/mouse/keyboard/thumb drive/wifi from the USB?

    #116732

    In reply to: Wirelessly charging?

    zigurana
    Participant

    If you already have a battery and charging circuit working with a uUSB connector, then it can be as easy as plugging in an aftermarket XI receiver. They cost about $8, when you get them from China. The bases you can get anywhere nowadays, even Ikea has them.

    If you don’t, well then get that first! That’s the tricky part I think, seeing how finicky the pie is with its power supply.

    Be aware that wireless charging does generate some heat, plus its really slow. You might not want that.
    I would opt for a solution where both wired and wireless charging would be possible.

    #116666
    Anonymous
    Inactive
    #116642
    gamesfan
    Participant

    Team and fellow RetroPie users in the know,
    I have two questions.

    1. Screen blanking from time to time, it is noted that the 3.5 image fixes this. I was on 3.4 and updated to 3.5 using the binary install method. However I still get an occasional blank screen. Do I need to start with a 3.5 Image? Also I run my setup from USB.. As my USB is updated to 3.5, could I just flash the base 3.5 image to my SD card and modify the boot config to load off the USB and have the issue resolved?

    2. Arcade Roms folder. There is not any info I saw in the Wiki on this do we place subfolders in here for MAME and FBA etc… many of the rom names are the same but require diffrent versions. Just wanted to get more info on this.

    #116611
    faugnom1
    Participant

    you plug them in via usb, unplug them, and they pair. then they should pair automatically on future boots.

    That’s the issue. It makes me re-plug them in every time that I reboot.

    #116610
    petrockblog
    Keymaster

    you plug them in via usb, unplug them, and they pair. then they should pair automatically on future boots.

    #116579
    numatic
    Participant

    Hi,

    So I thought I was all setup and ready to go, up until I got to the configuration when I realised, I’m going to need a keyboard.

    Much to my surprise, my PC keyboard is actually PS/2 port! I don’t own a USB keyboard.

    Cheapest solution was to help myself to a PS/2 to USB converter from work, but I’ll be swapping over from PC to RPI. So I want to buy a USB keyboard.

    As silly as this sounds, I don’t know what to get. I want a slim keyboard so it can easily transported. I found a slim Xenta wireless keyboard/mouse for a good price, but I haven’t done enough research to know if it is compatible.

    Next I come across this, http://www.ebay.co.uk/itm/2-4G-Wireless-QWERTY-Media-Keyboard-Touchpad-Mouse-Combo-For-PC-Raspberry-PI-/281690984379

    But if I want to use it for Amiga emulation, I don’t think it’ll be suitable.

    Any recommended setups for Amiga emulation? Any known compatibility issues with wireless keyboard/mouse combos? Is the touchpad/keyboard combo any good?

    Thanks
    Tom

    qubth
    Participant

    Hello,

    I don’t know if this can be useful here:

    I own a X-Arcade Dual Joystick with a serial-to-USB adapter (yeah, more than 10 years of service)
    When I use it without Xarcade2Jstick on RetroPie, it’s recogniced as a keyboard, when the service is up, it does nothing.
    The system is Raspbian Jessie lite with Retropie from github after fresh install.

    pi@arcade:~ $ sudo lsinput
    /dev/input/event0
    bustype : BUS_USB
    vendor : 0xaa55
    product : 0x101
    version : 272
    name : “XGaming X-Arcade”
    phys : “usb-3f980000.usb-1.2/input0”
    uniq : “”
    bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

    /dev/input/event1
    bustype : BUS_PARPORT
    vendor : 0x1
    product : 0x1
    version : 256
    name : “GPIO Controller 1”
    phys : “input0”
    bits ev : EV_SYN EV_KEY EV_ABS

    /dev/input/event2
    bustype : BUS_USB
    vendor : 0x46a
    product : 0x1
    version : 256
    name : “HID 046a:0001”
    phys : “usb-3f980000.usb-1.5/input0”
    uniq : “”
    bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

    pi@arcade:~ $ ls -l /dev/input/event0
    crw-rw—- 1 root input 13, 64 Feb 8 23:35 /dev/input/event0

    pi@arcade:~ $ id
    uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),101(input),108(netdev),997(gpio),998(i2c),999(spi)

    pi@arcade:~ $ jstest /dev/input/event0
    Driver version is 0.8.0.
    jstest is not fully compatible with your kernel. Unable to retrieve button map!
    Joystick (Unknown) has 2 axes and 2 buttons.
    Testing … (interrupt to exit)

    jstest: error reading: Invalid argument

    pi@arcade:~ $ uname -a
    Linux arcade 4.1.17-v7+ #834 SMP Mon Feb 1 15:17:54 GMT 2016 armv7l GNU/Linux

    Made some test with strace on xarcade2jstick and he gets exclusive access to /dev/input/event0 as shown in lsof:

    xarcade2j 448 root 4r CHR 13,64 0t0 1848 /dev/input/event0

    shows intercepted data after using the xarcade device with this error after pushing UP in left joystick:

    read(4,”)3\271V\340\251\f\0\4\0\4\0`\0\7\0)3\271V\340\251\f\0\1\0H\0\1\0\0\0″…, 1024) = 48
    gettimeofday({1454977833, 831350}, NULL) = 0
    write(0, “)3\271Vv\257\f\0\3\0\1\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    write(0, “)3\271Vv\257\f\0\0\0\0\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    write(0, “)3\271Vv\257\f\0\0\0\0\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    read(4, “)3\271V\1@\16\0\4\0\4\0`\0\7\0)3\271V\1@\16\0\1\0H\0\0\0\0\0″…, 1024) = 48
    gettimeofday({1454977833, 934357}, NULL) = 0
    write(0, “)3\271V\325A\16\0\3\0\1\0\2\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    write(0, “)3\271V\325A\16\0\0\0\0\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    write(0, “)3\271V\325A\16\0\0\0\0\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)

    Hope it helps

    Kind regards

    Michael
    Participant

    Hello,

    I am very new to RetroPie, command line, and the whole raspberrypie thing, but I have carefully followed all of the installation instruction and coding that I can find. I have looked over my wiring many times and everything appears to be in order (Please see attached pics)

    My build is in a SNES mini, i have retained the original controller ports and on-off switch, and have soldered onto the bottom side of the board at those points. I had to retain the main original SNES board, because the ports and the rear panel are connected to the main board. I simply hacked everything off of the original SNES bard to make room for the Rp2.

    I went through all of the online instructions and everything seemed to go okay as I received no errors. Retropie and ES boot up without issues and run smoothly, a USB SNES controller is connected via USB and is working as it should, a usb wifi dongle is plugged in and working as it should and is connected to my network. A wireless USB keyboard dongle is also working as it should.

    The ControBlock Power switch function works as it should and powers the system up and down completely without issue.

    Here is where things go wrong, when I boot up, I can see that 3 controllers are recognized, but only the usb controller is active, I am never asked, nor am i able to configure the two controllers connected to the original SNES ports. I have scoured the internet and this blog looking for answers and have tried everything that i can find, but still no working controllers besides the USB one. Here is what i can tell you about my system:

    – Raspberrypie 2
    – latest retropie sd image installed and working properly (from what i can see)
    – controlblock rev 2.1 (wired for SNES) on off switch working properly
    – System is not over clocked
    – device tree is enabled
    – 12c is enabled and set to load as default
    – SNESdev is disabled
    – Input gamepad type at: (sudo nano /etc/controlblockconfig.cfg) is set to “snes”

    That’s really all I know to do and look for…
    With everything else working as it should, I can only assume that I am missing something simple here…

    As I said earlier, I am (very) new to raspberryPie and command line, so anything that you need me to do to investigate this needs to be spelled out very clearly.

    For instance, I see basic commands on the blog like “jstest /dev/input/js1” for testing basic functions, but… when i simply type “jstest /dev/input/js1” into the command line, I get the error: (-bash: jstest: command not found)
    So I assume that I am missing something… I really need full (new user) instructions please.

    Any help in this is greatly appreciated. Thank you in advance!
    Michael

    #116516
    Anonymous
    Inactive

    When you say “saw out your USB ports in a different order”, do you mean just plug the devices in different slots? Sorry, I’m very new at this.

    Also, do you edit the retroarch.cfg at the prompt after you hit F4 in emulation station?

    Thanks for the advice.

    #116510
    herbfargus
    Member

    You can change the device index in retroarch.cfg or swap out your USB ports in a diff order

    ianfin
    Participant

    I’ve been trying to set up a controller for use with RetroPie and regardless of whether I try a PS3 or Xbox 360 controller I’m seeing a similar error.

    When I boot up the Pi, the controller will initially work, but after a period of time (it seems like a constant period, but can’t be sure) the controller resets and I’m unable to use it. When it happens with the 360 controller, I get the error message:

    [ERROR] XboxdrvDaemon::launch_controller_thread(): USB device disappeared before it could be opened

    However, since the problem is also occurring with my PS3 controller, I’m not convinced it’s an issue with Xboxdrv.

    I’ve set up Xboxdrv through RetroPie_Setup.sh, and tested the PS3 controller both with and without going through install/pair PS3 controller. Regardless of how I do it, I’m still getting the same problem.

    It doesn’t seem to matter which USB port they’re plugged into, and the keyboard works fine, so I don’t think it’s necessarily a hardware issue.

    If there’s any more info that I could provide to help diagnose what’s going on then let me know!

    Pi Model: B
    RetroPie Version Used: 3.0.0
    Built From: SD Image
    USB Devices connected: Logitech keyboard
    Controller used: PS3 Dualshock (with USB cable) or wired Xbox 360 controller

    Anonymous
    Inactive

    I recently installed the latest version of Retropie on a rpi2. During setup I installed a keyboard, Xbox 360 wired controller, and a PS2 controller using a USB adapter. Somehow during setup the Xbox controller became assigned as game pad 3.
    Does anyone know how to change this to game pad 2 and have the PS2 controller as game pad 1?

    I’ve tried rm /home/pi/.emulationstation/es_input.cfg and then rebooting with only the two controllers attached. When I set them up again, gamepad 3 is assigned to the controller.

    hoofa
    Participant

    Amazing news! Is there a set way of configuring or could I just plug a USB pad in alongside the xinmo? would you need to disable to xinmo to allow you to us the pad as the main controller? Took me so long to find this thread and fix the xinmo issue that I’m scared of breaking it again!! Haha! And sorry for the potentially silly questions, I’m very new to all things retropie, Linux and raspberry pi!

Viewing 35 results - 421 through 455 (of 3,655 total)