0

Touchscreen not working with Capacitive 2.8" lcd
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Touchscreen not working with Capacitive 2.8" lcd

by jfg on Sun Jan 20, 2019 1:32 pm

Hi,

I have a capacitive 2.8" lcd screen installed on a Raspberry Pi 2B running a rasbian version 9.4.
I have installed the software using the install script and procedure.

The display works well, using FB.
However, the touchscreen does not work. I have no /dev/input/touchscreen device listed.

In dmesg I have neither *ft6* nor EP0110M09, but instead :
Code: Select all | TOGGLE FULL SIZE
[    3.933246] input: EP0000M09 as /devices/platform/soc/3f804000.i2c/i2c-1/1-0038/input/input0


I tried to replace EP0110M09 with EP0000M09 in the /etc/udev/rules.d/95-ftcaptouch.rules. Then I have a /dev/input/touchscreen created, but still nothing happens when I run evtest and touch the screen.

Code: Select all | TOGGLE FULL SIZE
pi@rasponder:/etc/udev/rules.d $ sudo evtest /dev/input/touchscreen
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "EP0000M09"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max      239
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max      319
    Event code 47 (ABS_MT_SLOT)
      Value      0
      Min        0
      Max        1
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max      239
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max      319
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max    65535
Properties:
  Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)

jfg
 
Posts: 5
Joined: Sun Jan 20, 2019 1:01 pm

Re: Touchscreen not working with Capacitive 2.8" lcd

by adafruit_support_carter on Tue Jan 22, 2019 9:03 pm

Are you running the desktop version? If so, does touch work if you launch the desktop screen? Here's a session showing the selections made when running the script:
Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi:~ $ sudo ./adafruit-pitft.sh


This script downloads and installs
PiTFT Support using userspace touch
controls and a DTO for display drawing.
one of several configuration files.
Run time of up to 5 minutes. Reboot required!

Select configuration:
1. PiTFT 2.4", 2.8" or 3.2" resistive (240x320)
2. PiTFT 2.2" no touch (240x320)
3. PiTFT 2.8" capacitive touch (240x320)
4. PiTFT 3.5" resistive touch (320x480)
5. Quit without installing

SELECT 1-5: 3
Select rotation:
1. 90 degrees (landscape)
2. 180 degrees (portait)
3. 270 degrees (landscape)
4. 0 degrees (portait)

SELECT 1-4: 3
[PITFT] Checking init system...
Found systemd
/boot is mounted
[PITFT] System update
Updating apt indexes...
.........
Reading package lists...
.........
[PITFT] Installing Python libraries & Software...
Installing Pre-requisite Software...This may take a few minutes!
[PITFT] Updating /boot/config.txt...
Already have an adafruit-pitft-helper section in /boot/config.txt.
Removing old section...
[PITFT] Updating SysFS rules for Touchscreen...
[PITFT] Updating TSLib default calibration...
Would you like the console to appear on the PiTFT display? [y/n] n
[PITFT] Making sure console doesn't use PiTFT
Removing console fbcon map from /boot/cmdline.txt
Screen blanking time reset to 10 minutes
Would you like the HDMI display to mirror to the PiTFT display? [y/n] y
[PITFT] Adding FBCP support...
Installing cmake...
Downloading rpi-fbcp...
Uncompressing rpi-fbcp...
Building rpi-fbcp...
Installing rpi-fbcp...
Remove fbcp from /etc/rc.local, if it's there...
We have systemd, so install fbcp systemd unit...
Setting raspi-config to boot to desktop w/o login...
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target → /lib/systemd/system/graphical.target.
Configuring boot/config.txt for forced HDMI
Using x2 resolution
[PITFT] Updating X11 default calibration...
[PITFT] Success!

Settings take effect on next boot.

REBOOT NOW? [y/N] y
Reboot started...

adafruit_support_carter
 
Posts: 11091
Joined: Tue Nov 29, 2016 2:45 pm

