fb9b158e66
Cross-referenced with Linux 7.1 drivers/usb/core/hub.c: - hub_port_connect_change(): over-current detection + power-cycling - hub_power_on(): power-on settle delay - hub_port_reset(): reset sequencing - port_event(): indicator LED toggling usbhubd main loop: - All 4 .expect() calls in runtime loop → graceful error handling (GetPortStatus, SetPortPower, SetPortReset — now log warn + continue) - ensure_attached(): attach/detach .expect() → match with warn log - Port index bounds: .unwrap() → match with None fallback - 0 panic sites remaining in runtime loop New features: - Over-current detection: C_PORT_OVERCURRENT → log warn, clear flag, power-cycle port (disconnect→power_off→delay→re-enumerate per Linux) - Port indicator: SET_FEATURE(PORT_INDICATOR) on enabled+connected ports for visual port status feedback usb/hub.rs: - HubPortFeature enum extended: PortEnable, PortSuspend, PortLowSpeed, CPortEnable, CPortSuspend, PortIndicator (matches Linux 7.1 ch11.h) - HubPortStatus::is_over_current_changed() method added