Try XP-PEN official driver for Linux
Circumstances
I replaced my display to new larger one.
Then, I decided also to replace my LCD tablet to a smaller non-LCD pen tablet because there has been no space for it.
As a Linux user, the trouble with such peripherals is that there are often no official drivers available for Linux.
Of Course, for Wacom products, which is the most major peripherals brand, there is an unofficial driver developed by volunteers so it can be used without problems… but Wacom is too expensive for me.