Changeset 54121 in vbox for trunk/src/VBox/ValidationKit/tests/usb
- Timestamp:
- Feb 10, 2015 10:57:20 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/usb/usbgadget.py
r54118 r54121 58 58 # For the ODroid-XU3 gadget we have to do a soft connect for the attached host to recognise the device. 59 59 if self.sGadgetType == 'ODroid-XU3': 60 fRc = self.oTxsSession.syncExecEx('/usr/bin/sh', ('/usr/bin/sh', '-c', 'echo connect > /sys/class/udc/12400000.dwc3/soft_connect')); 60 fRc = self.oTxsSession.syncExecEx('/usr/bin/sh', \ 61 ('/usr/bin/sh', '-c', 'echo connect > /sys/class/udc/12400000.dwc3/soft_connect')); 61 62 62 63 return fRc; … … 72 73 # For the ODroid-XU3 gadget we do a soft disconnect before unloading the gadget driver. 73 74 if self.sGadgetType == 'ODroid-XU3': 74 fRc = self.oTxsSession.syncExecEx('/usr/bin/sh', ('/usr/bin/sh', '-c', 'echo disconnect > /sys/class/udc/12400000.dwc3/soft_connect')); 75 fRc = self.oTxsSession.syncExecEx('/usr/bin/sh', \ 76 ('/usr/bin/sh', '-c', 'echo disconnect > /sys/class/udc/12400000.dwc3/soft_connect')); 75 77 fRc = self.oTxsSession.syncExecEx('/usr/bin/rmmod', ('/usr/bin/rmmod', sModule)); 76 78
Note:
See TracChangeset
for help on using the changeset viewer.