8000 Does `--lsusb` record USB device ordinance? · kellyjonbrazil jc · Discussion #666 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Device hierarchy is not maintained by jc but maybe there are some linking fields that can be used to reconstruct hierarchy? Or maybe -t can be used to find linkages in another process and the jc output can be post-processed from there? The JSON output follows the indentation within the lsusb output. Here is an example:

[
  {
    "bus": "001",
    "device": "003",
    "id": "2c7c:0125",
    "description": "Quectel Wireless Solutions Co., Ltd. EC25 LTE modem",
    "device_descriptor": {
      "bLength": {
        "value": "18"
      },
      "bDescriptorType": {
        "value": "1"
      },
      "bcdUSB": {
        "value": "2.00"
      },
      "bDeviceClass": {
        "value": "239",
 …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RokeJulianLockhart
Comment options

@kellyjonbrazil
Comment options

Answer selected by RokeJulianLockhart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0