Michael,
I have one-line workaround for this issue.
Could you try it?
However, seems additional thinking is required on hpifan interface.
The problem is:
- Manual Mode for HPI fan control mappped to System Manager controlled
cooling.
- Auto Mode for HPI fan control mappped to Shelf Manager controlled cooling.
- Default startup mode for Fan control is auto mode.
- hpifan calls saHpiControlGet( mode, state ) and then saHpiControlSet(
mode, new_state ).
- HPI spec says: If the CtrlMode parameter is set to SAHPI_CTRL_MODE_AUTO,
then the CtrlState parameter is not evaluated.
The workaround changes hpifan to always set manual mode.
And it is not clear now how to return to auto mode.
Anton Pak
> To be a little more specific...
>
> I can see the fans in an ATCA chassis, but I can't use hpifan to change
> their speed.
>
> -----Original Message-----
> From: Frank C. Earl [mailto:[email protected]]
> Sent: Tuesday, June 29, 2010 2:58 PM
> To: [email protected]
> Subject: Re: [Openhpi-devel] 7113 as OpenHPI 2.15.0 release candidate -
> Email found in subject
>
> Thompson, Michael wrote:
>>
>> hpifan has been broken for quite a while.
>>
> I guess this is a YMMV item. It works fine for my case with the mix of
> ATCA stuff I'm monitoring against, namely a Colorado Springs CMM
> controlled cage and an a ShMM-500 controlled shelf.
>
> --
> Frank
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Openhpi-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openhpi-devel
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Openhpi-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openhpi-devel
>
Index: clients/hpifan.c
===================================================================
--- clients/hpifan.c (revision 7113)
+++ clients/hpifan.c (working copy)
@@ -172,7 +172,7 @@
}
speed = fan_speed;
- rv = set_fan_speed( session_id, resource_id, ctrl_rec->Num, speed,
ctrl_mode);
+ rv = set_fan_speed( session_id, resource_id, ctrl_rec->Num, speed,
SAHPI_CTRL_MODE_MANUAL);
if ( rv != SA_OK )
return 0;------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel