Linux/udev

From Omnia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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