Hello,
My touchscreen is rotated wrong from the beginning (displays the lines from left to right instead from up to down). I rotate it in KDE with system settings and the display rotates, also the touchpad works fine/rotates, but the touchscreen is wrong: touching fro left to right moves the cursor up to down, touching from up to down moves the cursor from right to left.
This is a lenovo ideapad Duet 3
fresh install of Opensuse 15.3
KDE
uses X11, display-manager sddm
After searching I did
added to usr/share/x11/xorg.conf.d/10-evdev.conf
Option “SwapXY” “true”
in section InputClass - evdev touchscreen catchall
- no change after reboot
added the same in etc/x11/xorg.conf.d/10-evdev.conf
- no change after reboot
I am not sure, but it seems to me that actually evdev is not used as the driver. Searching /var/log/Xorg.0.log for “touchscreen” I find the following (hope I copied the correct…):
32.457] (II) config/udev: Adding input device ELAN901C:00 04F3:2BD6 (/dev/input/event15)
32.457] (**) ELAN901C:00 04F3:2BD6: Applying InputClass "evdev touchscreen catchall"
32.457] (**) ELAN901C:00 04F3:2BD6: Applying InputClass "evdev touchscreen catchall"
32.457] (**) ELAN901C:00 04F3:2BD6: Applying InputClass "libinput touchscreen catchall"
32.457] (II) Using input driver 'libinput' for 'ELAN901C:00 04F3:2BD6'
32.457] (**) ELAN901C:00 04F3:2BD6: always reports core events
32.457] (**) Option "Device" "/dev/input/event15"
32.457] (**) Option "_source" "server/udev"
32.458] (II) event15 - ELAN901C:00 04F3:2BD6: is tagged by udev as: Touchscreen
32.458] (II) event15 - ELAN901C:00 04F3:2BD6: device is a touch device
32.458] (II) event15 - ELAN901C:00 04F3:2BD6: device removed
32.487] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-7/i2c-ELAN901C:00/0018:04F3:2BD6.0003/input/input22/event15"
32.487] (II) XINPUT: Adding extended input device "ELAN901C:00 04F3:2BD6" (type: TOUCHSCREEN, id 16)
32.487] (**) Option "AccelerationScheme" "none"
32.487] (**) ELAN901C:00 04F3:2BD6: (accel) selected scheme none/0
32.487] (**) ELAN901C:00 04F3:2BD6: (accel) acceleration factor: 2.000
32.487] (**) ELAN901C:00 04F3:2BD6: (accel) acceleration threshold: 4
32.488] (II) event15 - ELAN901C:00 04F3:2BD6: is tagged by udev as: Touchscreen
32.488] (II) event15 - ELAN901C:00 04F3:2BD6: device is a touch device
32.489] (II) config/udev: Adding input device ELAN901C:00 04F3:2BD6 (/dev/input/mouse2)
32.489] (II) No input driver specified, ignoring this device.
32.489] (II) This device may have been added with another device file.
32.489] (II) config/udev: Adding input device ELAN901C:00 04F3:2BD6 UNKNOWN (/dev/input/event16)
32.490] (II) No input driver specified, ignoring this device.
32.490] (II) This device may have been added with another device file.
32.490] (II) config/udev: Adding input device ELAN901C:00 04F3:2BD6 UNKNOWN (/dev/input/event17)
32.490] (II) No input driver specified, ignoring this device.
32.490] (II) This device may have been added with another device file.
32.491] (II) config/udev: Adding input device ELAN901C:00 04F3:2BD6 (/dev/input/event18)
32.491] (**) ELAN901C:00 04F3:2BD6: Applying InputClass "evdev tablet catchall"
32.491] (**) ELAN901C:00 04F3:2BD6: Applying InputClass "evdev tablet catchall"
32.491] (**) ELAN901C:00 04F3:2BD6: Applying InputClass "libinput tablet catchall"
32.491] (II) Using input driver 'libinput' for 'ELAN901C:00 04F3:2BD6'
32.491] (**) ELAN901C:00 04F3:2BD6: always reports core events
32.491] (**) Option "Device" "/dev/input/event18"
32.491] (**) Option "_source" "server/udev"
32.492] (II) event18 - ELAN901C:00 04F3:2BD6: is tagged by udev as: Tablet
32.540] (II) event18 - ELAN901C:00 04F3:2BD6: tablet 'ELAN901C:00 04F3:2BD6' unknown to libwacom
32.540] (II) event18 - ELAN901C:00 04F3:2BD6: device is a tablet
32.540] (II) event18 - ELAN901C:00 04F3:2BD6: device removed
32.579] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-7/i2c-ELAN901C:00/0018:04F3:2BD6.0003/input/input25/event18"
32.579] (II) XINPUT: Adding extended input device "ELAN901C:00 04F3:2BD6" (type: TABLET, id 17)
32.580] (II) event18 - ELAN901C:00 04F3:2BD6: is tagged by udev as: Tablet
32.592] (II) event18 - ELAN901C:00 04F3:2BD6: tablet 'ELAN901C:00 04F3:2BD6' unknown to libwacom
32.592] (II) event18 - ELAN901C:00 04F3:2BD6: device is a tablet
32.592] (II) config/udev: Adding input device ELAN901C:00 04F3:2BD6 (/dev/input/mouse3)
32.592] (II) No input driver specified, ignoring this device.
32.592] (II) This device may have been added with another device file.
32.593] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event13)
Anybody knows how I can make the touchscreen rotate and work correctly?
Thanks a lot!