[usb_host] Allow filtering USB devices by manufacturer and product

This commit is contained in:
puddly
2026-09-09 21:26:36 +00:00
parent 8aae67b7b2
commit 7d85efb641
5 changed files with 82 additions and 1 deletions
@@ -4,3 +4,8 @@ usb_host:
- id: device_1
vid: 0x1234
pid: 0x1234
- id: device_2
vid: 0x1234
pid: 0x5678
manufacturer: Example Corp
product: Example Widget
+17
View File
@@ -65,3 +65,20 @@ usb_uart:
stop_bits: 2
data_bits: 7
parity: even
# A ZBT-2 and a ZWA-2 both enumerate as 303A:4001, so only iProduct separates them
- id: uart_9
type: cdc_acm
vid: 0x303A
pid: 0x4001
manufacturer: Nabu Casa
product: ZBT-2
channels:
- id: channel_9_1
- id: uart_10
type: cdc_acm
vid: 0x303A
pid: 0x4001
manufacturer: Nabu Casa
product: ZWA-2
channels:
- id: channel_10_1