Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 201851

Summary: wmacpi don't change when on battery
Product: [Fedora] Fedora Reporter: Patrice Dumas <pertusus>
Component: wmacpiAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.2-0.1.a1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-07 09:04:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 222072    
Bug Blocks:    
Attachments:
Description Flags
specfile patch to update to latest version
none
initialize properly libdockapp none

Description Patrice Dumas 2006-08-09 14:02:49 UTC
Description of problem:
wmacpi doesn't change when on battery. I use wmacpi with fluxbox.
acpitool output is
$ acpitool 
  Battery #1     : discharging, 92.39%, 02:12:06
  AC adapter     : off-line
  Thermal zone 1 : ok, 40 C
but wmacpi is still on ac power with 100%

I have a dell latitude d505 with acpi

Version-Release number of selected component (if applicable):
wmacpi-1.34-6.fc5


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Patrice Dumas 2006-10-15 13:29:06 UTC
I found today that the wmacpi version shipped in fedora is very old
(2002) and that development is now done at another place:

http://himi.org/wmacpi/

with latest version released in 2005. So having wmacpi not working isn't
a big surprise.

Comment 2 Patrice Dumas 2007-01-10 00:27:16 UTC
I have a modified spec file (and a patch) for the new version, 
which works. It depends on libdockapp I have just submitted.

Comment 3 Patrice Dumas 2007-01-10 00:28:47 UTC
Created attachment 145210 [details]
specfile patch to update to latest version

Comment 4 Patrice Dumas 2007-01-10 00:29:58 UTC
Created attachment 145211 [details]
initialize properly libdockapp

Comment 5 Patrice Dumas 2007-01-10 10:17:08 UTC
libdockapp is now in devel. I can update and rebuild wmacpi in the
devel branch and in the other branches whenever libdockapp appears
in thoses branches.

Comment 6 Patrice Dumas 2007-01-10 13:08:40 UTC
Upstream has integrated the patch in 2.2a1.

Comment 7 Patrice Dumas 2007-01-22 15:09:45 UTC
I consider the issue to be harmful since it prevents wmacpi to work.
No need to hurry, however since it has been broken for months.
As per the 'Who can modify packages guideline', I will let you 14 
days to fix it and afterwards I'll fix it myself (change cvs in devel,
wait 2 days, build, change cvs in branches, wait 2 days, build).


Comment 8 Andreas Bierfert 2007-01-22 21:35:33 UTC
Hm missed the devel announcement as I was sick for some time now. Will upgrade
asap (tomorrow).

Comment 9 Patrice Dumas 2007-02-01 00:36:24 UTC
Everything seems right now, thanks, you can close the bug.

Comment 10 Andreas Bierfert 2007-02-07 09:04:47 UTC
Thanks for reporting.