DD2-monitor/doc/udev.txt

49 lines
1.8 KiB
Plaintext
Raw Normal View History

2019-05-21 21:53:12 +11:00
============================================================================
root@phytotron:~# udevadm info -n /dev/ttyACM1
P: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/tty/ttyACM1
N: ttyACM1
L: 0
S: serial/by-id/usb-Arduino__www.arduino.cc__0042_8573432373035191A0B1-if00
S: serial/by-path/pci-0000:00:1d.0-usb-0:1.6:1.0
E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/tty/ttyACM1
E: DEVNAME=/dev/ttyACM1
E: MAJOR=166
E: MINOR=1
E: SUBSYSTEM=tty
E: USEC_INITIALIZED=470754075024
E: ID_BUS=usb
E: ID_VENDOR_ID=2341
E: ID_MODEL_ID=0042
E: ID_PCI_CLASS_FROM_DATABASE=Serial bus controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=USB controller
E: ID_PCI_INTERFACE_FROM_DATABASE=EHCI
E: ID_VENDOR_FROM_DATABASE=Arduino SA
E: ID_MODEL_FROM_DATABASE=Mega 2560 R3 (CDC ACM)
E: ID_VENDOR=Arduino__www.arduino.cc_
E: ID_VENDOR_ENC=Arduino\x20\x28www.arduino.cc\x29
E: ID_MODEL=0042
E: ID_MODEL_ENC=0042
E: ID_REVISION=0001
E: ID_SERIAL=Arduino__www.arduino.cc__0042_8573432373035191A0B1
E: ID_SERIAL_SHORT=8573432373035191A0B1
E: ID_TYPE=generic
E: ID_USB_INTERFACES=:020201:0a0000:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=cdc_acm
E: ID_USB_CLASS_FROM_DATABASE=Communications
E: ID_PATH=pci-0000:00:1d.0-usb-0:1.6:1.0
E: ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_6_1_0
E: DEVLINKS=/dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_8573432373035191A0B1-if00 /dev/serial/by-path/pci-0000:00:1d.0-usb-0:1.6:1.0
E: TAGS=:systemd:
============================================================================
tth@phytotron:~/Prototype/DD2-monitor$ cat /etc/udev/rules.d/72-mega-phytotron.rules
SUBSYSTEM=="tty" ATTRS{idVendor}=="2341" ATTRS{idProduct}=="0042" SYMLINK+="phytotron"
============================================================================
============================================================================