Article 5BDBF How to initialize touchscreen without launching X server?

How to initialize touchscreen without launching X server?

by
witherornot
from LinuxQuestions.org on (#5BDBF)
Hello all.

I'm currently trying to port postmarketOS to the LG Gpad 7. All is going well, except for one small bug that's really annoying me.

Before launching an X server, the touchscreen does not send any events, even when using evtest and reading directly from the input device (eg. "cat /dev/input/event1"). However, after launching an X server, the touchscreen springs to life, even after the X server dies.

My conclusion is that the X server performs some kind of hardware initialization, and I would like to know if there is some way to do this initialization without running an X server so I can use it with Wayland.

Relevant logs: (elogind error is a bug that I am keeping to test display servers)

Xorg: https://pastebin.com/SjxKJT5V
Weston: https://pastebin.com/kJdLCmCR
Dmesg: https://pastebin.com/JFfDWpvk

For reference for the hardware, this device is very similar to the Google Nexus 4.
Documentation: https://wiki.postmarketos.org/wiki/G...us_4_(lg-mako)latest?d=yIl2AUoC8zA latest?i=7awVmfb3V-I:Z6K0j9RXXZc:F7zBnMy latest?i=7awVmfb3V-I:Z6K0j9RXXZc:V_sGLiP latest?d=qj6IDK7rITs latest?i=7awVmfb3V-I:Z6K0j9RXXZc:gIN9vFw7awVmfb3V-I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments