You can do this easily by referencing /dev/disk/by-id/usb-manufacturername_*serialnumber*
. These appear as symbolic links which you can dereference using readlink -e
to determine the associated block device.
Or.. Look at the dmesg
after connecting the USB device. It should give you the /dev
node.