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?