# HG changeset patch # User Mychaela Falconia # Date 1696468108 0 # Node ID de3b299561b35b457c19aaf52025ed88eea61587 # Parent 1e820ed0904ef01e89faf24cb91d5faeb1a8343f udev: add rules file that works on my system diff -r 1e820ed0904e -r de3b299561b3 udev/67-freecalypso.rules --- /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"