Estas son las reglas que uso con mis dispositivos:
# USB-RS485
SUBSYSTEM=="tty",ENV{ID_REVISION}=="0254", ATTRS{idProduct}=="7523",ATTRS{idVendor}=="1a86",SYMLINK+="tty_RS485"
# USB-FTDI rs232 (BLACK)
SUBSYSTEM=="tty",ENV{ID_REVISION}=="0262", ATTRS{idProduct}=="7523",ATTRS{idVendor}=="1a86", SYMLINK+="tty_FTDI_BLACK"
# USB-FTDI rs232 (RED)
SUBSYSTEM=="tty", ENV{ID_REVISION}=="0600", ATTRS{serial}=="00000000", ATTRS{idProduct}=="6001",ATTRS{idVendor}=="0403", SYMLINK+="tty_FTDI_RED"
# Arduino UNO (Black-SaintSmart)
SUBSYSTEM=="tty", ATTRS{serial}=="75439333535351710251", ATTRS{idProduct}=="0043",ATTRS{idVendor}=="2341", SYMLINK+="tty_UNO"
# Arduino MEGA2560 R3
SUBSYSTEM=="tty", ATTRS{serial}=="85334343738351508160", ATTRS{idProduct}=="0042",ATTRS{idVendor}=="2341", SYMLINK+="tty_MEGA"
No hay comentarios:
Publicar un comentario