Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316475 - gnome-base/gnome-applets: laptop applet (battstat) does not work without either hal or old acpi kernel api
Summary: gnome-base/gnome-applets: laptop applet (battstat) does not work without eith...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 313389
  Show dependency tree
 
Reported: 2010-04-21 07:47 UTC by Hanno Böck
Modified: 2010-09-03 18:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2010-04-21 07:47:15 UTC
After removing hal, the battery applet in gnome does not work any more. It has a fallback "old" mode, but that doesn't work either as this depends on the old proc-kernel-api for acpi.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-21 08:18:44 UTC
The hal use flag on gnome-applets controls the build of the battstat applet so it's no surprise. The fallback mode should most likely does not work because the interface have been deprecated for long in kernel.

Could you be more description of your "After removing hal" step ?
Comment 2 Hanno Böck gentoo-dev 2010-04-21 11:47:47 UTC
I removed hal from my init.d, added -hal to make.conf and ran emerge -puDN world. I mainly opened this bug to track progress as hal removal from gentoo is planned soon according to #313389
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-21 12:11:20 UTC
Does the applet work if you enable the relevant kernel option ? If so, we will add a check for kernel configuration.
Comment 4 Hanno Böck gentoo-dev 2010-04-21 13:19:46 UTC
It will probably work if I enable the "deprecated" kernel options, but that's no solution. I'm about to test gnome 2.30 from the overlay and see if that fixes it.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-21 13:42:11 UTC
it is the only solution, from a gnome upstream perspective battstat applet is deprecated and gnome-power-manager notification-area icon replaces it.
Comment 6 Pacho Ramos gentoo-dev 2010-07-14 11:22:22 UTC
(In reply to comment #4)
> It will probably work if I enable the "deprecated" kernel options, but that's
> no solution. I'm about to test gnome 2.30 from the overlay and see if that
> fixes it.
> 

Does it work or not? We cannot do much more :-/, once deprecated options are dropped from the kernel we could hard depend on hal when building battstat (or, better, drop that applet if not needed by anything)
Comment 7 Pacho Ramos gentoo-dev 2010-09-03 18:32:13 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > It will probably work if I enable the "deprecated" kernel options, but that's
> > no solution. I'm about to test gnome 2.30 from the overlay and see if that
> > fixes it.
> > 
> 
> Does it work or not? We cannot do much more :-/, once deprecated options are
> dropped from the kernel we could hard depend on hal when building battstat (or,
> better, drop that applet if not needed by anything)
> 

Please reply :-)