I2C not detected at boot?
-
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 -
Enabling
i2c
throughraspi-config
should be enough to enable the I2C driver on boot and load it automatically. -
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!
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.