Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165989

Summary: xfce-extra/xfce4-battery-0.5.0: No display of temperature or fan status
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
URL: http://bugzilla.xfce.org/show_bug.cgi?id=2884
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed bugfix (patch for panel-plugin/libacpi.c)

Description Ulrich Müller gentoo-dev 2007-02-08 20:49:45 UTC
On a HP Compaq nc6120 laptop, the battery plugin does neither display the
temperature nor the fan status.

Attached patch should fix the problem.

Reproducible: Always
Steps to Reproduce:
1. Start battery panel plugin
Actual Results:  
Temperature and fan status are not shown.

Expected Results:  
Temperature and fan status being displayed.

Problem has been reported upstream, see URL.
Comment 1 Ulrich Müller gentoo-dev 2007-02-08 20:50:36 UTC
Created attachment 109584 [details, diff]
Proposed bugfix (patch for panel-plugin/libacpi.c)
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-02-08 20:54:17 UTC
Thanks for reporting but likely we will wait what upstream does before applying this patch. If they apply it, we will also. Can you ping on this bug when upstream responses on that bug in case I happen to miss it.
Comment 3 Ulrich Müller gentoo-dev 2007-02-08 21:10:49 UTC
(In reply to comment #2)
> Thanks for reporting but likely we will wait what upstream does before
> applying this patch.

I hope that they will be faster than with my last panel-plugin bug report (which took them half a year :-( ).

Please note that this bug should be present on _any_ (ACPI) hardware: The plugin tries to fopen a file "/proc/acpi/fan/*/state" which cannot work, since fopen of course doesn't expand wildcards. This is a regression from the 0.3.0 version.

> Can you ping on this bug when upstream responses on that bug in case
> I happen to miss it.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-02-09 14:46:15 UTC
> I hope that they will be faster than with my last panel-plugin bug report
> (which took them half a year :-( ).

After short discussion with upstream I've applied this patch in CVS.

Thanks for reporting.
Comment 5 Ulrich Müller gentoo-dev 2010-12-27 16:19:42 UTC
(In reply to comment #3)
> I hope that they will be faster than with my last panel-plugin bug report
> (which took them half a year :-( ).

Yeah, that was way too optimistic. Patch has been applied upstream, after almost 4 years.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-12-27 16:34:10 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > I hope that they will be faster than with my last panel-plugin bug report
> > (which took them half a year :-( ).
> 
> Yeah, that was way too optimistic. Patch has been applied upstream, after
> almost 4 years.
> 

between this time there has been no upstream maintainer. 
the guy who finally applied the patch, is a general xfce goodies maintainer, so battery will be on it's own again...