Hi,
I just bought myself for christmas a "HiFiBerry DAC+ RTC" HAT card to use with my new Raspberry Pi 4 and LibreElec v9.2.6 (LibreELEC-RPi4.arm-9.2.6.img.gz).
I carefully read and followed the instructions on:
https://www.hifiberry.com/build/documentation/dac-rtc-configuring-the-rtc-driver/#
and I successfully modified the config.txt file by adding at its the bottom the lines (exactly in this order):
dtoverlay=hifiberry-dac
dtoverlay=i2c-rtc,ds1307
dtparam=i2c_arm=on
(this was done instead by following the instructions on:
https://www.hifiberry.com/docs/software/libreelec-installation-and-configuration/)
BUT I was not able to modify the /ect/modules file.
If I try, I get (for example):
##############################################
# LibreELEC #
# https://libreelec.tv #
##############################################
LibreELEC (official): 9.2.6 (RPi4.arm)
LibreELEC:~ # echo "i2c-bcm2835" >> /etc/modules
-sh: can't create /etc/modules: Read-only file system
(there is no "modules" file in /etc yet)
As result, DAC+ is working but RTC not!!!
I cannot READ or WRITE RTC TIME.
I'm not a Linux expert and I tried search on Internet to solve the problem but with no luck (for what I saw it seems it's impossible to create/modify a file on a Read-only file system, so
what?).
I decided to buy your card because of its RTC feature on LibreElec system, since I don't want to be continuously connected to Internet but I like to have the clock correct.
So, please, tell me now how to proceed, I can make any test and provide you all feedback you need.
And, please again, update your documentation.
Waiting for your help...