[ About | Licence | Contacts ]
Written by Oleksandr Gavenko (AKA gavenkoa), compiled on 2017-01-30 from rev ccaa2f364422+.

udev.

About.

Record udev events

This dump udev events to console:

$ sudo udevadm monitor

List available devices

$ udevadm info --export-db

View device capability with udev compatible format

For Debian use:

$ /sbin/udevadm info --name=/dev/sdc --attribute-walk
$ udevadm info --attribute-walk --path $(udevadm info --query=path --name=/dev/ttyUSB0)

For other Linux use:

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

Debugging udev rule.

$ sudo udevadm trigger
$ sudo udevadm test $(udevadm info -n /dev/$DEV -q path)