Hi All,
After looking at the sample code, I have written a test code like below and 
found that
My routine "ipmicb_setup_done" is never invoked.

<snip>
      ipmi_init(os);
    rv = ipmi_smi_setup_con(0, os, NULL, &sentbl.st_ipmi_con);
    if (rv) {
        system("echo Inside jabsentbl_init 1>> /tmp/Rishi");
        ipmi_shutdown();
        return -1;
    }
    rv = ipmi_open_domain("", &sentbl.st_ipmi_con, 1,
                ipmicb_setup_done, NULL, NULL, NULL, NULL, 0, NULL);
    if (rv) {
        system("echo Inside jabsentbl_init 2>> /tmp/Rishi");
        ipmi_shutdown();
        return -1;
    }
    sentbl.st_inited = TRUE;
</snip>

Can you please throw some lights why the "ipmicb_setup_done" is not invoked. 
Also, let me know if there is a workaround
On how I can register the event handler.

Thanks,
Rishi


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to