Skip to content
View in the app

A better way to browse. Learn more.

Learn more

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

Featured Replies

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.

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.