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 wouldn't start depending on
them, just yet. :-) They are marked Project Private, I believe, anyway.
Which is exactly why I said:
write the CLI battery program by consuming the HAL API and get it
integrated into an OpenSolaris codebase.
The HAL API is independent of the ioctl/kstat/sysevents implementation
and is even cross-platform.
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.
If so, then it is less useful as a generic API for CLI access, IMO.
-- Garrett
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code