(2017-05-15, 05:57 PM)Sailoog Wrote:(2017-05-13, 06:49 AM)dirkw Wrote: Tried it. The Touchscreen isnt't working with this fresh installation. I tried some other hardware, and a Mini-Keyboard with an build-in touchpad has the same problem.
I am afraid this issue should be reported to raspbian developers. Don't forgot to report here if you found a solution please.
Solved. The latest raspbian version uses libinput for touchscreen. Change to evdev solved the problem.
Install evdev
Code:
sudo apt-get install xserver-xorg-input-evdev
edit /usr/share/X11/xorg.conf.d/40-libinput.conf and change from libinput to evdev
Code:
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
# Driver "libinput"
Driver "evdev"
EndSection
To load the evdev driver after libinput, the number has to be higher. So if you see there for example 40-libinput.conf and 10-evdev.conf , easiest way is to change it in 40-evdev.conf and 10-libinput.conf