X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.xml;h=b2781b767d322893b849c7dd7b1c07388c479854;hp=01e9d522ed4d5f2b29499f875b565b65d1c3fa46;hb=a1e6bd93d3d650c2064daafdb253120ae6e89398;hpb=33a570f38b02c4946abda3b94ecaa3657f70fb4f diff --git a/udev.xml b/udev.xml index 01e9d522e..b2781b767 100644 --- a/udev.xml +++ b/udev.xml @@ -141,52 +141,71 @@ - + - Match the name of the device. + Match the devpath of the event device. - + - Match the devpath of the device. + Match the name of the event device. - Match the subsystem of the device. + Match the subsystem of the event device. + + + + + + + Match sysfs attribute values of the event device. Up to five + keys can be specified per rule. Trailing + whitespace in the attribute values is ignored, if the specified match + value does not contain trailing whitespace itself. Depending on the type + of operator, this key is also used to set the value of a sysfs attribute. + - + - Search the devpath upwards for a matching device subsystem name. + Search the devpath upwards for a matching device name. - + - Search the devpath upwards for a matching device driver name. + Search the devpath upwards for a matching device subsystem name. - + - Search the devpath upwards for a matching device name. + Search the devpath upwards for a matching device driver name. - + Search the devpath upwards for a device with matching sysfs attribute values. - Up to five keys can be specified per rule. All attributes + Up to five keys can be specified per rule. All attributes must match on the same device. Trailing whitespace in the attribute values is ignored, if the specified match value does not contain trailing whitespace itself. @@ -196,8 +215,8 @@ Match against the value of an environment variable. Up to five - keys can be specified per rule. This key can also be used to export a variable to - the environment. + keys can be specified per rule. Depending on the type of operator, this key is also used + to export a variable to the environment. @@ -277,11 +296,20 @@ + + + + The value that should be written to a sysfs attribute of the + event device. Depending on the type of operator, this key is also + used to match against the value of a sysfs attribute. + + + - Export a variable to the environment. This key can also be used to match - against an environment variable. + Export a variable to the environment. Depending on the type of operator, + this key is also to match against an environment variable. @@ -378,13 +406,13 @@ , The name of the device matched while searching the devpath upwards for - , and . + , and . - , + , The value of a sysfs attribute found at the current or a parent device.