Hallo zusammen,
Ich habe vor einigen Tagen das neue Rasbian Jessie (from march 2017) mit Pixel auf meinem Raspberry Pi 2 installiert, allerdings habe ich bei meinem Display jetzt ein Problem mit der Kalibrierung.
Vor dem Upgrade funktionierte das einwandfrei mit der 99-calibration.conf, die xinput_calibrator erzeugt hat, jetzt nicht mehr. Ich dachte erst, es liegt am Upgrade, daher habe ich eine saubere Installation durchgeführt, aber daran lag es wohl nicht.
Das Display funktioniert und der Desktop wird auch komplett auf dem Screen angezeigt (1024x768, 3M Touchscreen MicroTouch 15" USB), Touch-Events werden auch registriert, aber falsch übersetzt. Die Berührungen werden auf einen Bereich in der Mitte projeziert (ca. 800x600 oder weniger), die Y-Achse stimmt ungefähr, die X-Achse ist gespiegelt.
Ich habe es bereits mit xinput_calibrate versucht und das Ergebnis in /usr/share/X11/xorg.conf.d/99-calibration.conf kopiert (vielleicht hat sich die Syntax geändert?):
Section "InputClass"
Identifier "calibration"
MatchProduct "3M 3M USB Touchscreen - EX II"
Option "MinX" "57919"
Option "MaxX" "9279"
Option "MinY" "10055"
Option "MaxY" "54882"
EndSection
In der Logfile ist folgendes zu finden: /var/log/Xorg.0.log:
[ 10.735] (II) config/udev: Adding input device 3M 3M USB Touchscreen - EX II (/dev/input/event3)
[ 10.735] (**) 3M 3M USB Touchscreen - EX II: Applying InputClass "calibration"
[ 10.735] (**) 3M 3M USB Touchscreen - EX II: Applying InputClass "libinput touchscreen catchall"
[ 10.735] (II) Using input driver 'libinput' for '3M 3M USB Touchscreen - EX II'
[ 10.735] (**) 3M 3M USB Touchscreen - EX II: always reports core events
[ 10.735] (**) Option "Device" "/dev/input/event3"
[ 10.735] (**) Option "_source" "server/udev"
[ 10.737] (II) input device '3M 3M USB Touchscreen - EX II', /dev/input/event
3 is tagged by udev as: Touchscreen
[ 10.737] (II) input device '3M 3M USB Touchscreen - EX II', /dev/input/event3 is a touch device
[ 10.760] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/input/input3/event3"
[ 10.760] (II) XINPUT: Adding extended input device "3M 3M USB Touchscreen - EX II" (type: TOUCHSCREEN, id 9)
[ 10.760] (**) Option "AccelerationScheme" "none"
[ 10.761] (**) 3M 3M USB Touchscreen - EX II: (accel) selected scheme none/0
[ 10.761] (**) 3M 3M USB Touchscreen - EX II: (accel) acceleration factor: 2.000
[ 10.761] (**) 3M 3M USB Touchscreen - EX II: (accel) acceleration threshold: 4
[ 10.762] (II) input device '3M 3M USB Touchscreen - EX II', /dev/input/event3 is tagged by udev as: Touchscreen
[ 10.762] (II) input device '3M 3M USB Touchscreen - EX II', /dev/input/event3 is a touch device
[ 10.764] (II) config/udev: Adding input device 3M 3M USB Touchscreen - EX II (/dev/input/mouse1)
[ 10.764] (**) 3M 3M USB Touchscreen - EX II: Applying InputClass "calibration"
[ 10.764] (II) No input driver specified, ignoring this device.
[ 10.764] (II) This device may have been added with another device file.
Alles anzeigen
Die InputClass aus Zeile 3 ist die hier: /usr/share/X11/xorg.conf.d/40-libinput.conf:
# Match on all types of devices but tablet devices and joysticks
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
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Alles anzeigen
Als Ausgabe von "xinput" bekomme ich auch das Eingabegerät:
Allerdings scheinen im Vergleich zu anderen Tutorials im Netz die Properties unvollständig zu sein, dort scheint sowas wie MaxX und MinX zu fehlen. (Vielleicht liegt es daran? Fehlende Treiber?)
Device '3M 3M USB Touchscreen - EX II':
Device Enabled (114): 1
Coordinate Transformation Matrix (115): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix (269): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix Default (270): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Send Events Modes Available (249): 1, 0
libinput Send Events Mode Enabled (250): 0, 0
libinput Send Events Mode Enabled Default (251): 0, 0
Device Node (261): "/dev/input/event3"
Device Product ID (262): 1430, 1
libinput Horizontal Scroll Enabled (264): 0
Alles anzeigen
Vielleicht hat ja schon jemand ein ähnliches Problem gehabt und weiß Rat?
Schöne Grüße,
Benny