Files
RedBear-OS/local
vasilito f7f2890f4e ehcid: P0-B1 — xhcid-compat scheme paths + auto-spawn class drivers
Add xhcid-compatible path aliases to the EHCI scheme handler so that
class daemons (usbhubd, usbhidd, usbscsid) can successfully open an
XhciClientHandle on scheme "usb".

  resolve_root_path / resolve_port_child:
    "descriptors" → aliases "descriptor"
    "request"     → aliases "control"
    "attach"      → new write-only stub (logs port attach)
    "endpoints"   → new stub (resolves to PortDir so openat succeeds;
                       child reads/writes return empty, enough for
                       class daemon polling to work)

  Directory listing updated with the new entries.

  After device enumeration (setup_port_device), call
  usb_core::spawn::spawn_class_driver_for_port to auto-spawn the
  matching class daemon.  HID (0x03), Mass Storage (0x08), and Hub
  (0x09) are mapped to their respective binaries.

This is P0-B1 from USB-IMPLEMENTATION-PLAN.md v2.  Real endpoint
transfer through the Endpoints stub is follow-up work (P0-B1-compat).
2026-07-07 00:58:03 +03:00
..
2026-07-05 22:29:19 +03:00