From 5dd4b83f982e0430dbcc49a41dfbb9f609a94267 Mon Sep 17 00:00:00 2001 From: andber1 <82754113+andber1@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:08:04 +0100 Subject: [PATCH] Also list PCI devices as USB devices that do not have a short serial --- src/posix/enumerate.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/posix/enumerate.rs b/src/posix/enumerate.rs index 209e7cd0..39c87052 100644 --- a/src/posix/enumerate.rs +++ b/src/posix/enumerate.rs @@ -142,7 +142,6 @@ fn port_type(d: &libudev::Device) -> Result { d.property_value("ID_USB_MODEL_ID"), d.property_value("ID_USB_VENDOR"), d.property_value("ID_USB_MODEL"), - d.property_value("ID_USB_SERIAL_SHORT"), ] .into_iter() .collect::>>();