CPU temperature indicators do not support zones other than THM0

Bug #380885 reported by Steven Danna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Low
Dustin Kirkland 

Bug Description

Many BIOSes provide names other than THM0 for the thermal zone. For instance, on my machine, CPU temperature is found in /proc/acpi/thermal_zone/THRC/temperature.

Steven Danna (ssd7)
description: updated
Revision history for this message
Steven Danna (ssd7) wrote :

The attached patch just uses the first thermal zone with a readable temperature file.

Revision history for this message
Steven Danna (ssd7) wrote :
Changed in byobu:
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → Low
status: New → In Progress
Changed in byobu:
status: In Progress → Fix Committed
Revision history for this message
Steven Danna (ssd7) wrote :

The committed fix doesn't actually handle the case I mentioned in the description, unless there is a reason that the indicator doesn't want to look at thermal_zones such as THRM .

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 380885] Re: CPU temperature indicators do not support zones other than THM0

Hi Steven-

What is the full path to your temperature file in /proc?

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Dumb question on my part, sorry, I see it now in your initial report.

I just committed r475. Try that one ;-)

:-Dustin

Revision history for this message
Steven Danna (ssd7) wrote :

It looks like r476 is exactly how I edited my local copy after 473 was
pushed. Everything works for me. Thanks!

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Well then ... attach a patch next time please ;-)

:-Dustin

Changed in byobu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.