Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

2.8" TFT touchscreen touch not working on Model B+
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

2.8" TFT touchscreen touch not working on Model B+

by hillzzz on Sun Jul 27, 2014 3:07 pm

Hi I have a Raspberry Pi Model B+ to which I attached the 2.8" TFT touch screen. I followed the instructions meticulously and all appears to work I did not use your standard OS image as your website says its not compatible with the B+ so I followed the instructions to download the tft module files and made a new kernel as directed on the adafruit website. All appears to proceed correctly with no errors - until you try and use the touch screen. Touch does not work. I have loaded all the modules and all appears to be OK. But no matter what I do touch refuses to work.

I thought the unit might be faulty so I took it off the B+ and put it on a standard Model B followed the instructions again and it works. I then re-did all the steps on a fresh image and again it fails to work with touch.

Any ideas what might be causing the problem?

Thanks Hillzzz

hillzzz
 
Posts: 9
Joined: Sun Jul 27, 2014 2:58 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by adafruit2 on Mon Jul 28, 2014 10:37 am

Hi can you just check for us
1) what PID product are you using?
2) which tutorial you are following (URL)
3) paste the output of dmesg (around where it tries to detect the TFT & touch)
4) run evtest (its in the touchscreen part of the tutorial) if you can!

this will help tons in determining whats up!

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

Re: 2.8" TFT touchscreen touch not working on Model B+

by hillzzz on Mon Jul 28, 2014 5:21 pm

Hi unfortunately the card is not responding at all now. It just displays a white screen but I think the modules are being loaded.

here is the output from dmesg

[ 4.930192] hid-generic 0003:093A:2510.0003: input,hidraw2: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-bcm2708_usb-1.3.3/input0
[ 5.618589] Adafruit Industries' Raspberry Pi PWM driver v1.0
[ 5.712289] bcm2708_spi bcm2708_spi.0: DMA channel 4 at address 0xf2007400 with irq 20
[ 5.845560] bcm2708_spi bcm2708_spi.0: DMA channel 5 at address 0xf2007500 with irq 21
[ 6.014494] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[ 6.108603] bcm2708_spi bcm2708_spi.0: SPI Controller running in dma mode
[ 8.435854] usbcore: registered new interface driver rtl8192cu
[ 11.468357] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.983846] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.998478] bcm2708_i2c_init_pinmode(0,0)
[ 13.010175] bcm2708_i2c_init_pinmode(0,1)
[ 13.021899] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100000)
[ 13.038446] bcm2708_i2c_init_pinmode(1,2)
[ 13.046849] bcm2708_i2c_init_pinmode(1,3)
[ 13.059481] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[ 13.301901] fbtft_device: SPI devices registered:
[ 13.326081] fbtft_device: 'fb' Platform devices registered:
[ 13.336388] fbtft_device: bcm2708_fb id=-1 pdata? no
[ 13.346158] fbtft_device: I2C devices registered:
[ 13.355189] fbtft_device: i2c-0 addr 48913 IRQ 0
[ 13.364712] fbtft_device: i2c-1 addr 48913 IRQ 1
[ 13.459732] fbtft_device: GPIOS used by 'adafruitct28':
[ 13.469279] fbtft_device: 'dc' = GPIO25
[ 13.489535] fbtft_device: SPI devices registered:
[ 13.498511] fbtft_device: fb_ili9340 spi0.0 32000kHz 8 bits mode=0x00
[ 13.529919] input: ft6x06_ts as /devices/virtual/input/input3
[ 13.540001] fbtft_device: I2C devices registered:
[ 13.548899] fbtft_device: i2c-0 addr 48913 IRQ 0
[ 13.569498] fbtft_device: i2c-1 addr 48913 IRQ 1
[ 13.578991] fbtft_device: ft6x06_ts 1-0038 addr 56 IRQ 0
[ 13.810682] i2c-core: driver [ft6x06_ts] using legacy suspend method
[ 13.839411] i2c-core: driver [ft6x06_ts] using legacy resume method
[ 14.111734] Adafruit Industries' power switch driver v1.7
[ 14.136660] graphics fb1: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 4 KiB DMA buffer memory, fps=20, spi0.0 at 32 MHz
[ 22.842580] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 27.952580] bcm2835-cpufreq: switching to governor ondemand
[ 27.952651] bcm2835-cpufreq: switching to governor ondemand

output from evtest:

