Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save numericillustration/e9dca1332cb7bcafc2db040967ac99ab to your computer and use it in GitHub Desktop.
Save numericillustration/e9dca1332cb7bcafc2db040967ac99ab to your computer and use it in GitHub Desktop.
mdb -k ::prtusb -v output from a non-xhci system with a USB keyboard
[root@Fornost01 (Lakeside) ~]# mdb -k
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc pcplusmp scsi_vhci ufs ip hook neti sockfs arp usba mm stmf_sbd stmf zfs sd lofs idm sata crypto random cpc logindmux ptm kvm sppp nsmb smbsrv nfs ]
> ::prtusb -v
INDEX DRIVER INST NODE VID.PID PRODUCT
1 ehci 0 pci1849,1c2d 0000.0000 No Product String
Device Descriptor
{
bLength = 0x12
bDescriptorType = 0x1
bcdUSB = 0x200
bDeviceClass = 0x9
bDeviceSubClass = 0
bDeviceProtocol = 0x1
bMaxPacketSize0 = 0x40
idVendor = 0
idProduct = 0
bcdDevice = 0
iManufacturer = 0
iProduct = 0
iSerialNumber = 0
bNumConfigurations = 0x1
}
-- Active Config Index 0
Configuration Descriptor
{
bLength = 0x9
bDescriptorType = 0x2
wTotalLength = 0x19
bNumInterfaces = 0x1
bConfigurationValue = 0x1
iConfiguration = 0x0
bmAttributes = 0x40
bMaxPower = 0x0
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x0
bAlternateSetting = 0x0
bNumEndpoints = 0x1
bInterfaceClass = 0x9
bInterfaceSubClass = 0x1
bInterfaceProtocol = 0x0
iInterface = 0x0
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x81
bmAttributes = 0x3
wMaxPacketSize = 0x1
bInterval = 0xff
}
2 ehci 1 pci1849,1c26 0000.0000 No Product String
Device Descriptor
{
bLength = 0x12
bDescriptorType = 0x1
bcdUSB = 0x200
bDeviceClass = 0x9
bDeviceSubClass = 0
bDeviceProtocol = 0x1
bMaxPacketSize0 = 0x40
idVendor = 0
idProduct = 0
bcdDevice = 0
iManufacturer = 0
iProduct = 0
iSerialNumber = 0
bNumConfigurations = 0x1
}
-- Active Config Index 0
Configuration Descriptor
{
bLength = 0x9
bDescriptorType = 0x2
wTotalLength = 0x19
bNumInterfaces = 0x1
bConfigurationValue = 0x1
iConfiguration = 0x0
bmAttributes = 0x40
bMaxPower = 0x0
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x0
bAlternateSetting = 0x0
bNumEndpoints = 0x1
bInterfaceClass = 0x9
bInterfaceSubClass = 0x1
bInterfaceProtocol = 0x0
iInterface = 0x0
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x81
bmAttributes = 0x3
wMaxPacketSize = 0x1
bInterval = 0xff
}
3 hubd 0 hub 8087.0024 No Product String
Device Descriptor
{
bLength = 0x12
bDescriptorType = 0x1
bcdUSB = 0x200
bDeviceClass = 0x9
bDeviceSubClass = 0
bDeviceProtocol = 0x1
bMaxPacketSize0 = 0x40
idVendor = 0x8087
idProduct = 0x24
bcdDevice = 0
iManufacturer = 0
iProduct = 0
iSerialNumber = 0
bNumConfigurations = 0x1
}
-- Active Config Index 0
Configuration Descriptor
{
bLength = 0x9
bDescriptorType = 0x2
wTotalLength = 0x19
bNumInterfaces = 0x1
bConfigurationValue = 0x1
iConfiguration = 0x0
bmAttributes = 0xe0
bMaxPower = 0x0
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x0
bAlternateSetting = 0x0
bNumEndpoints = 0x1
bInterfaceClass = 0x9
bInterfaceSubClass = 0x0
bInterfaceProtocol = 0x0
iInterface = 0x0
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x81
bmAttributes = 0x3
wMaxPacketSize = 0x1
bInterval = 0xc
}
4 hubd 1 hub 8087.0024 No Product String
Device Descriptor
{
bLength = 0x12
bDescriptorType = 0x1
bcdUSB = 0x200
bDeviceClass = 0x9
bDeviceSubClass = 0
bDeviceProtocol = 0x1
bMaxPacketSize0 = 0x40
idVendor = 0x8087
idProduct = 0x24
bcdDevice = 0
iManufacturer = 0
iProduct = 0
iSerialNumber = 0
bNumConfigurations = 0x1
}
-- Active Config Index 0
Configuration Descriptor
{
bLength = 0x9
bDescriptorType = 0x2
wTotalLength = 0x19
bNumInterfaces = 0x1
bConfigurationValue = 0x1
iConfiguration = 0x0
bmAttributes = 0xe0
bMaxPower = 0x0
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x0
bAlternateSetting = 0x0
bNumEndpoints = 0x1
bInterfaceClass = 0x9
bInterfaceSubClass = 0x0
bInterfaceProtocol = 0x0
iInterface = 0x0
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x81
bmAttributes = 0x3
wMaxPacketSize = 0x2
bInterval = 0xc
}
5 scsa2usb 0 storage 0781.5571 Cruzer Fit
Device Descriptor
{
bLength = 0x12
bDescriptorType = 0x1
bcdUSB = 0x200
bDeviceClass = 0
bDeviceSubClass = 0
bDeviceProtocol = 0
bMaxPacketSize0 = 0x40
idVendor = 0x781
idProduct = 0x5571
bcdDevice = 0x127
iManufacturer = 0x1
iProduct = 0x2
iSerialNumber = 0x3
bNumConfigurations = 0x1
}
-- Active Config Index 0
Configuration Descriptor
{
bLength = 0x9
bDescriptorType = 0x2
wTotalLength = 0x20
bNumInterfaces = 0x1
bConfigurationValue = 0x1
iConfiguration = 0x0
bmAttributes = 0x80
bMaxPower = 0x64
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x0
bAlternateSetting = 0x0
bNumEndpoints = 0x2
bInterfaceClass = 0x8
bInterfaceSubClass = 0x6
bInterfaceProtocol = 0x50
iInterface = 0x0
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x81
bmAttributes = 0x2
wMaxPacketSize = 0x200
bInterval = 0x0
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x2
bmAttributes = 0x2
wMaxPacketSize = 0x200
bInterval = 0x1
}
6 hid 0 keyboard 413c.2005 DELL USB Keyboard
Device Descriptor
{
bLength = 0x12
bDescriptorType = 0x1
bcdUSB = 0x110
bDeviceClass = 0
bDeviceSubClass = 0
bDeviceProtocol = 0
bMaxPacketSize0 = 0x8
idVendor = 0x413c
idProduct = 0x2005
bcdDevice = 0x104
iManufacturer = 0x1
iProduct = 0x2
iSerialNumber = 0
bNumConfigurations = 0x1
}
-- Active Config Index 0
Configuration Descriptor
{
bLength = 0x9
bDescriptorType = 0x2
wTotalLength = 0x22
bNumInterfaces = 0x1
bConfigurationValue = 0x1
iConfiguration = 0x0
bmAttributes = 0xa0
bMaxPower = 0x32
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x0
bAlternateSetting = 0x0
bNumEndpoints = 0x1
bInterfaceClass = 0x3
bInterfaceSubClass = 0x1
bInterfaceProtocol = 0x1
iInterface = 0x0
}
HID Descriptor
{
bLength = 0x9
bDescriptorType = 0x21
bcdHID = 0x110
bCountryCode = 0x0
bNumDescriptors = 0x1
bReportDescriptorType = 0x22
wReportDescriptorLength = 0x41
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x81
bmAttributes = 0x3
wMaxPacketSize = 0x8
bInterval = 0xa
}
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment