Two bugs in xfce4 - Battery Monitor

edscott wilson garcia edscott at imp.mx
Wed Dec 10 23:05:54 CET 2003


On Wed, 2003-12-10 at 16:15, Luis Miguel García wrote:
> well... I have grouped the two bugs in only one.
> 
> I have only ACPI runnning. No APM. If I don't load battery.ko module, 
> the plugin doesn't show the temperature of my cpu (even when they are 
> unrelated). If I load battery.ko module into the kernel, the temperature 
> appears.
> 
> Any tip?

It seems that the acpi part for the temperature is compiled into the
battery.ko module or a different module that gets loaded when battery.ko
is insmod'ed. Why don't you just compile the acpi support for
temperature directly into the kernel?


> 
> 
> edscott wilson garcia wrote:
> 
> >On Tue, 2003-12-09 at 21:42, Luis Miguel García wrote:
> >  
> >
> >>Hi... I'm testing the battery monitor. I'm only interested in the 
> >>temperature of the cpu feature, but I have found two bugs:
> >>
> >>1- The pluging only shows a "bar" when the panel is in "vertical" mode. 
> >>If I need to see all the options, I must set the panel horizontal and 
> >>then get back to vertical. Then, all the data is shown.
> >>    
> >>
> >
> >I cannot confirm such behaviour. I use the panel in vertical mode and
> >can turn all options on/off by using the "properties" dialog for the
> >plugin.
> >
> >  
> >
> >>2- If battery.ko module of the kernel is not loaded, the plugin doesn't 
> >>work at all. I'll try to explain me (i'm not native english speaker). 
> >>When xfce starts, it reads the temperature one time, and then it's never 
> >>refresh it unless I do a "modprobe battery". Then, the temperature is 
> >>correctly updated. I think that having battery support in acpi must not 
> >>be a requeriment because this plugin has other features (such as 
> >>temperatura of cpu) that doesn't rely on the battery module.
> >>    
> >>
> >
> >Battery and temperature are independent from each other. The plugin
> >apparently can use either acpi and apm. I'm not familiar with the apm
> >part but AFAICT using only acpi the updates are done correctly. Maybe
> >you have a kernel with both apm and acpi enabled, which is a recipe for
> >trouble.
> >
> >  
> >
> >>What do you think?
> >>    
> >>
> >
> >The temperature and fan could probably go into an independent plugin,
> >but since they would also be polling acpi, it would unnecessarily
> >increase overhead.  
> >
> >  
> >
> >>Thanks!!
> >>_______________________________________________
> >>Xfce4-dev mailing list
> >>Xfce4-dev at xfce.org
> >>http://moongroup.com/mailman/listinfo/xfce4-dev
> >>
> >>    
> >>
> >
> >_______________________________________________
> >Xfce4-dev mailing list
> >Xfce4-dev at xfce.org
> >http://moongroup.com/mailman/listinfo/xfce4-dev
> >
> >  
> >
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
> 




More information about the Xfce4-dev mailing list