Jump to content

OPi Zero: external RTC DS3231 module on /dev/i2c-0 kills thermal_zone0 readings from SOCTEMP


Recommended Posts

Posted

Orange Pi Zero H2+

Armbian 21.08.1 Orangepizero Bullseye current 5.10.60 from armbian.com/downloads.

 

I have attached external RTC module with DS3231 on TWI0 (/dev/i2c-0) and activated it with command

echo ds3231 0x68  > /sys/bus/i2c/devices/i2c-0/new_device


After that /sys/class/hwmon/hwmon0 links to temperature sensor on DS3231 instead of SOCTEMP.

So armbianmonitor -m shows temperature from DS3231 now.

 

syslog shows error:

thermal thermal_zone0: binding zone cpu_thermal with cdev thermal-cpufreq-0 failed:-22

 

Solution #1:

use command "echo ds1307 0x68 > /sys/bus/i2c/devices/i2c-0/new_device"

 

Solution #2:

attach RTC module on TWI1 pins (/dev/i2c-1) and

use command "echo ds3231 0x68 > /sys/bus/i2c/devices/i2c-1/new_device"

 

 

 

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines