I have been working with the ulpm_ShutDown() function while trying to implement a way for a user to properly turn off an FX30.
I had hoped ulpm_ShutDown() would initiate a Linux shutdown (poweroff), but it appears it shuts down the processor without going through the usual shutdown steps.
Is this the way it is supposed to work?
Is there a way to invoke a Linux shutdown/poweroff from a Legato app so as to ensure an orderly termination of services, etc.?