hidraw.list

hidraw

list(root) -> nodes

List the hidraw nodes and their devices

Reads each node's uevent under root, /sys/class/hidraw by default, and opens nothing. So a node this process may not open is still listed, with the device it belongs to. Nodes come in number order. A node whose uevent does not read or carries no HID_ID is left out.

fielddescription
paththe node, /dev/hidrawN
bustypethe bus, 3 for USB and 5 for Bluetooth
vendorthe vendor id
productthe product id
interfacethe USB interface number; nil off USB
namethe device's name
physthe device's physical path
uniqthe serial number, empty when the device has none