mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-17 12:08:22 +07:00
d94df23242
o change the parsing to get a key from the rule and sort it into our list of known keys instead of expecting a special order o the key to match a sysfs file must be prependend by 'SYSFS_' now to match with the new parsing. (The config must be changed, but it's a bit more descriptive too.) o put names of fields in define's, like the name of the methods o update all tests and the man page
10 lines
322 B
Plaintext
10 lines
322 B
Plaintext
# USB camera from Fuji to be named "camera"
|
|
LABEL, BUS="usb", SYSFS_vendor="FUJIFILM", NAME="camera%n"
|
|
|
|
# USB device plugged into the fourth port of the second hub to be called gps_device
|
|
TOPOLOGY, BUS="usb", PLACE="2.4", NAME="gps_device"
|
|
|
|
# ttyUSB1 should always be called visor
|
|
REPLACE, KERNEL="ttyUSB1", NAME="visor"
|
|
|