65-usb-console.rules 796 B

12345678910111213141516171819202122
  1. # udev rules file for Neo Freerunner Debug Board v3
  2. #
  3. ACTION!="add", GOTO="neo_dbg_rules_one"
  4. SUBSYSTEM!="usb_device", GOTO="neo_dbg_rules_one"
  5. SYSFS{idVendor}=="1457", SYSFS{idProduct}=="5118", MODE="664", GROUP="users"
  6. LABEL="neo_dbg_rules_one"
  7. # this would fix the symlinks to a specific USB port
  8. #DEVPATH=="*/2-1.1:1.0/*", KERNEL=="ttyUSB[0-9]*", SYSFS{manufacturer}=="FTDI", NAME="%k", SYMLINK="USBjtag"
  9. #DEVPATH=="*/2-1.1:1.1/*", KERNEL=="ttyUSB[0-9]*", SYSFS{manufacturer}=="FTDI", NAME="%k", SYMLINK="USBconsole"
  10. # use any USB port, but only plug in one board
  11. DEVPATH=="*.1:1.0/*", KERNEL=="ttyUSB[0-9]*", SYSFS{manufacturer}=="FTDI", \
  12. NAME="%k", SYMLINK+="USBjtag"
  13. DEVPATH=="*.1:1.1/*", KERNEL=="ttyUSB[0-9]*", SYSFS{manufacturer}=="FTDI", \
  14. NAME="%k", SYMLINK+="USBconsole"