Custom log Mxconfig failed

D
DDrr
Konings NV

We're trying to enable the serial port power on a Zebra VC8300. We have created the XML file (contents below) and applied it to the device through Mobicontrol. The file gets placed on the terminal without issue but mxconfig gives an error with no further info when trying to run it. What could we be doing wrong? 


2 years ago
SOTI MobiControl
ANSWERS
D
DDrr
2 years ago

The file is called SerialPortPower.xml and is placed in %sdcard%

The script command:

mxconfig /sdcard/SerialPortPower.xml

Log error:

11:10:42 AM
Error
Custom log (Mxconfig failed: /sdcard/SerialPortPower.xml)

xml file contents:

<wap-provisioningdoc>
  <characteristic version="10.1" type="PowerMgr">
    <parm name="PortAction" value="1" />
    <characteristic type="port-details">
      <parm name="PortSelect" value="Serial Port 1" />
    </characteristic>
  </characteristic>
  <characteristic version="10.1" type="PowerMgr">
    <parm name="PortAction" value="1" />
    <characteristic type="port-details">
      <parm name="PortSelect" value="Serial Port 2" />
    </characteristic>
  </characteristic>
  <characteristic version="10.1" type="PowerMgr">
    <parm name="AutoPowerControl" value="1" />
    <characteristic type="auto-power-details">
      <parm name="AutoPowerOff" value="1" />
      <parm name="AutoPowerOffTimeout" value="30" />
      <parm name="AutoPowerOn" value="1" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>

D
DDrr
2 years ago

We've also checked the MX Version on the terminal and set it correctly to 11.3

RS
Rafael Schäfer
2 years ago

Are you sure, that your xml is correct?

I take always the default xml from the device and rework on it. On TC51 it's located under "/etc/mx/cspmgr/dsd/". I copy the relevant file to your pc and rename it from .dsd to .xml so i know what's possible to be set. I also download the default xml from "/etc/mx/cspmgr/xml/" and just add/rework it. On the TC51 it looks like this:

<wap-provisioningdoc>
    <characteristic type="CspMgr">
        <parm name="CspAction" value="Add"/>
        <characteristic type="csp-details">
            <parm name="Characteristic" value="PowerMgr"/>
            <parm name="ReplaceIfExisting" value="TRUE"/>
            <parm name="Package" value="com.symbol.mxmf.csp.powermgr" />
            <parm name="Class" value = "com.symbol.mxmf.csp.powermgr.MxPowerMgrCSPService"/>
            <parm name="DsdFile" value="/data/tmp/PowerMgr.dsd" />
        </characteristic>
        <characteristic type="csp-authentication-info">
            <parm name="Alias" value="MxFrameworkBuildin"/>
            <parm name="ETV" value="ReplaceValueAtRunTime"/>
        </characteristic>
    </characteristic>
</wap-provisioningdoc>

I also see in those files that you have to change the value for "port selection":

<list name="PortSelect" >
        <item code="1" text="Serial Port 1" />
        <item code="2" text="Serial Port 2" />
        <item code="3" text="USB Port 2" />
    </list>

So, you must use "1" instead of "Serial Port 1". (could be the only thing to be changed but i really use the xml found here always as the "base")

D
DDrr
2 years ago

There doesn't seem to be a default xml file anywhere on the system :( 

D
DDrr
2 years ago

Are you sure, that your xml is correct?

Hmm, it's the xml that was generated by StageNow, I assumed it would be correct.

Changing "Serial Port 1" to just "1" didn't help. Guess i'll go look for the base file on the VC8300

Thanks

RS
Rafael Schäfer
2 years ago

I get this from StageNow:

<wap-provisioningdoc>
  <characteristic version="10.1" type="PowerMgr">
    <parm name="PortAction" value="1" />
    <characteristic type="port-details">
      <parm name="PortSelect" value="Serial Port 2" />
    </characteristic>
    <parm name="AutoPowerControl" value="1" />
    <characteristic type="auto-power-details">
      <parm name="AutoPowerOff" value="1" />
      <parm name="AutoPowerOffTimeout" value="30" />
      <parm name="AutoPowerOn" value="1" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>

You must decide to choose serial port 1 or 2 not both i think, also only one block for the powermgr, not many.

D
DDrr
2 years ago

That still fails sadly, our contact at the vendor will be back next week, maybe he can help

In the meantime I'm enabling power through the VCSettings app manually :shrug:

Thanks for the help anyway

G
GPMOD@SOTI
2 years ago

Hi DDrr,  

Thanks for posting on SOTI Pulse and thanks Rafael for responding to the post. 

I would suggest you check with Zebra if you are using the right format for the .xml file also ensure that the file path is correct. 

Can you please confirm if are you still facing this issue? 

Thank you. 


Kind regards, 

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

D
DDrr
2 years ago

Indeed I still have the issue

G
GPMOD@SOTI
2 years ago

Hi DDrr, 

Can you confirm whether you have checked with Zerba related to this query?

If yes, can I know their response? Please feel free to open up a support case here.

Please let us know. 

Thank you. 

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |