From: SourceForge.net <no...@so...> - 2011-04-29 22:57:24
|
Bugs item #3289939, was opened at 2011-04-20 03:28 Message generated for change (Comment added) made by avpak You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=3289939&group_id=71730 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: OpenHPI Daemon Group: None Status: Open Resolution: None Priority: 7 Private: No Submitted By: dr_mohan (dr_mohan) Assigned to: Anton Pak (avpak) Summary: auto-insertion timeout can not be enforced Initial Comment: The fix for 2798408 makes it mandatory on all plugins that auto-insertion timeout is supported. But not all plugins can support it. oa_soap does not support it and SAHPI_DOMAIN_CAP_AUTOINSERT_READ_ONLY capability and auto-insertion timeout = 0 is a perfect default for it. Right now oa_soap plugin does not work at all. So the fix for 2798408 needs to be rolled back or modified. ---------------------------------------------------------------------- >Comment By: Anton Pak (avpak) Date: 2011-04-30 02:57 Message: I made AI timeout read only by default in trunk (rev. #7302) ---------------------------------------------------------------------- Comment By: Anton Pak (avpak) Date: 2011-04-21 20:31 Message: I guess if plug-in doesn't support auto-insertion timeout, then the plug-in must not provide abi->set_autoinsert_timeout. And one more suggestion: How about setting SAHPI_HS_CAPABILITY_AUTOINSERT_IMMEDIATE for all oa_soap resources? HPI-B.03.02 spec says: ** SAHPI_HS_CAPABILITY_AUTOINSERT_IMMEDIATE ** This capability indicates that the resource ignores the auto insertion ** timeout value(s) configured for the domain(s) of which it is a member, ** but instead begins its auto insertion policy immediately upon insertion. ---------------------------------------------------------------------- Comment By: dr_mohan (dr_mohan) Date: 2011-04-21 20:27 Message: Changing the default openhpi.conf to read-only zero timeout will work if we issue the handler->abi->set_autoinsert_timeout(handler->hnd, ai_timeout) call only when the SAHPI_DOMAIN_CAP_AUTOINSERT_READ_ONLY is false and/or the timeout is set to a non-zero value. This way other plugins that support the above call could set the parameters in the openhpi.conf file and make the calls. ---------------------------------------------------------------------- Comment By: Anton Pak (avpak) Date: 2011-04-20 03:45 Message: Well, auto-insertion timeout can be configured RO with OPENHPI_AUTOINSERT_TIMEOUT_READONLY parameter in openhpi.conf. And default timeout value can be set with OPENHPI_AUTOINSERT_TIMEOUT parameter. So it is just a matter of configuration. Guess we can change default openhpi.conf to read-only zero timeout. What say? Hope that limited hot swap support in the oa_soap plug-in shall not be restriction of the whole daemon. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=3289939&group_id=71730 |