I have an old laptop with a cracked screen running Ubuntu 20.04. The touchscreen goes absolutely nuts everytime the computer restarts.
It seems under xinput -list there is a toushscreen device, a stylus pen, and a stylus eraser. I have been able to disable the touchscreen input using blacklisting touschreen input in xorg/conf.d method:

However, that still leaves the stylus input which i have to manually disable with the xinput disable command everytime I boot the computer.
If anyone knows how I could blacklist that as well I would be forever indebted.
Here is my xinput -list (Note the ELAN strings)
