/external/libusb-compat/examples/ |
Makefile.am | 2 noinst_PROGRAMS = lsusb testlibusb 4 lsusb_SOURCES = lsusb.c
|
/external/toybox/toys/other/ |
lsusb.c | 0 /* lsusb.c - list available USB devices 5 USE_LSUSB(NEWTOY(lsusb, NULL, TOYFLAG_USR|TOYFLAG_BIN)) 7 config LSUSB 8 bool "lsusb" 11 usage: lsusb
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
lsusb.py | 18 """Calls lsusb -v on device.""" 20 ['lsusb', '-v', '-s', '%s:%s' % (bus_id, dev_id)], timeout=10) 52 'lsusb parsing error: unexpected indentation: "%s"', line) 77 logging.error('lsusb parsing error: unrecognized line: "%s"', line) 81 def lsusb(): function 82 """Call lsusb and return the parsed output.""" 84 ['lsusb'], timeout=10) 95 logging.info('lsusb -v %s:%s timed out.', bus_num, dev_num) 99 return cmd_helper.GetCmdOutput(['lsusb']) 108 return [serial for serial in (get_lsusb_serial(d) for d in lsusb()) [all...] |
reset_usb.py | 13 from devil.utils import lsusb 34 lsusb_info = lsusb.lsusb() 39 device_serial = lsusb.get_lsusb_serial(device_info) 53 _reset_all_matching(lambda i: bool(lsusb.get_lsusb_serial(i))) 57 lsusb_info = lsusb.lsusb() 64 serial = lsusb.get_lsusb_serial(device_info)
|
lsusb_test.py | 11 from devil.utils import lsusb 221 """Test Lsusb parsing.""" 226 ['lsusb'], timeout=10), (None, DEVICE_LIST)), 228 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))): 229 self.assertDictEqual(lsusb.lsusb().pop(), EXPECTED_RESULT) 234 ['lsusb'], timeout=10), (None, DEVICE_LIST)), 236 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))): 237 self.assertEqual(lsusb.get_android_devices(), ['01d2450ea194a93b']) 242 ['lsusb'], timeout=10), (None, DEVICE_LIST)) [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
reset_usb.py | 19 from devil.utils import lsusb 42 lsusb_info = lsusb.lsusb() 47 device_serial = lsusb.get_lsusb_serial(device_info) 62 _reset_all_matching(lambda i: bool(lsusb.get_lsusb_serial(i))) 66 lsusb_info = lsusb.lsusb() 73 serial = lsusb.get_lsusb_serial(device_info)
|
lsusb.py | 20 """Calls lsusb -v on device.""" 22 ['lsusb', '-v', '-s', '%s:%s' % (bus_id, dev_id)], timeout=10) 28 # to the lsusb output. It looks first for a line containing 50 # e.g. the following lsusb output: 106 'lsusb parsing error: unexpected indentation: "%s"', line) 133 logger.error('lsusb parsing error: unrecognized line: "%s"', line) 137 def lsusb(): function 138 """Call lsusb and return the parsed output.""" 140 ['lsusb'], timeout=10) 151 logger.info('lsusb -v %s:%s timed out.', bus_num, dev_num [all...] |
lsusb_test.py | 11 from devil.utils import lsusb 221 """Test Lsusb parsing.""" 226 ['lsusb'], timeout=10), (None, DEVICE_LIST)), 228 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))): 229 self.assertDictEqual(lsusb.lsusb().pop(), EXPECTED_RESULT) 234 ['lsusb'], timeout=10), (None, DEVICE_LIST)), 236 ['lsusb', '-v', '-s', '003:007'], timeout=10), (None, RAW_OUTPUT))): 237 self.assertEqual(lsusb.get_android_devices(), ['01d2450ea194a93b']) 242 ['lsusb'], timeout=10), (None, DEVICE_LIST)) [all...] |
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/ |
control.printer_epson | 22 - if USB device is not detected in lsusb command 39 str("lsusb") : 41 str("lsusb -v -d 04b8:089e") :
|
control.printer_hp | 22 - if USB device is not detected in lsusb command 39 str("lsusb") : 41 str("lsusb -v -d 03f0:d911") :
|
control | 23 - if USB device is not detected in lsusb command 45 # str("lsusb -v -d 045e:070f") : 48 str("lsusb -v -d 058f:") :
|
/external/autotest/server/site_tests/firmware_FlashServoKeyboardMap/ |
firmware_FlashServoKeyboardMap.py | 33 # Check the result of lsusb. 35 result = host.run('lsusb -d 03eb:').stdout.strip() 57 # Check the result of lsusb. 59 result = host.run('lsusb -d 03eb:').stdout.strip()
|
/external/walt/android/WALT/app/src/main/jni/ |
findteensy.py | 26 line = subprocess.check_output("lsusb | grep eensy", shell=True)
|
sync_clock_linux.c | 32 "Try `lsusb | grep eensy` and use /dev/bus/usb/<Bus>/<Device>\n", 44 // the interfaces and endpoints use `lsusb --verbose` or an app like USB
|
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionStress/ |
kernel_ExternalUsbPeripheralsDetectionStress.py | 38 """Check manufacturer and product info from lsusb against dict values. 49 manu_cmd = ('lsusb -v -d ' + vId + ':' + pId + ' | grep iManufacturer') 50 prod_cmd = ('lsusb -v -d ' + vId + ':' + pId + ' | grep iProduct') 123 lsusbOutput = connected_device_dict['deviceInfo']['lsusb'] 222 """Compare LSUSB output for before and after connecting each device. 224 @param original_lsusb_output: lsusb output prior to connecting device. 225 @returns the difference between new and old lsusb outputs 228 lsusb_output = (self.host.run('lsusb', ignore_status=True). 260 lsusb_original_out = (self.host.run('lsusb', ignore_status=True). 269 'productName':None,'manufacturer':None,'lsusb':None} [all...] |
/external/autotest/server/site_tests/platform_ExternalUSBStress/ |
platform_ExternalUSBStress.py | 41 @param lsusb_output: lsusb command output to parse 77 """Waits till timeout for set of peripherals in lsusb output. 86 connected = strip_lsusb_output(host.run('lsusb').stdout.strip()) 133 connected = strip_lsusb_output(host.run('lsusb').stdout.strip()) 180 off_list = strip_lsusb_output(host.run('lsusb').stdout.strip()) 183 connected = strip_lsusb_output(host.run('lsusb').stdout.strip())
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
UsbDescriptorParserTests.java | 71 * Descriptors for this example show up on lsusb -v with: 101 * Descriptors for this example show up on lsusb -v with: 127 * Descriptors for this example show up on lsusb -v with: 153 /* Descriptors show up on lsusb -v with: 175 * Shows up on lsusb -v with:
|
/external/autotest/client/common_lib/cros/ |
power_cycle_usb_util.py | 120 cmd = 'lsusb -d {}:{}'.format(vid, pid) 122 logging.info('lsusb output {}'.format(lsusb_output)) 126 cmd = 'lsusb -t' 138 device is connected to based on the output of command 'lsusb -d VID:PID'. 140 @param lsusb_output: output of command 'lsusb -d VID:PID' running on DUT. 168 connected to based on the output of command 'lsusb -t', its bus number and 183 @param lsusb_tree_output: The output of command 'lsusb -t' on DUT. 221 cmd = 'lsusb -d {}:{}'.format(vid, pid) 226 cmd = 'lsusb -t' 239 devices are connected to based on the output of command 'lsusb -d VID:PID' [all...] |
/external/autotest/server/site_tests/firmware_TypeCProbeUSB3/ |
firmware_TypeCProbeUSB3.py | 26 result = self.plankton_host.run_short('lsusb -t') 31 """Checks if the lsusb output contains 5000M.""" 70 # lack of UFP. Port number of lsusb may change since the device is
|
/external/autotest/client/site_tests/hardware_RealtekCardReader/ |
hardware_RealtekCardReader.py | 16 lsusb_output = utils.system_output("lsusb -t")
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
list_ports_linux.py | 24 raise IOError('lsusb failed') 30 raise IOError('lsusb failed') 84 desc = popen(['lsusb', '-v', '-s', '%s:%s' % (bus, dev)]) 100 For USB-Serial devices try to run lsusb to get a human readable description.
|
/external/libmtp/logs/ |
mtp-detect-yifang-tesla.txt | 7 lsusb -v:
|
mtp-detect-asus-me301t.txt | 8 lsusb -v
|
/tools/test/connectivity/tools/lab/metrics/ |
usb_metric.py | 108 """ Matches a device's id with its name according to lsusb. 116 result = self._shell.run('lsusb').stdout 179 name: The device's name according to lsusb.
|
/external/autotest/client/cros/ |
liststorage.py | 29 LSUSB_CMD = "lsusb -v | grep -iE '^Device Desc|bcdUSB|iSerial'" 81 # Getting the USB type and Serial number info using 'lsusb -v'. Sample 105 logging.debug('lsusb output is %s', usb_info_list) 106 # Comparing the lsusb serial number with udev output serial number
|