Changeset 60549 in vbox for trunk/src/VBox/ValidationKit/tests/usb
- Timestamp:
- Apr 18, 2016 5:35:25 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/usb/tdUsb1.py
r60522 r60549 315 315 self.oVBox.host.addUSBDeviceSource('USBIP', sGadgetHost, sGadgetHost + (':%s' % oUsbGadget.getUsbIpPort()), [], []); 316 316 317 # Create device filter318 fRc = o Session.addUsbDeviceFilter('Compliance device', '0525', 'a4a0');317 # Create test device gadget and a filter to attach the device automatically. 318 fRc = oUsbGadget.impersonate(usbgadget2.g_ksGadgetImpersonationTest); 319 319 if fRc is True: 320 fRc = oUsbGadget.impersonate(usbgadget2.g_ksGadgetImpersonationTest); 320 iBusId, _ = oUsbGadget.getGadgetBusAndDevId(); 321 fRc = oSession.addUsbDeviceFilter('Compliance device', sVendorId = '0525', sProductId = 'a4a0', sPort = str(iBusId)); 321 322 if fRc is True: 322 323 323 324 # Wait a moment to let the USB device appear 324 self.sleep( 10);325 self.sleep(3); 325 326 326 327 tupCmdLine = ('UsbTest', );
Note:
See TracChangeset
for help on using the changeset viewer.