• 0 Votes
    7 Posts
    770 Views
    A12C4A

    @mitu said in My Xbox controller stay off when my raspberry pi 4 get turned on:

    The Pi4 and Pi3 are different hardware and have different USB controllers, hence the difference. That's not why your controller behaves this way.

    There must be some difference somehow. I tried 2 different controllers: Xbox One Series X controller and Xbox One S controller ("S" not "Series S"). I tried all 4 usb ports. Everything work fine on my Pi 3 but none of them get turned on when my Pi 4 boot.

    I think I will move on, anyway I planned to use the Xbox One wireless dongle and buy batteries + a docking station for refilling the batteries, so this problem shouldn't bother me anymore after that. I'm just leaving as much information as possible in case someone else encounter the same problem in the future.

    Thanks for your help.

  • 0 Votes
    2 Posts
    756 Views
    mituM

    @bulbisaur685 said in Pi Zero - screen and i2s using same pins, no sound:

    I have both devices connected to the pins on the Pi Zero, but when going into the settings for audio I am getting information that the audio is disabled

    That message is shown because the audio configuration utility only knows about the on-board audio. For any other configuration - where you disabled the on-board - you'll need to configure the audio yourself.

    My suggestion would be to start with the audio configuration first (in config.txt) and then try to configure the screen once you've got audio working.

  • Default boot config.txt

    3
    0 Votes
    3 Posts
    6k Views
    mituM

    @greenhawk84 Download the latest image and open it with 7zip to look in the boot partition and read it. This is what it looks like, extracted from the PI4 image:

    # For more options and information see # http://rpf.io/configtxt # Some settings may impact device functionality. See link above for details # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan #disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Uncomment this to enable infrared communication. #dtoverlay=gpio-ir,gpio_pin=17 #dtoverlay=gpio-ir-tx,gpio_pin=18 # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) dtparam=audio=on [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 [all] #dtoverlay=vc4-fkms-v3d overscan_scale=1

    For the PI2/3 models, I think there's a memory setting added that's extra, the rest should be identical.

  • 0 Votes
    3 Posts
    573 Views
    AtariTacoA

    Nvm i figured it out

  • Boktai and Tilt games

    6
    0 Votes
    6 Posts
    1k Views
    C

    @g30ff thanks!!!!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • 0 Votes
    7 Posts
    2k Views
    mituM

    @marukotenada the poster hasn't been here in 4 years - there's a slim chance it will reply back. Please don't bump old topics - open a new topic instead and explain your issue.

  • Controller Slow to Respond After Loading ROM

    2
    0 Votes
    2 Posts
    358 Views
    R

    After playing with this quite a bit, I discovered that the controller becomes active as soon as the right trigger button is pressed. This seems very strange, but at least I know how to work with it.

  • Unknown platform error Jetson Nano 2 GB

    7
    0 Votes
    7 Posts
    2k Views
    mituM

    @stevenhurwitt No, I don't.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Game collections limit?

    8
    0 Votes
    8 Posts
    1k Views
    YFZdudeY

    @chizzer
    We've all been there. In fact I just recently was scripting some batch file operations and introduced a space after something that broke it all. Gotta love those facepalm moments.

    Glad you got it sorted now.

  • Amiberry running AGA games issue

    1
    0 Votes
    1 Posts
    344 Views
    No one has replied
  • Disable controller input during startup

    12
    0 Votes
    12 Posts
    903 Views
    mituM

    This diff should do the trick, clearing also any keyboard type controllers

    diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index 26faeb2..26bc328 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -320,6 +320,9 @@ int main(int argc, char* argv[]) bool splashScreen = Settings::getInstance()->getBool("SplashScreen"); bool splashScreenProgress = Settings::getInstance()->getBool("SplashScreenProgress"); + //dont generate joystick events while we're loading (hopefully fixes "automatically started emulator" bug) + SDL_JoystickEventState(SDL_DISABLE); + if(!scrape_cmdline) { if(!window.init()) @@ -365,9 +368,6 @@ int main(int argc, char* argv[]) return run_scraper_cmdline(); } - //dont generate joystick events while we're loading (hopefully fixes "automatically started emulator" bug) - SDL_JoystickEventState(SDL_DISABLE); - // preload what we can right away instead of waiting for the user to select it // this makes for no delays when accessing content, but a longer startup time ViewController::get()->preload(); @@ -386,7 +386,10 @@ int main(int argc, char* argv[]) } } - //generate joystick events since we're done loading + //generate joystick events since we're done loading and clear the input event queue + SDL_PumpEvents(); + SDL_FlushEvent(SDL_KEYDOWN); + SDL_FlushEvent(SDL_KEYUP); SDL_JoystickEventState(SDL_ENABLE); int lastTime = SDL_GetTicks();

    I don't think it's 100% correct, since any errors during startup would leave the joystick disabled, further testing is needed.

  • 0 Votes
    1 Posts
    346 Views
    No one has replied
  • Please Help!! Adding New Systems nightmare!

    18
    0 Votes
    18 Posts
    1k Views
    R

    @mitu ahh ok, perfect, I'll give that a try today and hopefully that will work around the permissions.
    Thanks again 😊

  • Better sound for psx emulation

    2
    0 Votes
    2 Posts
    1k Views
    quicksilverQ

    @koerty I think gaussian is the preferred option for most psx games for accurate sound emulation

  • Waveshare Gamehat

    14
    0 Votes
    14 Posts
    3k Views
    S

    Ok thanks Mitu

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Game selection icon instead of highlight?

    1
    0 Votes
    1 Posts
    370 Views
    No one has replied
  • Can only use two ps4 controllers

    3
    0 Votes
    3 Posts
    579 Views
    S

    @dankcushions thanks for that suggestion. I tried that now but to no avail. BUT: it lead me down the right path and I found this thread here:
    https://retropie.org.uk/forum/topic/763/psx-multitap-retroarch-4-players/70?lang=en-US
    That solved it for me!
    Thanks y‘yall!

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.