:: [DNG] Pulling my hair out over a ud…
Góra strony
Delete this message
Reply to this message
Autor: Nate Bargmann
Data:  
Dla: Devuan project
Temat: [DNG] Pulling my hair out over a udev rule
Posting here since the ratio of intelligence is very high. :-)

I'm trying to write a udev rule for a USB to serial adapter that is
plugged into a given port (actually my monitor) but am having zero
success. First the rule:

SUBSYSTEM=="tty", ENV{ID_PATH}=="pci-0000:00:14.0-usb-0:1.4:1.0-port0", ENV{ID_SERIAL}==Prolific_Technology_Inc._USB-Serial_Controller SYMLINK+="ttyUSB99"

Everything seems to match the keys I find in the output of:

udevadm test $(udevadm info -q path -n /dev/ttyUSB1) 2>&1

ID_PATH=pci-0000:00:14.0-usb-0:1.4:1.0
ID_SERIAL=Prolific_Technology_Inc._USB-Serial_Controller


I'm lost.

I can provide more info on request.

- Nate

--

"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us