NanoPi NEO i2c Enable - How To?

I need help.

I love using DietPi in my projects.

But I bought a NanoPi Neo and I need to enable the use of the i2c interface.

The DietPi operating system does not come with the i2c interface option to be enabled.

I need help to enable it on this system.

I apologize if this is not a BUG Report.

I think it’s not, it must be something that is enabled somewhere…

  • DietPi version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=13
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
    G_LIVE_PATCH_STATUS[1]=‘not applicable’
  • Distro version
    bullseye
  • Kernel version
    Linux NanoPiNeo 5.15.80-sunxi #22.11.1 SMP Wed Nov 30 11:13:48 UTC 2022 armv7l GNU/Linux
  • SBC model
    NanoPi NEO (armv7l)
  • Power supply used | (EG: 5V 1A RAVpower)
    5V USB
  • SD card used | (EG: SanDisk ultra)
    Sandisk 64
  • Bug report ID
    32c5170b-e67c-42b2-b25b-dfc1e856e0d7

image

Please help @Joulinar

I don’t have such a device. Maybe @MichaIng could assist

Try to add i2c0 to the overlays= line in /boot/dietpiEnv.txt (separated by space, no quoting) and reboot.