I'm working on a project and we are trying to make a touch-screen work using Qt with Tslib. We already made some previous prototypes and we managed to make them fully functional. But when creating a new, fourth prototype, we got the following message when running the main app:
# QWSTslibMouseHandlerPrivate: ts_open() failed with error: 'No such file or directory'
It was as if something related to Tslib was missing. Now this was strange: the fourth prototype was exactly as the previous one in terms of Linux kernel version, main apps, SD card with libraries used for the Qt application, etc.. Trying to find differences, I finally noticed that in the prototype with the problem, the file /dev/input/event0
is missing; in fact, the "imput" folder is not even created, while in the working prototypes both the imput
folder as well as the event0
file exists (and a link to the last one under the name "touscreen0").
Since this folder and files are supposed to be created by the Linux kernel during boot, it would seem like if the touch-screen device is not being recognized and so Linux don't create anything related to input during startup (we checked the Linux kernel and verified that the touch-screen driver for our hardware is being included).
After tons of research throughout the web I found this post where the user mentions a "mdev -s" which seems to be the responsible for detecting the touch-screen. I couldn't find it to run it, but most importantly why would it be the case that "mdev -s" creates event0
in some systems but not in others?
Any tips and suggestions on how I could solve this problem of the missing event0
are welcome.