#!/usr/bin/env bash

echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="dialout", MODE="0660"' >/etc/udev/rules.d/99-libftdi.rules
echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", GROUP="dialout", MODE="0660"' >>/etc/udev/rules.d/99-libftdi.rules

#!/usr/bin/env bash

echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="*", GROUP="dialout", MODE="0660"' >/etc/udev/rules.d/99-libftdi.rules

Use wildcard in udev rules to cover all cases.
Use wildcard in udev rules to cover all cases.
