For example when I plug an USB printer (say, Canon), Debian use
If I plug a second printer (say, HP), it is mapped to
If I plug them in reverse order, then Canon=lp1 and HP=lp0.
So how a script can know which is which?
lsusb -vvv give no clue.
usb-devices but maybe I miss something.