Name

udevadm — udev management tool

Synopsis

udevadm [--debug] [--version] [--help]

udevadm info options

udevadm trigger [options]

udevadm settle [options]

udevadm control command

udevadm monitor [options]

udevadm test [options] devpath

udevadm test-builtin [options] command devpath

OPTIONS

--debug

Print debug messages to stderr.

--version

Print version number.

--help

Print help text.

udevadm trigger [options]

Request device events from the kernel. Primarily used to replay events at system coldplug time.

--verbose

Print the list of devices which will be triggered.

--dry-run

Do not actually trigger the event.

--type=type

Trigger a specific type of devices. Valid types are: devices, subsystems. The default value is devices.

--action=action

Type of event to be triggered. The default value is change.

--subsystem-match=subsystem

Trigger events for devices which belong to a matching subsystem. This option can be specified multiple times and supports shell style pattern matching.

--subsystem-nomatch=subsystem

Do not trigger events for devices which belong to a matching subsystem. This option can be specified multiple times and supports shell style pattern matching.

--attr-match=attribute=value

Trigger events for devices with a matching sysfs attribute. If a value is specified along with the attribute name, the content of the attribute is matched against the given value using shell style pattern matching. If no value is specified, the existence of the sysfs attribute is checked. This option can be specified multiple times.

--attr-nomatch=attribute=value

Do not trigger events for devices with a matching sysfs attribute. If a value is specified along with the attribute name, the content of the attribute is matched against the given value using shell style pattern matching. If no value is specified, the existence of the sysfs attribute is checked. This option can be specified multiple times.

--property-match=property=value

Trigger events for devices with a matching property value. This option can be specified multiple times and supports shell style pattern matching.

--tag-match=property

Trigger events for devices with a matching tag. This option can be specified multiple times.

--sysname-match=name

Trigger events for devices with a matching sys device name. This option can be specified multiple times and supports shell style pattern matching.

--parent-match=syspath

Trigger events for all children of a given device.