From 2faccd2ca26f9c17d4a13fcab037739be8056b34 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Tue, 22 Jul 2025 11:39:38 +0200 Subject: [PATCH] RKUSBLoader: add all known USB Product ID MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The list was stolen from U-Boot[1] and RK3576's was given to me by Rockchip's maintainer Heiko Stübner as I don't own an RK3576 board. [1] https://github.com/u-boot/u-boot/blob/v2025.07/drivers/usb/gadget/Kconfig#L73-L88 Signed-off-by: Quentin Schulz --- labgrid/resource/udev.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/labgrid/resource/udev.py b/labgrid/resource/udev.py index 534e88e4f..39681c071 100644 --- a/labgrid/resource/udev.py +++ b/labgrid/resource/udev.py @@ -301,7 +301,24 @@ class RKUSBLoader(USBResource): def filter_match(self, device): match = (device.properties.get('ID_VENDOR_ID'), device.properties.get('ID_MODEL_ID')) - if match not in [("2207", "110a")]: + if match not in [("2207", "110a"), # RV1108 + ("2207", "110b"), # RV1126 + ("2207", "300a"), # RK3066 + ("2207", "301a"), # RK3036 + ("2207", "310b"), # RK3188 + ("2207", "310c"), # RK3128 + ("2207", "320a"), # RK3288 + ("2207", "320b"), # RK322X + ("2207", "320c"), # RK3328 + ("2207", "330a"), # RK3368 + ("2207", "330c"), # RK3399 + ("2207", "330d"), # PX30 + ("2207", "330e"), # RK3308 + ("2207", "350a"), # RK3568 + ("2207", "350b"), # RK3588 + ("2207", "350c"), # RK3528 + ("2207", "350e"), # RK3576 + ]: return False return super().filter_match(device)