Skip to content

Commit 1070d36

Browse files
Merge pull request #1735 from reilandeubank/master
doc: clarify udev string matching rules
2 parents 29d1fc4 + ee1b061 commit 1070d36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,6 +1571,10 @@ Finally ``sys_name`` allows matching against the name of the directory in
15711571
sysfs.
15721572
All match entries must succeed for the device to be accepted.
15731573

1574+
Note that all udev property values are strings and are therefore case sensitive.
1575+
Hex values such as ``ID_MODEL_ID`` must match the exact case reported by udev
1576+
(e.g., ``"04d8"`` will not match ``"04D8"``).
1577+
15741578
labgrid provides a small utility called ``labgrid-suggest`` which will
15751579
output the proper YAML formatted snippets for you.
15761580
These snippets can be added under the resource key in an environment

0 commit comments

Comments
 (0)