Skip to content

Get information about the USB port used by a device #153

Description

@Vedrillan

I could not find a way to know on which USB port is a plugged in HID device.

When looking at dmesg logs on linux, the message will be as follow when I plug in a device:

hid-generic 0003:2C97:0015.0039: hiddev9,hidraw10: USB HID v1.11 Device [Something] on usb-0000:00:1d.0-1.2/input0

The usb-0000:00:1d.0-1.2 part seems to identify the exact USB port used by the device, would it be possible to get this kind of information from hidapi?

Metadata

Metadata

Assignees

No one assigned

    Labels

    hidrawRelated to Linux/hidraw backendquestionInformation is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions