RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    I2C not detected at boot?

    Scheduled Pinned Locked Moved Help and Support
    i2craspberrypi 3banalog joystickanalog digital
    3 Posts 2 Posters 487 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      ian-rosenberg
      last edited by

      When I go to boot my Raspberry Pi 3B, and run i2cdetect -y 1, I do not see my PCF8591 for my analog joystick. However, if I go into raspi-config, disable and re-enable the I2C driver, then i2cdetect finds my PCF8591 at 0x48. I am attempting to create a mobile retropie pi unit, much like the pigrrl and I need to be able to have this functionality at boot and not need a keyboard every time I boot the device.

      Pi Model or other hardware: 3B Rev 1.2
      Power Supply used: https://www.amazon.com/gp/product/B07RPLPK2C/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest):
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: USB Keyboard
      Controller used: GPIO connected PS2 joystick w/ an AD converter(PCF8591) in between

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Enabling i2c through raspi-config should be enough to enable the I2C driver on boot and load it automatically.

        1 Reply Last reply Reply Quote 0
        • I
          ian-rosenberg
          last edited by

          I think I screwed something up on the pre-made retroie image. Because I re-flashed the pi and set I2C to be loaded through sudo raspi-config, now when I reboot it does detect my I2C. One step closer to my mobile retropie!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          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.