! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
On 2.6.37 kernel the temperature is not shown
Status:
RESOLVED: FIXED
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description Pavel Goran 2011-02-25 07:22:40 CET
Created attachment 3514 
Adds support for getting temperature from /sys/class/thermal

Since kernel version 2.6.37, the plug-in doesn't show the temperature anymore. This is caused by the c57b62f5b1e6dd69ff8c96f6db7f86ea31c0e21f kernel commit that removed support for /proc/acpi/thermal_zone.

Attached is the patch that adds the code to get temperature from the new /sys/class/thermal interface, if /proc/acpi/thermal_zone is not avilable.

Bug #7339

Reported by:
Pavel Goran
Reported on: 2011-02-25
Last modified on: 2011-02-26

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Attachments

Additional information