From sacadmin Fri Mar  6 00:34:07 2009
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n268Y71v000838;
	Fri, 6 Mar 2009 00:34:07 -0800 (PST)
Received: (from xc149992@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id n268Y7dr000834;
	Fri, 6 Mar 2009 00:34:07 -0800 (PST)
Date: Fri, 6 Mar 2009 00:34:07 -0800 (PST)
From: Xiang-Dong Frank Che <xc149992@sac.sfbay.sun.com>
Message-Id: <200903060834.n268Y7dr000834@sac.sfbay.sun.com>
To: PSARC-record@sac.sfbay.sun.com
Subject: Add CPU/Memory/Battery Category to Device Driver Utility [PSARC/2009/157 Self Review]
Status: RO
Content-Length: 591


Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 Add CPU/Memory/Battery Category to Device Driver Utility
    1.2. Name of Document Author/Supplier:
	 Author:  Bill Yan
    1.3  Date of This Document:
	06 March, 2009
4. Technical Description
    See the case directory for more detail

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		unknown
    6.5. ARC review type: Automatic
    6.6. ARC Exposure: open


From Frank.Che@sun.com Fri Mar  6 00:53:55 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n268rsFF002233
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 6 Mar 2009 00:53:55 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n268rpPI013750
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 6 Mar 2009 16:53:54 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KG200D01U1SC500@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 06 Mar 2009 00:53:52 -0800 (PST)
Received: from sineb-mail-1.sun.com ([192.18.19.6])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KG200A7NU1RM3F0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 06 Mar 2009 00:53:52 -0800 (PST)
Received: from fe-apac-05.sun.com
 (fe-apac-05.sun.com [192.18.19.176] (may be forged))
	by sineb-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n268rpTR015065	for
 <PSARC-ext@sun.com>; Fri, 06 Mar 2009 08:53:51 +0000 (GMT)
Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com
 (Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 23 2008))
 id <0KG200F00U1BMH00@mail-apac.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 06 Mar 2009 16:53:51 +0800 (SGT)
Received: from [129.158.218.60] ([unknown] [129.158.218.60])
 by mail-apac.sun.com
 (Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 23 2008))
 with ESMTPSA id <0KG2008ILU1QIK00@mail-apac.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 06 Mar 2009 16:53:50 +0800 (SGT)
Date: Fri, 06 Mar 2009 16:51:48 +0800
From: Frank Che <Frank.Che@sun.com>
Subject: Add CPU/Memory/Battery Category to Device Driver Utility [PSARC
 2009/157 Self Review]
Sender: Frank.Che@sun.com
To: PSARC-ext@sun.com
Cc: yan xue yang <Xue-Yang.Yan@sun.com>
Message-id: <49B0E424.9020002@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
User-Agent: Thunderbird 2.0.0.4 (X11/20070622)
Status: RO
Content-Length: 2491

I'm sponsoring this case for Bill Yan.  This project is to add the CPU, 
Memory and Battery categories to the OpenSolaris Device Drive Utility 
tool so that users could get information on these devices easily. A 
Micro release binding is proposed.

I have marked it as "closed approved automatic" since the change is 
straightforward and the interface is clear. If there is request, I'd be 
happy to upgrade it to a fast track and set the timer.

-Frank


4. Technical Description

4.1 Summary

    The intent of this project is to add CPU, Memory and battery category to
    the OpenSolaris Device Driver Utility Tool.

    Requested release binding is Micro.

4.2 Details

    This project propose to add the following information to the Device 
Driver
    Utility tool [1].

    * CPU information: including CPU type, number of CPU, number of 
cores per
    processor and number of threads per processor.

    * Memory information: including amount of physical memory, maximum 
memory
    supported and detail information of each memory device/module (size, 
type,
    speed, bit-width).

    * Battery information: including model, serial, vendor, technology,
    charge/discharge status, design charge level, current charge level, 
design
    voltage, current voltage, charge percentage and estimated remaining 
time (if
    battery is discharging).

    On i86pc platform, CPU information is fetched through CPUID 
instruction and
    SMBIOS, memory information is got from SMBIOS, battery information 
is got
    from HAL. On sparc platform, libpicl is used to fetch CPU and memory
    information. Battery information is not provided on sparc platform.


4.3 Imported Interfaces

    Interface         |  Stability  | Description
    
------------------+-------------+----------------------------------------
    libhal.so         | Uncommitted | PSARC/2005/399
    
------------------+-------------+----------------------------------------
    libpicl.so        | Uncommitted | PSARC/1999/444
    
------------------+-------------+----------------------------------------
    /dev/smbios       | Uncommitted | PSARC/2005/483
    
------------------+-------------+----------------------------------------


5. References
    [1] Device Driver Utility PSARC Case:
    http://sac.sfbay/PSARC/2008/504/

6. Resources and Schedule
    6.4 Steering Committee Requested Information
    6.4.1 Consolidation C-team Name: None
    6.5 ARC review type: Self Review
    6.6 ARC exposure: Open


