I haven't tried these methods, but it should be possible to do a soft reset of the device from the host end. A couple of approaches:
http://marc.info/?l=linux-usb-users&m=116827193506484
http://permalink.gmane.org/gmane.linux.usb.general/55298

--m.


On 13-10-16 01:18 PM, Zac Campbell wrote:
We want to write an automated test for enabling USB Mass Storage but we have a problem in the teardown of the test in that turning off USB Mass storage requires the cable to be removed from the device.

Restarting the b2g process does not do the trick. 'adb reboot' works but is a bit heavy for a test teardown.

Does anybody know of a software method we can use to do this teardown cleanly and quickly?

Thanks
Zac
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to