changeset 106:de3b299561b3

udev: add rules file that works on my system
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Oct 2023 01:08:28 +0000
parents 1e820ed0904e
children bc3367755586
files udev/67-freecalypso.rules
diffstat 1 files changed, 48 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/udev/67-freecalypso.rules	Thu Oct 05 01:08:28 2023 +0000
@@ -0,0 +1,48 @@
+# This udev rules file, copied to /etc/udev/rules.d , works on
+# Mother Mychaela's Slackware 14.2 system.  I am absolutely NOT
+# a udev expert, I don't claim to understand it, but the present
+# concoction is modeled after OpenOCD's udev rules file.
+
+ACTION!="add|change", GOTO="freecalypso_rules_end"
+SUBSYSTEM!="usb|tty", GOTO="freecalypso_rules_end"
+
+# FTDI default IDs
+
+# FT232x (single-channel) default
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="660", GROUP="plugdev"
+
+# FT2232x default
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="660", GROUP="plugdev"
+
+# FT4232H default
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6011", MODE="660", GROUP="plugdev"
+
+# FT232H default
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", MODE="660", GROUP="plugdev"
+
+# ID codes allocated by FTDI to Falconia Partners LLC,
+# used extensively in FreeCalypso queendom
+
+# These two codes are used for FT2232x MPSSE+UART configs (JTAG quirk)
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="7150", MODE="660", GROUP="plugdev"
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="7151", MODE="660", GROUP="plugdev"
+
+# FreeCalypso dual UART with boot control
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="7152", MODE="660", GROUP="plugdev"
+
+# MCU host emulation and other configs where no ttyUSB devices
+# should be created at all, userspace access only
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="7157", MODE="660", GROUP="plugdev"
+
+# CP2102 devices
+
+# CP2102 default ID
+ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="660", GROUP="plugdev"
+
+# Foxconn T-Com TC300
+ATTRS{idVendor}=="0489", ATTRS{idProduct}=="e000", MODE="660", GROUP="plugdev"
+
+# Foxconn Pirelli DP-L10
+ATTRS{idVendor}=="0489", ATTRS{idProduct}=="e003", MODE="660", GROUP="plugdev"
+
+LABEL="freecalypso_rules_end"