Hardware connector

USB devices

usb:// answers 'what is physically connected to this machine?' as a first-class URI instead of ad-hoc lsusb parsing. usb://host/devices/query/list returns every device with a friendly category, roles, vendor/product ids and the device nodes it exposes. usb://host/devices/query/find searches by name, vendor:product or category. usb://host/cameras/query/list returns only USB cameras with their /dev/video* capture nodes — the discovery layer the camera connector builds on. usb://host/input/query/list returns keyboards, mice and other HID gear with their /dev/input nodes. usb://host/devices/query/probe reports host support. Built on Linux sysfs (/sys/bus/usb/devices) and /sys/class/* node mapping; lsusb is used only to fill in nicer vendor/product names.

dostępny ✓ zweryfikowany

Co robi

  • List every USB device with a friendly category.
  • Find USB cameras and their /dev/video* nodes.
  • Enumerate keyboards and mice with their /dev/input nodes.

Schematy URI

usb://

Wymagania

  • Array
  • Array
  • Array