Skip to content

Instantly share code, notes, and snippets.

@ensonic
Created June 10, 2019 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ensonic/7820a102e91f31575be355da2b6b33bc to your computer and use it in GitHub Desktop.
Save ensonic/7820a102e91f31575be355da2b6b33bc to your computer and use it in GitHub Desktop.
$ lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 004: ID 0944:0115 KORG, Inc.
Bus 007 Device 002: ID 0461:4d51 Primax Electronics, Ltd 0Y357C PMX-MMOCZUL (B) [Dell Laser Mouse]
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 1235:800c Focusrite-Novation Scarlett 18i20
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 03f0:034a HP, Inc Elite Keyboard
Bus 006 Device 003: ID 086a:0001 Emagic Soft- und Hardware GmbH Unitor8
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ midi -l
Dir Device Name
IO hw:2,0 MIDI-1 Hoontech/STA DSP24 2
IO hw:2,1 MIDI-2 Hoontech/STA DSP24 2
IO hw:3,0,0 nanoKEY2 MIDI 1
IO hw:4,0,0 USB Device 0x86a:0x01 MIDI 1
IO hw:4,0,1 USB Device 0x86a:0x01 MIDI 2
IO hw:4,0,2 USB Device 0x86a:0x01 MIDI 3
IO hw:4,0,3 USB Device 0x86a:0x01 MIDI 4
IO hw:4,0,4 USB Device 0x86a:0x01 MIDI 5
IO hw:4,0,5 USB Device 0x86a:0x01 MIDI 6
IO hw:4,0,6 USB Device 0x86a:0x01 MIDI 7
IO hw:4,0,7 USB Device 0x86a:0x01 MIDI 8
IO hw:4,0,8 USB Device 0x86a:0x01 Broadcast
IO hw:5,0,0 Scarlett 18i20 USB MIDI 1
$lsusb -d086a:0001 -v
Bus 006 Device 003: ID 086a:0001 Emagic Soft- und Hardware GmbH Unitor8
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 255
bMaxPacketSize0 8
idVendor 0x086a Emagic Soft- und Hardware GmbH
idProduct 0x0001 Unitor8
bcdDevice 0.01
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0049
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
(Missing must-be-set bit!)
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 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 0x0020 1x 32 bytes
bInterval 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment