fix: scan-usb also autogenerate vendor ids

Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
bullshit committed 2025-08-07 08:45:57 +02:00
1 parent 92d3e9b835
commit 483e735e11
3 files changed
+110 -4

No files matched your search

+3 -3
View File
@@ -5,11 +5,11 @@ echo "All USB devices:"
lsusb
echo ""
echo "ESP32 boards:"
lsusb | grep -E "(303a|10c4|1a86)" || echo "No ESP32 boards found"
lsusb | grep -iE "(303a|10c4|1a86)" || echo "No ESP32 boards found"
echo ""
# @TODO: update this with generate_vendor_list.py
# Auto-generated from ups_vendors.h
echo "UPS devices:"
lsusb | grep -E "(051D|0764|09AE|06DA|0665|0463|06da|0001)" || echo "No UPS devices found"
lsusb | grep -iE "(0001|0463|051d|0665|06da|0764|09ae)" || echo "No UPS devices found"
echo ""
echo "Serial ports:"
ls -la /dev/tty{USB,ACM}* 2>/dev/null || echo "No serial ports found"