Public Access
fix: scan-usb also autogenerate vendor ids
Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
3 files changed
+110
-4
No files matched your search
+3
-3
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user