70-mouse.rules 734 B

123456789101112131415161718
  1. # do not edit this file, it will be overwritten on update
  2. ACTION=="remove", GOTO="mouse_end"
  3. KERNEL!="event*", GOTO="mouse_end"
  4. ENV{ID_INPUT_MOUSE}=="", GOTO="mouse_end"
  5. # mouse:<subsystem>:v<vid>p<pid>:name:<name>:*
  6. KERNELS=="input*", ENV{ID_BUS}=="usb", \
  7. IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
  8. GOTO="mouse_end"
  9. KERNELS=="input*", ENV{ID_BUS}=="bluetooth", \
  10. IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
  11. GOTO="mouse_end"
  12. DRIVERS=="psmouse", SUBSYSTEMS=="serio", \
  13. IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
  14. GOTO="mouse_end"
  15. LABEL="mouse_end"