Skip to content

Instantly share code, notes, and snippets.

@tmk
Created July 17, 2021 14:09
Show Gist options
  • Save tmk/904775279178c073f25bb49d718dce6c to your computer and use it in GitHub Desktop.
Save tmk/904775279178c073f25bb49d718dce6c to your computer and use it in GitHub Desktop.
0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0
0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 / Astone USB Drive / Intellegent Stick 2.0
Bus 005 Device 005: ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 / Astone USB Drive / Intellegent Stick 2.0
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0ea0 Ours Technology, Inc.
idProduct 0x2168 Transcend JetFlash 2.0 / Astone USB Drive / Intellegent Stick 2.0
bcdDevice 2.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
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 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 1
////////////////////////////////////////////////////////////////////////////////
// USB_desc_dump
// Address: 01
// Lowspeed: 00
// Devicer dump:
12 01 00 02 00 00 00 40 A0 0E 68 21 00 02 01 02
03 01
// Device:
bLength: 12
bDescriptorType: 01
bcdUSB: 0200
bDeviceClass: 00
bDeviceSubClass: 00
bDeviceProtocol: 00
bMaxPacketSize0: 40
idVendor: 0EA0
idProduct: 2168
bcdDevice: 0200
iManufacturer: 01
iProduct: 02
iSerialNumber: 03
bNumConfigurations: 01
// String Zero: len: 04
// 04 03 09 04
// LangId: 0409
// iManufacturer: String1(0409): len: 12
// 12 03 55 00 53 00 42 00 20 00 20 00 20 00 20 00
// 20 00
// USB
// iProduct: String2(0409): len: 22
// 22 03 46 00 6C 00 61 00 73 00 68 00 20 00 44 00
// 69 00 73 00 6B 00 20 00 20 00 20 00 20 00 20 00
// 20 00
// Flash Disk
// iSerialNumber: String3(0409): len: 22
// 22 03 35 00 36 00 37 00 43 00 35 00 31 00 42 00
// 33 00 33 00 46 00 36 00 38 00 30 00 44 00 41 00
// 41 00
// 567C51B33F680DAA
// Config0 dump: len: 0027
09 02 27 00 01 01 00 80 32 09 04 00 00 03 08 06
50 00 07 05 81 02 40 00 00 07 05 02 02 40 00 00
07 05 83 03 02 00 01
// Config0:
bLength: 09
bDescriptorType: 02
wTotalLength: 0027
bNumInterfaces: 01
bConfigurationValue: 01
iConfiguration: 00
bmAttributes: 80
bMaxPower: 32
// Interface0.0:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 00
bAlternateSetting: 00
bNumEndpoints: 03
bInterfaceClass: 08
bInterfaceSubClass: 06
bInterfaceProtocol: 50
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 81
bmAttributes: 02
wMaxPacketSize: 0040
bInterval: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 02
bmAttributes: 02
wMaxPacketSize: 0040
bInterval: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 83
bmAttributes: 03
wMaxPacketSize: 0002
bInterval: 01
// Parse data here: http://eleccelerator.com/usbdescreqparser/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment