1 SUBSYSTEM!="input", GOTO="persistent_input_end"
2 ACTION!="add", GOTO="persistent_input_end"
3 # ignore the mid-level drivers
4 KERNEL=="input[0-9]*", GOTO="persistent_input_end"
7 BUS=="usb", IMPORT{program}="usb_id -x"
8 BUS=="usb", SYSFS{bInterfaceClass}="03", SYSFS{bInterfaceProtocol}="01", \
10 BUS=="usb", SYSFS{bInterfaceClass}="03", SYSFS{bInterfaceProtocol}="02", \
13 # by-id links, generic and for the event devices
15 ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="?*", ENV{ID_CLASS}=="?*", \
16 SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_CLASS}"
18 ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="?*", ENV{ID_CLASS}=="?*", \
19 SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-$env{ID_CLASS}"
22 IMPORT{program}="path_id %p"
23 KERNEL=="mouse*", ENV{ID_PATH}=="?*", \
24 SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}"
25 KERNEL=="event*", ENV{ID_PATH}=="?*", \
26 SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{ID_CLASS}"
28 LABEL="persistent_input_end"