Skip to content

Commit 25fc0f3

Browse files
committed
resource: udev: match more USB VIDs/PIDs for Rockchip BootROM mode
The match list doesn't yet support the RK3399pro (2207:330c). Add it along with the rest of the VID/PIDs listed in rkdeveloptool's udev rule[1]. [1]: https://github.com/rockchip-linux/rkdeveloptool/blob/master/99-rk-rockusb.rules Signed-off-by: Ahmad Fatoum <[email protected]>
1 parent c2e1188 commit 25fc0f3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

labgrid/resource/udev.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,11 @@ 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"), ("2207", "301a"),
305+
("2207", "310c"), ("2207", "320b"),
306+
("2207", "320a"), ("2207", "320c"),
307+
("2207", "330a"), ("2207", "330c")
308+
]:
305309
return False
306310

307311
return super().filter_match(device)

0 commit comments

Comments
 (0)