--- a/drivers/usb/xhcid/src/xhci/mod.rs +++ b/drivers/usb/xhcid/src/xhci/mod.rs @@ -1102,7 +1102,9 @@ } match self.spawn_drivers(port_id) { - Ok(()) => (), + Ok(()) => { + info!("xhcid: uevent add device usb/{}", port_id.root_hub_port_num()); + } Err(err) => { error!("Failed to spawn driver for port {}: `{}`", port_id, err) } @@ -1189,6 +1191,7 @@ Ok(()) => { let _ = self.port_states.remove(&port_id); debug!("disabled port slot {} for port {}", slot, port_id); + info!("xhcid: uevent remove device usb/{}", port_id.root_hub_port_num()); Ok(true) } Err(err) => {