sudo evtest /dev/input/touchscreen
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "ft6x06_ts"
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 4095
Event code 1 (ABS_Y)
Value 0
Min 0
Max 4095
Event code 24 (ABS_PRESSURE)
Value 0
Min 0
Max 255
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 255
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 4095
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 4095
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 2
Event code 58 (ABS_MT_PRESSURE)
Value 0
Min 0
Max 255
Properties:
Testing ... (interrupt to exit)

nothing changes when you touch the screen either with a stylus or without when you run the above. It remains white.

by PID I guess you mean the product code? its the2.8 320x240 tft w/touch screen for Raspberry PI on the reverse it says STMP610 + ILI9341 V2

As you said in your product description its a cute little screen and i would love to get it working.

thanks Hillzzz

hillzzz
 
Posts: 9
Joined: Sun Jul 27, 2014 2:58 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by adafruit2 on Mon Jul 28, 2014 5:25 pm

ok - you're installing the capacitive touch drivers on a resistive screen
please try this tutorial
https://learn.adafruit.com/adafruit-pit ... pberry-pi/
thx!

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

Re: 2.8" TFT touchscreen touch not working on Model B+

by hillzzz on Mon Jul 28, 2014 6:21 pm

Hum Those are the ones I followed. also in the part about testing it says the screen should turn black when the drivers are loaded - it stays white.

hillzzz
 
Posts: 9
Joined: Sun Jul 27, 2014 2:58 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by adafruit2 on Mon Jul 28, 2014 6:28 pm

please paste the output of
sudo cat /etc/modprobe.d/adafruit.conf

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

Re: 2.8" TFT touchscreen touch not working on Model B+

by hillzzz on Mon Jul 28, 2014 6:43 pm

ok will do that tomorrow as i have disconnected and put the pi away for tonight - thank you for your speed of reply very impressive.

thanks again hillzzz

hillzzz
 
Posts: 9
Joined: Sun Jul 27, 2014 2:58 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by leomiller on Tue Jul 29, 2014 2:11 pm

I am also experiencing the same issue but not with the b+. I have a raspberry pi b. I noticed your request for a sudo cat /etc/modprobe.d/adafruit.conf. I attempted to look at this file and could not find it. I do not have that file on my pi and I have followed that step in the project guide and all worked fine until I tested. the test failed the screen stayed white.

leomiller
 
Posts: 3
Joined: Tue Jul 29, 2014 1:45 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by adafruit2 on Tue Jul 29, 2014 2:58 pm

Hmm, please go thru the tutorial again - we have thousands of people using the PiTFT 2.8" on model B :) you can always run the tutorial steps or just download the image and burn to a 4GB+ card!

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

Re: 2.8" TFT touchscreen touch not working on Model B+

by leomiller on Tue Jul 29, 2014 3:40 pm

Ok I will walk through the tutorial again. I tried using the down load of the image but it hung on boot. I will try that again also.

leomiller
 
Posts: 3
Joined: Tue Jul 29, 2014 1:45 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by hillzzz on Tue Jul 29, 2014 5:53 pm

Hi I have run the command you asked for and the result is below:

pi@raspberrypi:~$ sudo cat /etc/modprobe.d/adafruit.conf
options fbtft_device name=adafruitts rotate=90 frequency=32000000

I also followed the link you posted and went through all the steps again. Sadly the screen is still white.

Regards, Hillzzz

hillzzz
 
Posts: 9
Joined: Sun Jul 27, 2014 2:58 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by adafruit2 on Wed Jul 30, 2014 6:49 pm

hmm can you do me a favor and change that file to read:

options fbtft_device name=adafruitrt28 rotate=90 frequency=32000000

and do a proper reboot, then paste in the dmesg output again? this is a bit odd...want to just check a few things

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

Re: 2.8" TFT touchscreen touch not working on Model B+

by hillzzz on Tue Aug 12, 2014 5:29 pm

Hi Update, The UK supplier PiHut kindly stepped in and supplied a new unit which is working perfectly. Thank you PiHut thank you adafruit for great support and a great product.

hillzzz
 
Posts: 9
Joined: Sun Jul 27, 2014 2:58 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by leomiller on Tue Aug 12, 2014 7:45 pm

I have still not been able to get my display to work. Could it be bad.

leomiller
 
Posts: 3
Joined: Tue Jul 29, 2014 1:45 pm

Re: 2.8" TFT touchscreen touch not working on Model B+

by adafruit2 on Tue Aug 12, 2014 10:25 pm

leo, its hard to say, we don't have enough details - its probably fine, it sounds like you're having problems with loading the image and/or following the tutorial. do you have a Pi-friend with some more Linux experience who can help?

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

Please be positive and constructive with your questions and comments.