mirror of
https://github.com/troglobit/finit.git
synced 2026-10-04 23:04:12 +07:00
Add 27 stock rules installed to /lib/udev/rules.d/. Rules invoking /lib/udev/<helper> fall back to keventd builtins (path_id, usb_id, blkid, hwdb, kmod, net_id, input_id) when the helper binary is absent; user-supplied helpers in /lib/udev/ still take precedence. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
23 lines
872 B
Plaintext
23 lines
872 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Derived from eudev 3.2.14 rules/70-mouse.rules
|
|
# Modifications by the Finit project: none
|
|
#
|
|
# do not edit this file, it will be overwritten on update
|
|
|
|
ACTION=="remove", GOTO="mouse_end"
|
|
KERNEL!="event*", GOTO="mouse_end"
|
|
ENV{ID_INPUT_MOUSE}=="", GOTO="mouse_end"
|
|
|
|
# mouse:<subsystem>:v<vid>p<pid>:name:<name>:*
|
|
KERNELS=="input*", ENV{ID_BUS}=="usb", \
|
|
IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
|
|
GOTO="mouse_end"
|
|
KERNELS=="input*", ENV{ID_BUS}=="bluetooth", \
|
|
IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
|
|
GOTO="mouse_end"
|
|
DRIVERS=="psmouse", SUBSYSTEMS=="serio", \
|
|
IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
|
|
GOTO="mouse_end"
|
|
|
|
LABEL="mouse_end"
|