I bought a SainSmart 5" TFT with resistive touch to attach to my Raspberry Pi 3 Model B. The display works fine, though I had to set an HDMI_CVT parameter in /boot/config.txt in order to expand the display from 480x600 to 480x800. But I can't get the touchscreen to work. The SainSmart web site wants me to download a custom kernel, which I am loath to do. I found these instructions for setting up the touchscreen. I followed the instructions in Step 4 to install touchscreen support in the kernel, then performed the first two items in Step 5 to create device rules, and rebooted. I do not see a device at /dev/input/touchscreen, as the instructions imply, nor does the touchscreen work. I went on and installed the packages near the bottom of Step 5, and ran the command to calibrate the touchscreen, but nothing happens.

Can anyone tell me how to get the touchscreen to work?

  • there is a software driver that fixes this without having to use a custom kernel. I'm looking now but I had a difficult time finding it originally. I'll post a link when I get home if somebody else doesn't in the meantime.
    – stevieb
    Nov 15, 2016 at 15:12

1 Answer 1


To avoid having to install a custom kernel, you can use this driver, and then follow these instructions.

Specifically, because you have the 5" model, you'll use the following command after following the first few steps of extracting the driver tarball and changing into its directory:

sudo ./LCD5-show

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.