Linux/udev

From Omnia
Jump to navigation Jump to search

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