Searched refs:dev_desc (Results 1 – 1 of 1) sorted by relevance
/external/libusb/examples/ |
D | xusb.c | 806 struct libusb_device_descriptor dev_desc; in test_device() local 840 CALL_CHECK(libusb_get_device_descriptor(dev, &dev_desc)); in test_device() 841 printf(" length: %d\n", dev_desc.bLength); in test_device() 842 printf(" device class: %d\n", dev_desc.bDeviceClass); in test_device() 843 printf(" S/N: %d\n", dev_desc.iSerialNumber); in test_device() 844 printf(" VID:PID: %04X:%04X\n", dev_desc.idVendor, dev_desc.idProduct); in test_device() 845 printf(" bcdDevice: %04X\n", dev_desc.bcdDevice); in test_device() 846 …printf(" iMan:iProd:iSer: %d:%d:%d\n", dev_desc.iManufacturer, dev_desc.iProduct, dev_desc.iSeri… in test_device() 847 printf(" nb confs: %d\n", dev_desc.bNumConfigurations); in test_device() 849 string_index[0] = dev_desc.iManufacturer; in test_device() [all …]
|