Skip to content

Commit

Permalink
Add raspberry pi pico device filter
Browse files Browse the repository at this point in the history
  • Loading branch information
sh123 committed Feb 20, 2024
1 parent cdb787d commit f6bfff1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ private UsbSerialProber getCustomProber() {
customTable.addProduct(0x0403, 0x6011, FtdiSerialDriver.class);
customTable.addProduct(0x0403, 0x6014, FtdiSerialDriver.class);
customTable.addProduct(0x0403, 0x6015, FtdiSerialDriver.class);
// Raspberry PI Pico
customTable.addProduct(0x2e8a, 0x0004, CdcAcmSerialDriver.class);
customTable.addProduct(0x2e8a, 0x0005, CdcAcmSerialDriver.class);
customTable.addProduct(0x2e8a, 0x000a, CdcAcmSerialDriver.class);
customTable.addProduct(0x2e8a, 0x000b, CdcAcmSerialDriver.class);
customTable.addProduct(0x2e8a, 0x000c, CdcAcmSerialDriver.class);
customTable.addProduct(0x2e8a, 0x000d, CdcAcmSerialDriver.class);
customTable.addProduct(0x2e8a, 0x000e, CdcAcmSerialDriver.class);
return new UsbSerialProber(customTable);
}

Expand Down
2 changes: 2 additions & 0 deletions codec2talkie/src/main/res/xml/device_filter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@
<usb-device vendor-id="1155" product-id="22322" /> <!-- 0x0483 / 0x5732: STM, MCHF -->
<usb-device vendor-id="4292" product-id="60000" /> <!-- 0x10c4 / 0xea60: CP2102/2109, iCom -->

<!-- Raspberry PI -->
<usb-device vendor-id="11914" /> <!-- 0x2E8A / ......: Raspberry -->
</resources>

0 comments on commit f6bfff1

Please sign in to comment.