RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    1. Home
    2. Tags
    3. gpio
    Log in to post
    • All categories
    • leolechameau

      Cannot set audio to heaphones on raspberry pi zero 2 w
      Help and Support • audio zero 2 w headphone gpio • • leolechameau

      2
      0
      Votes
      2
      Posts
      52
      Views

      leolechameau

      Fixed!!! I just added these two lines under dtparam=audio=on and gpio=18,19=a5

      audio_pwm_mode=2 dtoverlay=audremap,pins_18_19
    • rasp_renegade

      Wiring GPIO to arcade machine control panel
      Help and Support • controls control panel gpio arcade joystick • • rasp_renegade

      9
      0
      Votes
      9
      Posts
      168
      Views

      rasp_renegade

      Thanks guys, this was very helpful. I just ordered the
      I-PAC2. =)

    • DougA

      Powerblock conflict with GPIO control (Resolved)
      ControlBlock, PowerBlock & Co. • powerblock gpio • • DougA

      3
      0
      Votes
      3
      Posts
      162
      Views

      petrockblog

      @douga Glad to hear that things are working for you now!

    • jfaz1

      Cannot get RetroPie to work on 7 inch GPIO screen (Error creating SDL window)
      Help and Support • raspberry pi 4 gpio waveshare waveshare 7 in sdl window • • jfaz1

      3
      0
      Votes
      3
      Posts
      104
      Views

      jfaz1

      @mitu that was crazy fast, thank you! Just uncommented it and it actually worked. I thought it was being overriden by the one in [all] but I'm happy to be wrong.
      Again, thank you!

    • mgrunt

      USB gamepad and GPIO hotkey
      Help and Support • hotkey gpio • • mgrunt

      5
      0
      Votes
      5
      Posts
      155
      Views

      mgrunt

      Thank you. Now it's working!!!

      I add this rule to

      /etc/udev/rules.d/99-input.rules

      SUBSYSTEM=="input", ATTRS{name}=="button*", MODE="0660", ENV{ID_INPUT_KEY}="1", ENV{ID_INPUT_KEYBOARD}="1"

      And now have GPIO key ID_INPUT_KEYBOARD parameter too.

      pi@retropie:~ $ udevadm info --query all /dev/input/event1 P: /devices/platform/button@1a/input/input1/event1 N: input/event1 L: 0 S: input/by-path/platform-button@1a-event E: DEVPATH=/devices/platform/button@1a/input/input1/event1 E: DEVNAME=/dev/input/event1 E: MAJOR=13 E: MINOR=65 E: SUBSYSTEM=input E: USEC_INITIALIZED=28281822 E: ID_INPUT=1 E: ID_INPUT_KEY=1 E: ID_PATH=platform-button@1a E: ID_PATH_TAG=platform-button_1a E: LIBINPUT_DEVICE_GROUP=19/1/1:gpio-keys E: ID_INPUT_KEYBOARD=1 E: DEVLINKS=/dev/input/by-path/platform-button@1a-event E: TAGS=:power-switch:

      Bidding hotkey to GPIO key is now working.

    • Dark Knight_TJ

      Gpio driver not auto loading on boot
      Help and Support • gpio driver autoboot • • Dark Knight_TJ

      3
      0
      Votes
      3
      Posts
      109
      Views

      Dark Knight_TJ

      @buzz thank you for your response and sorry for posting on wrong forum. Cheers !

    • Lolonois

      Documentation of mk_arcade_joystick_rpi GPIO module
      Ideas and Development • gpio controller mcp23017 documentation gpio • • Lolonois

      1
      0
      Votes
      1
      Posts
      180
      Views

      No one has replied

    • craggus2000

      mk_arcade_joystick_rpi 2 joysticks custom GPIOs
      Help and Support • joystick gpio custom arcade • • craggus2000

      5
      0
      Votes
      5
      Posts
      232
      Views

      Lolonois

      @craggus2000 Thanks for reporting back. Have fun. Please edit your first post and add in the something like [solved], so it is more likely to be picked up by search engines.

      Your question made me updating my hint from last year on that topic.

      Errata: 13 buttons do have 4 for the axis and 9 for the push buttons. :-D I was in a hurry.

    • ArtcadeBA

      HK button problems with arcade cabinet
      Help and Support • arcade retropie hotkey gpio raspberry • • ArtcadeBA

      7
      0
      Votes
      7
      Posts
      247
      Views

      mitu

      @lolonois Good call. Now I know what the hotkeybtn is used for.

    • LouF

      RPi stays powered from HDMI?
      Help and Support • gpio hdmi port power led • • LouF

      1
      0
      Votes
      1
      Posts
      153
      Views

      No one has replied

    • jmbosch82

      Not saving metadata - Cyperghost script
      Help and Support • shutdown scrript gpio cyperghost metadata • • jmbosch82

      1
      0
      Votes
      1
      Posts
      112
      Views

      No one has replied

    • twDragon

      Can I get output in one of the GPIO pins when the retropie in Game or Menu?
      Help and Support • coin gpio • • twDragon

      1
      0
      Votes
      1
      Posts
      109
      Views

      No one has replied

    • LouF

      Seemingly unstable GPIO output while executing from RetroPie
      Help and Support • gpio python script • • LouF

      1
      0
      Votes
      1
      Posts
      118
      Views

      No one has replied

    • Danathar

      Connecting 3.5mm controllers to GPIO? Has anybody done it and how?
      Help and Support • gpio xbox • • Danathar

      1
      0
      Votes
      1
      Posts
      90
      Views

      No one has replied

    • Danathar

      Using Retropi with GPIO connected controller AND USB joystick (Xbox adaptive controller)
      Help and Support • gpio usb controller • • Danathar

      3
      0
      Votes
      3
      Posts
      114
      Views

      Danathar

      @mitu Excellent thank you!

    • LouF

      Creating menu to control GPIO python script
      Help and Support • experimental python script gpio controls • • LouF

      5
      0
      Votes
      5
      Posts
      199
      Views

      LouF

      @lolonois Thankyou very much. I will keep this in mind !

    • pvstlife

      Gpio button mapping
      Help and Support • retropie gpio gpio button mapping control • • pvstlife

      3
      0
      Votes
      3
      Posts
      181
      Views

      pvstlife

      @mitu
      When I tried using gpionext I kept being met with error messages. I ended up just getting a few different parts to work with the super pi girl drivers. Still, thank you for the help.

    • lczancanella

      Send GPIO command
      Help and Support • pi 4 develoment rom hack gpio ideas • • lczancanella

      1
      0
      Votes
      1
      Posts
      64
      Views

      No one has replied

    • madman5000

      Need help getting retropie to recognize button matrix.
      Help and Support • input issue python buttons python script gpio • • madman5000

      5
      0
      Votes
      5
      Posts
      150
      Views

      madman5000

      Thanks for your help. Between the documentation and the example, I have the button matrix somewhat working I think.