Skip to content

ControlID printer not working #50

Description

@ssdurante

ControlID not working with WebUSB

Error:

"error": {
  "stack": "Error: Failed to execute 'claimInterface' on 'USBDevice': Unable to claim interface."
},

Printer information:

"device": {
  "configuration": {
    "configurationName": null,
    "configurationValue": 1,
    "interfaces": [
      {
        "alternate": {
          "endpoints": [
            {
              "direction": "in",
              "endpointNumber": 1,
              "packetSize": 512,
              "type": "bulk"
            },
            {
              "direction": "out",
              "endpointNumber": 1,
              "packetSize": 512,
              "type": "bulk"
            }
          ]
        },
        "claimed": false,
        "interfaceNumber": 0
      },
      {
        "alternate": {
          "endpoints": [
            {
              "direction": "in",
              "endpointNumber": 3,
              "packetSize": 10,
              "type": "interrupt"
            }
          ]
        },
        "claimed": false,
        "interfaceNumber": 1
      },
      {
        "alternate": {
          "endpoints": [
            {
              "direction": "in",
              "endpointNumber": 2,
              "packetSize": 512,
              "type": "bulk"
            },
            {
              "direction": "out",
              "endpointNumber": 2,
              "packetSize": 512,
              "type": "bulk"
            }
          ]
        },
        "claimed": false,
        "interfaceNumber": 2
      }
    ]
  },
  "manufacturerName": "ControliD",
  "productName": "Print iD - Impressora Térmica não Fiscal",
  "vendorId": 12342,
  "serialNumber": "120100/0085B9"
},

Printer image:

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions