[EMAIL PROTECTED] wrote on 08/20/2007 09:01:26 
AM:

 
> The first thing I noticed that the fan controller was being 
> requested fan level 0 - 
> regardless of what I told hpifan. Debugging the code I found out 
> that the client 
> indeed requests fan level 0 - but why? Debugging turned out that 
theparameter
> CtrlState of saHpiControlSet() is passed incorrectly. When I compare
> the address 
> that is being passed into the function aqnd what receives in the 
> function itself 
> you find out that there are different addresses!!! 
> 

The address difference would happen if you are running the daemon. hpifan 
passes the speed through the api, but this api gets marshaled and sent to 
the daemon process where the control state will have its own address 
within that process space. Are you running in non-daemon mode?

I tested this on the subversion trunk version of OpenHPI using the 
simulator plugin (daemon mode), and was setting the fan speed without 
problems.

Could you provide the relevant output of hpitree and hpifan? This could 
shed some light.

        --Renier
-------------------------------------------------------------------------
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/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to