Actually, I don't understand that code that well, and I can't find any 
interpretation like this.  However, only the asserted bit is allowed, so 
if they report deasserted then that's the only way it can be there.

Well, there is one other way, thinking about it.  Sometimes BMCs will 
report bits that are not supported (because of bugs).  IIRC OpenIPMI 
ignores these.  ipmitool does not appear to ignore these.

-corey

[EMAIL PROTECTED] wrote:
> That could be -- though looking at the ipmitool source, I don't see any
> special interpretations for anything.  They just grab states then map it
> to a multi-indexed array in order to get that string.  However, you'd
> understand their code better than I, so I'll take your word for it :)
>
> Thanks again for your help,
> Jen
>
> -----Original Message-----
> From: Corey Minyard [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 27, 2007 2:54 PM
> To: Vanderputten, Jennifer
> Cc: [email protected]
> Subject: Re: [Openipmi-developer] Discrete sensor states
>
> [EMAIL PROTECTED] wrote:
>   
>> My mistake was that I hadn't created a new domain yet.  I initiated
>>     
> the
>   
>> same way I did in my OpenIPMI program (smi 0).  Here is the output:
>>
>>   
>>     
>>> sensor info 'domain1(7.1).SMI Timeout0'
>>>     
>>>       
>> Sensor
>>   Name: domain1(7.1).SMI Timeout0
>>   LUN: 0
>>   Number: 133
>>   Event Reading Type: 3
>>   Event Reading Type Name: discrete_state
>>   Type: 243
>>   Type Name: invalid
>>   Event Support: entire sensor
>>   Init Scanning: true
>>   Init Events: true
>>   Init Thresholds: false
>>   Init Hysteresis: false
>>   Init Type: true
>>   Init Power Up Events: true
>>   Init Power Up Scanning: true
>>   Ignore If No Entity: false
>>   Auto Rearm: true
>>   OEM1: 0
>>   Id: SMI Timeout0
>>   Event
>>     Offset: 1
>>     Name: state asserted
>>     Supports: assertion
>>     Supports: deassertion
>>   
>>     
>  From ipmitool:
>
>   
>> SMI Timeout | 85h | ok | 7.1 | State Deasserted 
>>     
>
>
> ipmitool appears to be doing some interpretation here.  From the 
> information above, this only supports the "asserted" bit, but ipmitool 
> is reporting a "deasserted".  So it appears that it's saying: "If I only
>
> have an asserted bit, if it's not set, it must be deasserted".
>
> -corey
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Openipmi-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openipmi-developer
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to