Algomatt
Posts: 1
Joined: Thu Feb 28, 2019 2:44 am

Problems with official touchscreen in custom os

Thu Feb 28, 2019 2:58 am

Hi, I hope this is the right subforum to post in.

I've been building my own stripped back version of Linux using BuildRoot https://buildroot.org/, specifically based off of Erpiam https://github.com/gbevin/erpiam.

Everything is working great with the official Raspberry Pi touchscreen except the mouse cursor is not 1:1 with the physical position of my finger on the screen. It also seems that I need to plug in a mouse or something before the touchscreen responds. I'm not sure what the difference is between what I have and what the normal OS's do.

The config settings seem to be what is required 'CONFIG_TOUCHSCREEN_RPI_FT5406=m' etc.

Any help would be much appreciated.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22215
Joined: Sat Jul 30, 2011 7:41 pm

Re: Problems with official touchscreen in custom os

Thu Feb 28, 2019 10:00 am

You might need to specifiy the touchscreen resolution, see this page

https://www.raspberrypi.org/documentati ... /README.md
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Return to “Linux Kernel”