Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Laszlo (Laca) Peter
Correction: On Tue, 2007-05-08 at 17:09 +0100, Darren J Moffat wrote: > Garrett D'Amore wrote: > > Does the HAL run independent of the desktop environment? I've not > > looked at it, but somehow I was under the impression that the HAL was a > > gnome-ish thing that got started with the rest of

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Darren J Moffat
Garrett D'Amore wrote: Does the HAL run independent of the desktop environment? I've not looked at it, but somehow I was under the impression that the HAL was a gnome-ish thing that got started with the rest of the desktop startup. YES. HAL != GNOME HAL !=> any window system at all. Likewi

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Garrett D'Amore
Darren J Moffat wrote: Garrett D'Amore wrote: FYI, I've been working with the battery team. I'm hoping to support battery management on SPARC mobile platforms as well. One of the consequences of this is that the specific ioctls/kstats/sysevents may be subject to change in the future. I woul

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Darren J Moffat
Garrett D'Amore wrote: FYI, I've been working with the battery team. I'm hoping to support battery management on SPARC mobile platforms as well. One of the consequences of this is that the specific ioctls/kstats/sysevents may be subject to change in the future. I wouldn't start depending on

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Garrett D'Amore
FYI, I've been working with the battery team. I'm hoping to support battery management on SPARC mobile platforms as well. One of the consequences of this is that the specific ioctls/kstats/sysevents may be subject to change in the future. I wouldn't start depending on them, just yet. :-) Th

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Darren J Moffat
Joerg Schilling wrote: Darren J Moffat <[EMAIL PROTECTED]> wrote: BTW: could you point me to the new program? The new stuff integrated into ONNV 63 http://opensolaris.org/os/community/on/flag-days/pages/2007041401/ Unfortunately, I cannot see any CLI program that supports the battery. Unf

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Joerg Schilling
Darren J Moffat <[EMAIL PROTECTED]> wrote: > > BTW: could you point me to the new program? > > The new stuff integrated into ONNV 63 > > http://opensolaris.org/os/community/on/flag-days/pages/2007041401/ Unfortunately, I cannot see any CLI program that supports the battery. This looks like a bug

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Darren J Moffat
Joerg Schilling wrote: Darren J Moffat <[EMAIL PROTECTED]> wrote: Joerg Schilling wrote: I am trying this a second time as I did not receive any reply. I did enhance batstat again Try the laptop community which is where batstat lives. batstat is effectively EOF (my personal opinion anywa

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Joerg Schilling
Darren J Moffat <[EMAIL PROTECTED]> wrote: > Joerg Schilling wrote: > > I am trying this a second time as I did not receive any > > reply. I did enhance batstat again > > Try the laptop community which is where batstat lives. > > batstat is effectively EOF (my personal opinion anyway but I'm

Re: [osol-code] Enhancements to batstat

2007-05-08 Thread Darren J Moffat
Joerg Schilling wrote: I am trying this a second time as I did not receive any reply. I did enhance batstat again Try the laptop community which is where batstat lives. batstat is effectively EOF (my personal opinion anyway but I'm fairly sure Casper would agree) now since we have battery

[osol-code] Enhancements to batstat

2007-05-04 Thread Joerg Schilling
I am trying this a second time as I did not receive any reply. I did enhance batstat again The source is at: ftp://ftp.berlios.de/pub/schily/ Here is the extended output: batstat -v System is currently on AC power System temperature = 44.0C battery 0 bif_unit = 0 bif_design

[osol-code] Enhancements to batstat

2007-05-01 Thread Joerg Schilling
Here is some enhancements to batstat.c that add the standard usage() and that allows to better understand the -v output. It now gives also Watthours, Volts and Amperes. --- batstat.corig Fri Oct 21 13:34:13 2005 +++ batstat.c Tue May 1 14:24:40 2007 @@ -173,6 +173,25 @@