ich betreibe an meinem debian rechner eine rapo tastatur mit integrietem num block (kann auch als touchpad eingesetzt werden). weiter eine usb mause von microsoft und neuerdings ein wacom intuos5 touch.
das führt dazu, dass udev unter /dev/input/ mehere mouse devices (mouse0 ... mouse3) anlegt. verantwortlich dafür (davon gehe ich aus) ist die datei 70-mouse.rules in /lib/udev/roules.d/
Code: Alles auswählen
# 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"
ziel wäre für meine "mäuse" eine udev rule zu machen, so dass ihre bezeichnung unter /dev/input aussagekräftiger sind (z.b. rapo-touchpad, wacom-pen, wacom-touchpad).
jeder hinweis ist willkommen!
freundliche grüsse, go4deb