armnrd wrote: ⤴Sun Oct 10, 2021 2:00 amBoth devices are available under /dev/input. The touchscreen is /dev/input/event4 and the pen is /dev/input/event/7.
You checked the input number for this particular boot cycle?
The reason I ask is because I do not necessarily see the pen in the code you listed. (However, I am not an expert in touchscreen technology, so I could be wrong.) While you mention evtest, as I see in this output it appears libinput is doing the "driving" and not evdev.
Code: Select all
[ 230.508] (II) config/udev: Adding input device ELAN2514:00 04F3:23AE (/dev/input/event4)
[ 230.509] (**) ELAN2514:00 04F3:23AE: Applying InputClass "evdev touchscreen catchall"
[ 230.509] (**) ELAN2514:00 04F3:23AE: Applying InputClass "libinput touchscreen catchall"
[ 230.509] (II) Using input driver 'libinput' for 'ELAN2514:00 04F3:23AE'
Have you checked the below file on your install to see what is in it?
Code: Select all
[ 230.524] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:00/i2c-0/i2c-ELAN2514:00/0018:04F3:23AE.0004/input/input13/event4"
armnrd wrote: ⤴Sun Oct 10, 2021 2:00 amNo errors, but it looks like Xorg adds the touchscreen and the pen, and then ignores them.
Where do you think the touchscreen is being ignored? Look at the messages in the order listed. Some of the items are saying to ignore because another driver already has control of them.
Remember that your pen
is working. It is just not rotating the correct direction. The fact the pen does work means there is a driver for it, so it is not being ignored.
I ended up going down a rabbit hole today in trying to determine what might be happening. There are several different drivers which might have control and I'm used to working with the Wacom files (libwacom). I am not sure if they are being used in this case, so this is new territory for me. Plus I do not have this hardware.
I did find this
accelerometer + screen rotation on non-touchscreen laptop? which is a way to turn off the touchscreen and the answers discuss the iio-sensor-proxy and Cinnamon. I do not know if Cinnamon's control mechanism has changed since then.
Here is some information on
libinput and graphics tablet support.