I have no idea where to start looking for this.
I have installed DietPi and the luma drivers for an SSD1306 - https://luma-oled.readthedocs.io/en/latest/hardware.html
I have also installed WiringOP which works for Orange Pi.
So firstly - i2cDetect does not appear… I think that might be more to do with WiringOP but if anyone knows differently do let me know.
Anyway I installed an SSD12306 display and pullup resistors (all known to work perfectly). I tried the I2c demo for the display, changing the device to 0 from 1. The two demo lines show a rectangle and “hello world”
Except that they don’t - most of the rectangle appears, the text sometimes appears but instantly they both go black again. I can do this time and time again and the display time before going black is a tiny fraction of a second.
I tried obvious things - I went to /boot/config.text and it says that I2c is off - that can’t be right or I would not get anything remotely like a rectangle or text drawing correctly even if they do disappear instantly. But if I change the OFF status for I2c to ON or change the speed - on reboot the file reverts to it’s original setting - is there another file I should be altering instead??
That’s my only clue up to now as to why this is “almost” working. Any help apprecaited… this same code works on other hardware.