Difference between revisions of "Openbench Logic Sniffer/Info"

From sigrok
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  '''$ lsusb -vvv -d 04d8:000a'''
== lsusb ==
  Bus 001 Device 069: ID 04d8:000a Microchip Technology, Inc.  
 
<small>
  $ '''lsusb -v -d 04d8:000a'''
  Bus 001 Device 069: ID '''04d8:000a Microchip Technology, Inc.'''
  Device Descriptor:
  Device Descriptor:
   bLength                18
   bLength                18
   bDescriptorType        1
   bDescriptorType        1
   bcdUSB              2.00
   bcdUSB              2.00
   bDeviceClass            2 Communications
   bDeviceClass            2 '''Communications'''
   bDeviceSubClass        0  
   bDeviceSubClass        0  
   bDeviceProtocol        0  
   bDeviceProtocol        0  
   bMaxPacketSize0        8
   bMaxPacketSize0        8
   idVendor          0x04d8 Microchip Technology, Inc.
   idVendor          0x04d8 '''Microchip Technology, Inc.'''
   idProduct          0x000a  
   idProduct          0x000a  
   bcdDevice            1.00
   bcdDevice            1.00
   iManufacturer          1 Microchip Technology Inc.
   iManufacturer          1 '''Microchip Technology Inc.'''
   iProduct                2 CDC RS-232 Emulation Demo
   iProduct                2 '''CDC RS-232 Emulation Demo'''
   iSerial                0  
   iSerial                0  
   bNumConfigurations      1
   bNumConfigurations      1
Line 32: Line 35:
       bAlternateSetting      0
       bAlternateSetting      0
       bNumEndpoints          1
       bNumEndpoints          1
       bInterfaceClass        2 Communications
       bInterfaceClass        2 '''Communications'''
       bInterfaceSubClass      2 Abstract (modem)
       bInterfaceSubClass      2 '''Abstract (modem)'''
       bInterfaceProtocol      1 AT-commands (v.25ter)
       bInterfaceProtocol      1 '''AT-commands (v.25ter)'''
       iInterface              0  
       iInterface              0  
       CDC Header:
       CDC Header:
Line 63: Line 66:
       bAlternateSetting      0
       bAlternateSetting      0
       bNumEndpoints          2
       bNumEndpoints          2
       bInterfaceClass        10 CDC Data
       bInterfaceClass        10 '''CDC Data'''
       bInterfaceSubClass      0 Unused
       bInterfaceSubClass      0 Unused
       bInterfaceProtocol      0  
       bInterfaceProtocol      0  
Line 89: Line 92:
  Device Status:    0x0001
  Device Status:    0x0001
   Self Powered
   Self Powered
</small>
== Metadata ==
This is the device metadata as reported by the [[libsigrok]] driver:
<small>
sr: ols: Got metadata key 0x01 value 'Open Logic Sniffer v1.01'.
sr: ols: Got metadata key 0x02 value '3.07'.
sr: ols: Got metadata key 0x21 value 0x00006000.
sr: ols: Got metadata key 0x23 value 0x0bebc200.
sr: ols: Got metadata key 0x40 value 0x20.
sr: ols: Got metadata key 0x41 value 0x02.
</small>

Latest revision as of 12:20, 27 December 2019

lsusb

$ lsusb -v -d 04d8:000a
Bus 001 Device 069: ID 04d8:000a Microchip Technology, Inc.
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            2 Communications
 bDeviceSubClass         0 
 bDeviceProtocol         0 
 bMaxPacketSize0         8
 idVendor           0x04d8 Microchip Technology, Inc.
 idProduct          0x000a 
 bcdDevice            1.00
 iManufacturer           1 Microchip Technology Inc.
 iProduct                2 CDC RS-232 Emulation Demo
 iSerial                 0 
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           67
   bNumInterfaces          2
   bConfigurationValue     1
   iConfiguration          0 
   bmAttributes         0xc0
     Self Powered
   MaxPower              100mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         2 Communications
     bInterfaceSubClass      2 Abstract (modem)
     bInterfaceProtocol      1 AT-commands (v.25ter)
     iInterface              0 
     CDC Header:
       bcdCDC               1.10
     CDC ACM:
       bmCapabilities       0x02
         line coding and serial state
     CDC Union:
       bMasterInterface        0
       bSlaveInterface         1 
     CDC Call Management:
       bmCapabilities       0x00
       bDataInterface          1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0008  1x 8 bytes
       bInterval               2
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       0
     bNumEndpoints           2
     bInterfaceClass        10 CDC Data
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0 
     iInterface              0 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x03  EP 3 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval               0
Device Status:     0x0001
 Self Powered

Metadata

This is the device metadata as reported by the libsigrok driver:

sr: ols: Got metadata key 0x01 value 'Open Logic Sniffer v1.01'.
sr: ols: Got metadata key 0x02 value '3.07'.
sr: ols: Got metadata key 0x21 value 0x00006000.
sr: ols: Got metadata key 0x23 value 0x0bebc200.
sr: ols: Got metadata key 0x40 value 0x20.
sr: ols: Got metadata key 0x41 value 0x02.