Skip to content

Commit be8f3a2

Browse files
authored
Merge pull request #1895 from gsalvatella/update-imx-udev-ids
resource/udev: update imxusbloader ids
2 parents d3c08b1 + 62d6c8f commit be8f3a2

1 file changed

Lines changed: 20 additions & 9 deletions

File tree

labgrid/resource/udev.py

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -273,17 +273,28 @@ class IMXUSBLoader(USBResource):
273273
def filter_match(self, device):
274274
match = (device.properties.get('ID_VENDOR_ID'), device.properties.get('ID_MODEL_ID'))
275275

276-
if match not in [("15a2", "0054"), ("15a2", "0061"),
276+
if match not in [# Extracted from `uuu -udev` command (v. 1.5.239)
277+
("0483", "0afb"), ("0525", "a4a5"),
278+
("0525", "b4a4"), ("066f", "9afe"),
279+
("066f", "9bff"), ("15a2", "003a"),
280+
("15a2", "0054"), ("15a2", "0061"),
277281
("15a2", "0063"), ("15a2", "0071"),
278-
("15a2", "007d"), ("15a2", "0076"),
279-
("15a2", "0080"), ("15a2", "003a"),
280-
("1fc9", "0128"), ("1fc9", "0126"),
281-
("1fc9", "012b"), ("1fc9", "0134"),
282+
("15a2", "0076"), ("15a2", "007d"),
283+
("15a2", "0080"), ("18d1", "0d02"),
284+
("1fc9", "0027"), ("1fc9", "0126"),
285+
("1fc9", "0128"), ("1fc9", "0129"),
286+
("1fc9", "012b"), ("1fc9", "012f"),
287+
("1fc9", "0134"), ("1fc9", "0135"),
282288
("1fc9", "013e"), ("1fc9", "0146"),
283-
("1fc9", "014e"), ("1fc9", "0129"),
284-
("1fc9", "0159"), ("1fc9", "015d"),
285-
("1b67", "4fff"), ("0525", "b4a4"), # SPL
286-
("3016", "1001"),
289+
("1fc9", "0147"), ("1fc9", "014a"),
290+
("1fc9", "014b"), ("1fc9", "014e"),
291+
("1fc9", "0151"), ("1fc9", "0152"),
292+
("1fc9", "0153"), ("1fc9", "0159"),
293+
("1fc9", "015c"), ("1fc9", "015d"),
294+
("3016", "0001"), ("3016", "1001"),
295+
296+
# Existing in previous code and not found above
297+
("15a2", "004f"), ("1b67", "4fff"), # SPL
287298
]:
288299
return False
289300

0 commit comments

Comments
 (0)