Hi, I have a problem with the RTC on RaspBee2. It has worked before, but not anymore. Everything is up to date. I tried to reinstall the script. I2C interface is active in raspi-config.
Deconz works and all devices are connected. It is installed on a Raspberry Pi 4b using raspberry pi os.
Here is some information from my system:
cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)”
NAME=“Debian GNU/Linux”
VERSION_ID=“12”
VERSION=“12 (bookworm)”
VERSION_CODENAME=bookworm
ID=debian
HOME_URL=“https://www.debian.org/”
SUPPORT_URL=“Debian -- User Support”
BUG_REPORT_URL=“https://bugs.debian.org/”
uname -r
6.12.34+rpt-rpi-v8
Jul 31 18:19:44 rasp2 systemd[1]: Started rtc-pcf85063.service - Enable RTC-PCF85063.
Jul 31 18:19:44 rasp2 bash[16223]: /bin/bash: line 1: /sys/class/i2c-adapter/i2c-1/new_device: No such file or directory
Jul 31 18:19:44 rasp2 systemd[1]: rtc-pcf85063.service: Main process exited, code=exited, status=1/FAILURE
Jul 31 18:19:44 rasp2 systemd[1]: rtc-pcf85063.service: Failed with result ‘exit-code’.
Jul 31 18:19:59 rasp2 systemd[1]: rtc-pcf85063.service: Scheduled restart job, restart counter is at 479.
Jul 31 18:19:59 rasp2 systemd[1]: Stopped rtc-pcf85063.service - Enable RTC-PCF85063.
Jul 31 18:19:59 rasp2 systemd[1]: Started rtc-pcf85063.service - Enable RTC-PCF85063.
As you can see there is no “/sys/class/i2c-adapter/i2c-1/new_device”.
i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – 51 – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –
raspi-config nonint get_i2c
0
lsmod | grep i2c
regmap_i2c 12288 1 rtc_pcf85063
i2c_dev 16384 0
i2c_mux_pinctrl 12288 0
i2c_mux 12288 1 i2c_mux_pinctrl
i2c_brcmstb 12288 0
i2c_bcm2835 16384 1
hwclock --verbose
hwclock from util-linux 2.38.1
System Time: 1753982389.603355
Trying to open: /dev/rtc0
Trying to open: /dev/rtc
Trying to open: /dev/misc/rtc
No usable clock interface found.
hwclock: Cannot access the Hardware Clock via any known method.
/boot/firmware/config.txt
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
dtparam=i2c_vc=on
Nothing has changed except for software updates. Could you please take a look into this?