Hi all,
I have an RPi3 which is running 6.12.1-1-aarch64-ARCH and it has a little rtc on there which has been working fine for years.
recently it stopped working and this appears to be due to the fact that /sys/class/i2c-adapter no longer exists.
I used to 'echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device' to get the rtc working.
I have found a way around it by doing 'echo ds1307 0x68 > /sys/devices/platform/soc/3f804000.i2c/i2c-1/new_device' instead but was wondering if anyone knows if the removal of /sys/class/i2c-adapter is a design change? or whether I have something {un, mis} configured on my system?
Is my workaround perhaps now the new recommended way of doing this?
I'm a bit worried that '3f80400.i2c' may change at some point...
Thanks.