262 pid, |
263 pid, |
263 )) |
264 )) |
264 supported = True |
265 supported = True |
265 if not supported: |
266 if not supported: |
266 if vid and pid: |
267 if vid and pid: |
267 if (vid, pid) not in IgnoredBoards: |
268 if ( |
|
269 (vid, pid) not in IgnoredBoards and |
|
270 (vid, None) not in IgnoredBoards |
|
271 ): |
268 unknownDevices.append((vid, pid, port.description())) |
272 unknownDevices.append((vid, pid, port.description())) |
269 logging.debug("Unknown device: (0x%04x:0x%04x %s)", |
273 logging.debug("Unknown device: (0x%04x:0x%04x %s)", |
270 vid, pid, port.description()) |
274 vid, pid, port.description()) |
271 else: |
275 else: |
272 # either VID or PID or both not detected |
276 # either VID or PID or both not detected |