Re: Touchscreen not working with Capacitive 2.8" lcd

by jfg on Fri Jan 25, 2019 3:43 am

Hi,

I was running the stretch version. I was reinstalled a desktop version, the display on the screen is fine (i can see the desktop) but still no touch. I still have exactly the same messages and the same evtest behavior.

jfg
 
Posts: 5
Joined: Sun Jan 20, 2019 1:01 pm

Re: Touchscreen not working with Capacitive 2.8" lcd

by adafruit_support_carter on Fri Jan 25, 2019 12:48 pm

I wonder if this is might be related to the Pi Model. Just to be clear on the hardware. You have one of these:
https://www.adafruit.com/product/2423
and your Pi is one of these?
https://www.adafruit.com/product/2358

adafruit_support_carter
 
Posts: 11091
Joined: Tue Nov 29, 2016 2:45 pm

Re: Touchscreen not working with Capacitive 2.8" lcd

by jfg on Fri Jan 25, 2019 2:25 pm

The screen is a 2423.
The Rapsberry is a Pi 3B revision 1.2

Code: Select all | TOGGLE FULL SIZE
pi@rasponder:~ $ cat /proc/cpuinfo
processor   : 0
model name   : ARMv7 Processor rev 4 (v7l)
BogoMIPS   : 38.40
Features   : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer   : 0x41
CPU architecture: 7
CPU variant   : 0x0
CPU part   : 0xd03
CPU revision   : 4

processor   : 1
model name   : ARMv7 Processor rev 4 (v7l)
BogoMIPS   : 38.40
Features   : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer   : 0x41
CPU architecture: 7
CPU variant   : 0x0
CPU part   : 0xd03
CPU revision   : 4

processor   : 2
model name   : ARMv7 Processor rev 4 (v7l)
BogoMIPS   : 38.40
Features   : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer   : 0x41
CPU architecture: 7
CPU variant   : 0x0
CPU part   : 0xd03
CPU revision   : 4

processor   : 3
model name   : ARMv7 Processor rev 4 (v7l)
BogoMIPS   : 38.40
Features   : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer   : 0x41
CPU architecture: 7
CPU variant   : 0x0
CPU part   : 0xd03
CPU revision   : 4

Hardware   : BCM2835
Revision   : a02082
Serial      : 00000000d1584445

jfg
 
Posts: 5
Joined: Sun Jan 20, 2019 1:01 pm

Re: Touchscreen not working with Capacitive 2.8" lcd

by adafruit2 on Wed Jan 30, 2019 12:22 am

hey just to check can you post pics of both the top and bottom of your TFT HAT?

adafruit2
Site Admin
 
Posts: 18327
Joined: Fri Mar 11, 2005 7:36 pm

Re: Touchscreen not working with Capacitive 2.8" lcd

by jfg on Sun Feb 03, 2019 9:47 am

Here are 2 photos, top and bottom.
DSC_0219.JPG
DSC_0219.JPG (120.47 KiB) Viewed 93 times

DSC_0212.JPG
DSC_0212.JPG (77.82 KiB) Viewed 93 times

jfg
 
Posts: 5
Joined: Sun Jan 20, 2019 1:01 pm

Re: Touchscreen not working with Capacitive 2.8" lcd

by adafruit2 on Mon Feb 04, 2019 1:24 am

jfg - very mysterious. are you using the very latest raspbian? it shouldn't make a difference but worth checking. the chip is found, so it should 'just work'
lets try replacing it, email support@adafruit for a new one

adafruit2
Site Admin
 
Posts: 18327
Joined: Fri Mar 11, 2005 7:36 pm

Re: Touchscreen not working with Capacitive 2.8" lcd

by jfg on Fri Feb 08, 2019 3:41 am

Hi,
I have just received and installed the spare screen, it worked immediately.
Thanks for your support.

jfg
 
Posts: 5
Joined: Sun Jan 20, 2019 1:01 pm

Please be positive and constructive with your questions and comments.