! 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 !
The battery-plugin doesn't work with kernel 2.6.21
Status:
RESOLVED: FIXED
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description Matteo F. Vescovi 2007-04-27 12:13:17 CEST
After upgrading to linux kernel version 2.6.21, the battery plugin doesn't work correctly.

A screenshot about this behaviour can be found at:
http://mfv.altervista.org/desk_2.6.21.png

It represents a panel with the battery plugin loaded, but not working.
The same plugin, using a linux kernel 2.6.19.2, does work perfectly.
So I guess the problem is connected to a different approach of the plugin in gathering the information from the acpi of this new kernel.
Comment 1 Stefan Ott 2007-04-29 01:57:53 CEST
Created attachment 1111 
Patch to fix this issue

This should fix the issue by not only checking for the deprecated /proc/acpi/info but also for the new /sys/module/acpi/parameters/acpica_version
Comment 2 Scott H 2007-07-28 16:11:13 CEST
Any status on this?
Comment 3 Matteo F. Vescovi 2007-07-28 16:41:21 CEST
(In reply to comment #2)
> Any status on this?

It came out that setting up a parameter in the kernel tree helps, but it's a workaround. Since it's an option that is in the "deprecated" status, another way has to be found.
The parameter is:

Procfs interface (deprecated)

It must be built in the kernel.
Comment 4 Marco Colombo 2007-08-06 20:59:36 CEST
There's a more complete patch (but substantially the same) at
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409971
Please apply it soon! :)
Comment 5 Nick Schermer editbugs 2007-08-17 18:39:41 CEST
Fixed in trunk, please reopen if it doesn't work.

Bug #3190

Reported by:
Matteo F. Vescovi
Reported on: 2007-04-27
Last modified on: 2010-12-24

People

Assignee:
Xfce-Goodies Maintainers
CC List:
4 users

Version

Version:
0.5.1 or older
Target Milestone:
0.5.1 or older

Attachments

Patch to fix this issue (479 bytes, patch)
2007-04-29 01:57 CEST , Stefan Ott
no flags

Additional information