Linux/udev: Difference between revisions

From Omnia
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 22:04, 15 January 2020

notes

http://ubuntuforums.org/showpost.php?p=4765153&postcount=28:

udevinfo -a -p $(udevinfo -q path -n /dev/sdX)

Add persistent label

Find device details:

udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0) | less

You can only use attributes from one parent and one child node.

Quarch

/etc/udev/rules.d/99-sndk.rules
SUBSYSTEM=="tty", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", SYMLINK+="quarch"

Will create /dev/quarch