502 if (vid, pid) not in IgnoredBoards and ( |
502 if (vid, pid) not in IgnoredBoards and ( |
503 vid, |
503 vid, |
504 None, |
504 None, |
505 ) not in IgnoredBoards: |
505 ) not in IgnoredBoards: |
506 unknownDevices.append((vid, pid, port.description())) |
506 unknownDevices.append((vid, pid, port.description())) |
507 logging.debug( |
507 logging.getLogger(__name__).debug( |
508 "Unknown device: (0x%04x:0x%04x %s)", |
508 "Unknown device: (0x%04x:0x%04x %s)", |
509 vid, |
509 vid, |
510 pid, |
510 pid, |
511 port.description(), |
511 port.description(), |
512 ) |
512 ) |