Skip to content

Commit 2faccd2

Browse files
committed
RKUSBLoader: add all known USB Product ID
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 <[email protected]>
1 parent 4398da7 commit 2faccd2

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

labgrid/resource/udev.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,24 @@ class RKUSBLoader(USBResource):
301301
def filter_match(self, device):
302302
match = (device.properties.get('ID_VENDOR_ID'), device.properties.get('ID_MODEL_ID'))
303303

304-
if match not in [("2207", "110a")]:
304+
if match not in [("2207", "110a"), # RV1108
305+
("2207", "110b"), # RV1126
306+
("2207", "300a"), # RK3066
307+
("2207", "301a"), # RK3036
308+
("2207", "310b"), # RK3188
309+
("2207", "310c"), # RK3128
310+
("2207", "320a"), # RK3288
311+
("2207", "320b"), # RK322X
312+
("2207", "320c"), # RK3328
313+
("2207", "330a"), # RK3368
314+
("2207", "330c"), # RK3399
315+
("2207", "330d"), # PX30
316+
("2207", "330e"), # RK3308
317+
("2207", "350a"), # RK3568
318+
("2207", "350b"), # RK3588
319+
("2207", "350c"), # RK3528
320+
("2207", "350e"), # RK3576
321+
]:
305322
return False
306323

307324
return super().filter_match(device)

0 commit comments

Comments
 (0)