Jump to content

Fix for CPU temperature sensor of BananaPi M2 Berry


Roman555

Recommended Posts

The long explanation is here

Before:

# dmesg
......
[    9.606887] thermal_sys: Failed to find 'trips' node
[    9.606902] thermal_sys: Failed to find trip points for thermal-sensor id=1
[    9.606923] sun8i-thermal 1c24c00.thermal-sensor: Failed to register sensor 1 (-EINVAL)
[    9.606938] sun8i-thermal: probe of 1c24c00.thermal-sensor failed with error -22
......

 

My patch for sun8i-r40.dtsi. Yes, it's copy-paste with changing names of a cpu thermal trip point for a gpu thermal trip point.

Now it's ok

# ls /sys/devices/virtual/thermal/
cooling_device0  thermal_zone0  thermal_zone1

 

fix_gpu_thermal_zone_sun8i-r40_bananapi-m2u.patch

Link to comment
Share on other sites

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