Skip to content

Instantly share code, notes, and snippets.

@grafjo
Created March 8, 2013 13:01

Revisions

  1. grafjo created this gist Mar 8, 2013.
    8 changes: 8 additions & 0 deletions 70-persistent-usb-rs232.rules
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    #/etc/udev/rules.d/70-persistent-usb-rs232.rules
    KERNEL=="ttyUSB*", KERNELS=="1-1.3.1.1", SYMLINK="ttySerialPort1"
    KERNEL=="ttyUSB*", KERNELS=="1-1.3.2", SYMLINK="ttySerialPort2"
    KERNEL=="ttyUSB*", KERNELS=="1-1.3.1.2", SYMLINK="ttySerialPort3"
    KERNEL=="ttyUSB*", KERNELS=="1-1.3.3", SYMLINK="ttySerialPort4"
    KERNEL=="ttyUSB*", KERNELS=="1-1.3.1.3", SYMLINK="ttySerialPort5"
    KERNEL=="ttyUSB*", KERNELS=="1-1.3.4", SYMLINK="ttySerialPort6"
    KERNEL=="ttyUSB*", KERNELS=="1-1.3.1.4", SYMLINK="ttySerialPort7"