2017-06-12 13:43:05 +02:00
|
|
|
# do not edit this file, it will be overwritten on update
|
|
|
|
|
|
|
|
|
|
ACTION=="remove", GOTO="id_input_end"
|
|
|
|
|
|
|
|
|
|
SUBSYSTEM=="input", ENV{ID_INPUT}=="", IMPORT{builtin}="input_id"
|
2017-10-30 10:42:29 +10:00
|
|
|
SUBSYSTEM=="input", IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=id-input:modalias:"
|
2017-06-12 13:43:05 +02:00
|
|
|
|
2025-10-09 10:55:16 +10:00
|
|
|
# id-input:<bus>:v<vid>p<pid>:name:<name>:*
|
|
|
|
|
KERNELS=="input*", ATTRS{id/bustype}=="0003", \
|
|
|
|
|
IMPORT{builtin}="hwdb 'id-input:usb:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
|
|
|
|
|
GOTO="id_input_end"
|
|
|
|
|
KERNELS=="input*", ATTRS{id/bustype}=="0005", \
|
|
|
|
|
IMPORT{builtin}="hwdb 'id-input:bluetooth:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
|
|
|
|
|
GOTO="id_input_end"
|
|
|
|
|
KERNELS=="input*", ATTRS{id/bustype}=="0018", \
|
|
|
|
|
IMPORT{builtin}="hwdb 'id-input:i2c:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
|
|
|
|
|
GOTO="id_input_end"
|
|
|
|
|
|
2017-06-12 13:43:05 +02:00
|
|
|
LABEL="id_input_end"
|