linux / libusb get usb device path
I use libusb to enumerate over a few usb-devices. Now i like to get the "device-path". I think it's not called usb device-path, because i was not successful with google. If i connect a usb-device with linux, i get a message in dmesg , here are a few examples for such a "device-path" with an usb temperature sensor (something like this ): Directly to a usb port: [68448.099682] generic-usb 0003:0C45:7401.0056: input,hidraw1: USB HID v1.10 Keyboard [RDing TEMPer1V1.2] on usb-0000:00:12.0-1/input0 => 12.0-1 Directly to another port: [68560.853108] generic-usb 0003:0C45:7401.0058: input,hidraw1: USB