b) deiner Frage kann ich beantworten. Hier meine Notizen dazu für Stretch vom Juli 2017:
(sorry für den "code tag" aber sonst stimmen die ganzen Einrückungen nicht mehr)
Code: Alles auswählen
1. Installiert: xserver-xorg-input-evdev
2. Konfigurationsdatei für den Trackball mit evdev neu erstellt:
nano /usr/share/X11/xorg.conf.d/80-trackball.conf
# Configure Logitech M570 Trackball for evdev
Section "InputClass"
Identifier "Tag the M570 as XI_TRACKBALL"
MatchIsPointer "on"
MatchProduct "Logitech M570"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "TypeName" "TRACKBALL"
Option "AccelerationScheme" "predictable"
EndSection
3. libinput davon abhalten, Pointer und Keyboards zu bedienen. Dazu die
ersten 2 Sections für pointer und keyboard kommentiert in vorhandener
/usr/share/X11/xorg.conf.d/40-libinput.conf
#Section "InputClass"
# Identifier "libinput pointer catchall"
# MatchIsPointer "on"
# MatchDevicePath "/dev/input/event*"
# Driver "libinput"
#EndSection
#Section "InputClass"
# Identifier "libinput keyboard catchall"
# MatchIsKeyboard "on"
# MatchDevicePath "/dev/input/event*"
# Driver "libinput"
#EndSection
Jetzt werden alle Keyboards und Mäuse incl. der Zusatztasten von evdev verwaltet.
Damit ist dieses Problem endgültig gelöst und libinput wird garnicht mehr benutzt
und auch nicht mehr geladen (lsmod).
Mit "xinput --list-props bzw. --set-prop 10" kann man jetzt auch viel mehr Parameter
einstellen, u.a. "Velocity Scaling", "Constant und Adaptive Deceleration".
Ach ja der Vollständigkeit halber meine Devices (# 10 ist der Trackball):
Code: Alles auswählen
$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB-PS/2 Optical Mouse id=9 [slave pointer (2)]
⎜ ↳ Logitech M570 id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ HID 046a:0011 id=11 [slave keyboard (3)]
↳ UVC Camera (046d:0825) id=12 [slave keyboard (3)]
↳ Sundtek Ltd. Remote Control id=13 [slave keyboard (3)]
So, und hier die ganzen Möglichkeiten der Einstellung/Tuning:
Code: Alles auswählen
$ xinput --list-props 10
Device 'Logitech M570':
Device Enabled (147): 1
Coordinate Transformation Matrix (149): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (285): 0
libinput Natural Scrolling Enabled Default (286): 0
libinput Scroll Methods Available (287): 0, 0, 1
libinput Scroll Method Enabled (288): 0, 0, 0
libinput Scroll Method Enabled Default (289): 0, 0, 0
libinput Button Scrolling Button (290): 2
libinput Button Scrolling Button Default (291): 2
libinput Middle Emulation Enabled (292): 0
libinput Middle Emulation Enabled Default (293): 0
libinput Rotation Angle (303): 0.000000
libinput Rotation Angle Default (304): 0.000000
libinput Accel Speed (294): 0.000000
libinput Accel Speed Default (295): 0.000000
libinput Accel Profiles Available (296): 1, 1
libinput Accel Profile Enabled (297): 1, 0
libinput Accel Profile Enabled Default (298): 1, 0
libinput Left Handed Enabled (299): 0
libinput Left Handed Enabled Default (300): 0
libinput Send Events Modes Available (270): 1, 0
libinput Send Events Mode Enabled (271): 0, 0
libinput Send Events Mode Enabled Default (272): 0, 0
Device Node (273): "/dev/input/event5"
Device Product ID (274): 1133, 4136
libinput Drag Lock Buttons (301): <no items>
libinput Horizontal Scroll Enabled (302):
Dies ist die Ausgabe unter Buster, s.a. Thread dazu
viewtopic.php?f=2&t=166131