I knew about the files in /sys - but thanks for the extra info.
This is a headless mangOH Red that I’m using (no USB connected) - and I need to put the WP into USB suspend from within a Legato App, and wake the device up via an external pin (as per the WP77 PTS).
It looks like the only way is to shell out using a system() call.
And I can’t use ULPM mode as it’s too slow to respond to a wakeup.
Any more thoughts?
ciao, Dave