-
Verifique o ID do fornecedor USB, o ID do produto e o número de série.
$ dmesg | grep usb [...] [11427.635362] usb 2-1.2: new high-speed USB device number 8 using ehci-pci [11427.730823] usb 2-1.2: New USB device found, idVendor=04e8, idProduct=685e [11427.730830] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [11427.730834] usb 2-1.2: Product: SAMSUNG [11427.730838] usb 2-1.2: Manufacturer: Android [11427.730842] usb 2-1.2: SerialNumber: S610275b03f86 [11427.742314] usb-storage 2-1.2:1.0: USB Mass Storage device detected [11427.742436] scsi8 : usb-storage 2-1.2:1.0 [11427.786013] usbcore: registered new interface driver cdc_acm
Ou
udevadm info -a /dev/ttyUSB1
pode ser mais completo. -
Crie um novo arquivo de regras do udev. Exemplo com regras para telefone Android, Arduino, pirata Bus e um kit ARM.
$ sudo nano /etc/udev/rules.d/99-my-usb-serial.rules SUBSYSTEM=="tty", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="685e", ATTRS{serial}=="S610275b03f86", SYMLINK+="android" SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A6008isP", SYMLINK+="arduino" SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A7004IXj", SYMLINK+="buspirate" SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="FTDIF46B", SYMLINK+="ttyUSB.ARM"
Referências: