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"

 

 

 

 

 

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines