I'm running a Raspberry Pi 3 with a Pi TFT+ 3.5" display. -- I figured this is more of a Linux Question than anything else though.
It works fine when I use the suggested image for the device -- it works.
My issue is,the first time I boot up the device, the screen works but not the touch portion. If I hard reboot it, the second boot works, always. And if I want to reboot again, I have to do it twice again.
It seems like it has something to do with the files (or links?) in the /dev/input directory.
On the working system, when I run ls
on /dev/input
I get the following attached picture as output.
However, when the system is not working, and I've run that command, the only thing that shows up under /dev/input
is mouse0
, so obviously those links and files are getting deleted? I'm not sure.
Do you have any ideas what is happening in that directory? I am not making any changes at all that would force a config change.
EDIT: here is the dmesg output.
Not working: http://pastebin.com/BMCcaZh6
Working: http://pastebin.com/ZqNAczXZ
dmesg
output and/orsyslog
, and compare the working one with the one when it doesn't work. Very likely you'll see error messages that give a clue about what happened. "Missing" entries in/dev/input
after boot point to drivers not loading properly, for whatever reason. All files in/dev/input
are created when the driver loads (viaudev
), on boot or later, nobody maliciously deletes them. :-)dmesg > some_file
to save the output as text,cut
to remove the time stamps, anddiff
to look for differences (man cut
,man diff
for details). Even better, read through the output and look for the part that deals with the touchscreen in both. And use a pastebin instead of imgur :-) One can't work with images of text.