Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@odroid:/usr/src# usb-mitm -v 045e -p 02d5
- Loading plugins from /usr/local/lib/USBProxy/
- vendorId=045e
- productId=02d5
- cleaning up /tmp
- removing 1
- Made directory /tmp/gadget-pNcgiW for gadget
- Printing Config data
- Strings: 4
- DeviceProxy: DeviceProxy_LibUSB
- HostProxy: HostProxy_GadgetFS
- productId: 02d5
- vendorId: 045e
- Vectors: 0
- Pointer: 0
- Device: 12 01 00 02 00 00 00 40 5e 04 d5 02 10 01 01 02 03 01
- Manufacturer: Microsoft Corp.
- Product: Xbox USB Tuner
- Serial: 006660000000
- *Config(1): 09 02 2e 00 01 01 00 a0 fa
- Interface(0):
- *Alt(0): 09 04 00 00 04 ff 00 00 00
- EP(01): 07 05 01 02 00 02 01
- EP(81): 07 05 81 02 00 02 01
- EP(82): 07 05 82 02 00 02 01
- EP(83): 07 05 83 02 00 02 01
- HS Qualifier: 0a 06 00 02 00 00 00 40 01 00
- Config(1): 09 07 2e 00 01 01 00 a0 fa
- Interface(0):
- *Alt(0): 09 04 00 00 04 ff 00 00 00
- EP(01): 07 05 01 02 40 00 00
- EP(81): 07 05 81 02 40 00 00
- EP(82): 07 05 82 02 40 00 00
- EP(83): 07 05 83 02 40 00 00
- searching in [/tmp/gadget-pNcgiW]
- Starting setup reader thread (3843) for EP00.
- Starting setup writer thread (3844) for EP00.
- root@odroid:~# lsusb -v -d 045e:02d5
- Bus 001 Device 004: ID 045e:02d5 Microsoft Corp.
- Device Descriptor:
- bLength 18
- bDescriptorType 1
- bcdUSB 2.00
- bDeviceClass 0 (Defined at Interface level)
- bDeviceSubClass 0
- bDeviceProtocol 0
- bMaxPacketSize0 64
- idVendor 0x045e Microsoft Corp.
- idProduct 0x02d5
- bcdDevice 1.10
- iManufacturer 1 Microsoft Corp.
- iProduct 2 Xbox USB Tuner
- iSerial 3 006660000000
- bNumConfigurations 1
- Configuration Descriptor:
- bLength 9
- bDescriptorType 2
- wTotalLength 46
- bNumInterfaces 1
- bConfigurationValue 1
- iConfiguration 0
- bmAttributes 0xa0
- (Bus Powered)
- Remote Wakeup
- MaxPower 500mA
- Interface Descriptor:
- bLength 9
- bDescriptorType 4
- bInterfaceNumber 0
- bAlternateSetting 0
- bNumEndpoints 4
- bInterfaceClass 255 Vendor Specific Class
- bInterfaceSubClass 0
- bInterfaceProtocol 0
- iInterface 0
- Endpoint Descriptor:
- bLength 7
- bDescriptorType 5
- bEndpointAddress 0x01 EP 1 OUT
- bmAttributes 2
- Transfer Type Bulk
- Synch Type None
- Usage Type Data
- wMaxPacketSize 0x0200 1x 512 bytes
- bInterval 1
- Endpoint Descriptor:
- bLength 7
- bDescriptorType 5
- bEndpointAddress 0x81 EP 1 IN
- bmAttributes 2
- Transfer Type Bulk
- Synch Type None
- Usage Type Data
- wMaxPacketSize 0x0200 1x 512 bytes
- bInterval 1
- Endpoint Descriptor:
- bLength 7
- bDescriptorType 5
- bEndpointAddress 0x82 EP 2 IN
- bmAttributes 2
- Transfer Type Bulk
- Synch Type None
- Usage Type Data
- wMaxPacketSize 0x0200 1x 512 bytes
- bInterval 1
- Endpoint Descriptor:
- bLength 7
- bDescriptorType 5
- bEndpointAddress 0x83 EP 3 IN
- bmAttributes 2
- Transfer Type Bulk
- Synch Type None
- Usage Type Data
- wMaxPacketSize 0x0200 1x 512 bytes
- bInterval 1
- Device Qualifier (for other device speed):
- bLength 10
- bDescriptorType 6
- bcdUSB 2.00
- bDeviceClass 0 (Defined at Interface level)
- bDeviceSubClass 0
- bDeviceProtocol 0
- bMaxPacketSize0 64
- bNumConfigurations 1
- Device Status: 0x0000
- (Bus Powered)
- root@odroid:~# dmesg
- ...
- [ 454.066525@0] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
- [ 469.755301@1] ERROR::usb_gadget_probe_driver:1397: bind to driver nop --> error -120
- [ 469.755301@1]
- [ 469.778321@3] gadgetfs: bound to dwc_otg_pcd driver
- root@odroid:~# uname -a
- Linux odroid 3.10.72-78 #1 SMP PREEMPT Mon Mar 23 23:14:36 BRT 2015 armv7l armv7l armv7l GNU/Linux
- root@odroid:~# ls -alh /tmp/gadget-pNcgiW/
- total 0
- dr-xr-xr-x 1 root root 0 Mar 30 08:59 .
- drwxrwxrwt 6 root root 200 Mar 30 09:02 ..
- -rw------- 1 root root 0 Mar 30 08:59 dwc_otg_pcd
- -rw------- 1 root root 0 Mar 30 08:59 ep1in
- -rw------- 1 root root 0 Mar 30 08:59 ep1out
- -rw------- 1 root root 0 Mar 30 08:59 ep2in
- -rw------- 1 root root 0 Mar 30 08:59 ep2out
- -rw------- 1 root root 0 Mar 30 08:59 ep3in
- -rw------- 1 root root 0 Mar 30 08:59 ep3out
- -rw------- 1 root root 0 Mar 30 08:59 ep4in
- -rw------- 1 root root 0 Mar 30 08:59 ep4out
- -rw------- 1 root root 0 Mar 30 08:59 ep5in
- -rw------- 1 root root 0 Mar 30 08:59 ep5out
- -rw------- 1 root root 0 Mar 30 08:59 ep6out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement