PiTFT + Capacitive Touch - Touch screen not working

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
ahisle
 
Posts: 1
Joined: Wed Jul 23, 2014 5:56 pm

PiTFT + Capacitive Touch - Touch screen not working

Post by ahisle »

I recently purchased a PiTFT Mini Kit - 320x240 2.8" TFT+ Capacitive Touchscreen (https://www.adafruit.com/products/1983), and I've run into an issue trying to get it to function properly. I've followed the tutorial step by step, and every time I reach the part were I start X11 with touch enabled (using FRAMEBUFFER=/dev/fb1 startx), the screen won't respond to my input. The screen displays the desktop perfectly, but I just can't seem to get the touchscreen to function. I've tried re-soldering, starting with a fresh copy of Raspbian, continuing on with the instructions in hopes of it working, yet no dice...

When I run dmesg after quitting X11, I get the following:

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.15.3+ (xobs@xobs-novena) (gcc version 4.9.0 (Debian 4.9.0-6) ) #12 PREEMPT Thu Jul 3 14:35:03 SGT 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 49152
[    0.000000] free_area_init_node: node 0, pgdat c061652c, node_mem_map cbe78000
[    0.000000]   Normal zone: 384 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 49152 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 48768
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200 bcm2708.boardrev=0x3 bcm2708.serial=0x57bacadb smsc95xx.macaddr=B8:27:EB:BA:CA:DB sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0xec00000 vc_mem.mem_size=0x10000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 187880K/196608K available (4434K kernel code, 244K rwdata, 1384K rodata, 133K init, 706K bss, 8728K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xcc800000 - 0xff000000   ( 808 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xcc000000   ( 192 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05b6d08   (5820 kB)
[    0.000000]       .init : 0xc05b7000 - 0xc05d86f8   ( 134 kB)
[    0.000000]       .data : 0xc05da000 - 0xc0617180   ( 245 kB)
[    0.000000]        .bss : 0xc0617180 - 0xc06c7b08   ( 707 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:394
[    0.000020] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[    0.000055] Switching to timer-based delay loop
[    0.000308] Console: colour dummy device 80x30
[    0.001036] console [tty1] enabled
[    0.001069] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001123] pid_max: default: 32768 minimum: 301
[    0.001457] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001508] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002324] Initializing cgroup subsys devices
[    0.002382] Initializing cgroup subsys freezer
[    0.002416] Initializing cgroup subsys net_cls
[    0.002444] Initializing cgroup subsys blkio
[    0.002547] CPU: Testing write buffer coherency: ok
[    0.002992] Setting up static identity map for 0x438970 - 0x4389cc
[    0.004899] devtmpfs: initialized
[    0.021137] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.021912] NET: Registered protocol family 16
[    0.026831] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.027595] cpuidle: using governor ladder
[    0.027642] cpuidle: using governor menu
[    0.028077] bcm2708.uart_clock = 0
[    0.029875] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.029926] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.029960] mailbox: Broadcom VideoCore Mailbox driver
[    0.030075] bcm2708_vcio: mailbox at f200b880
[    0.030326] bcm_power: Broadcom power driver
[    0.030368] bcm_power_open() -> 0
[    0.030392] bcm_power_request(0, 8)
[    0.531113] bcm_mailbox_read -> 00000080, 0
[    0.531149] bcm_power_request -> 0
[    0.531173] Serial: AMBA PL011 UART driver
[    0.531365] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[    0.887411] console [ttyAMA0] enabled
[    0.923898] SCSI subsystem initialized
[    0.928225] usbcore: registered new interface driver usbfs
[    0.933830] usbcore: registered new interface driver hub
[    0.939451] usbcore: registered new device driver usb
[    0.946090] Switched to clocksource stc
[    0.950480] FS-Cache: Loaded
[    0.953652] CacheFiles: Loaded
[    0.971128] NET: Registered protocol family 2
[    0.976646] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.983694] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.990283] TCP: Hash tables configured (established 2048 bind 2048)
[    0.996777] TCP: reno registered
[    1.000035] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.005898] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.012452] NET: Registered protocol family 1
[    1.017374] RPC: Registered named UNIX socket transport module.
[    1.023328] RPC: Registered udp transport module.
[    1.028142] RPC: Registered tcp transport module.
[    1.032862] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.040043] bcm2708_dma: DMA manager at f2007000
[    1.044785] bcm2708_gpio: bcm2708_gpio_probe c05e8100
[    1.050327] vc-mem: phys_addr:0x00000000 mem_base=0x0ec00000 mem_size:0x10000000(256 MiB)
[    1.059704] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.065894] audit: initializing netlink subsys (disabled)
[    1.071509] audit: type=2000 audit(0.930:1): initialized
[    1.245196] VFS: Disk quotas dquot_6.5.2
[    1.249608] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.258424] FS-Cache: Netfs 'nfs' registered for caching
[    1.265175] NFS: Registering the id_resolver key type
[    1.270450] Key type id_resolver registered
[    1.274656] Key type id_legacy registered
[    1.279077] msgmni has been set to 366
[    1.285264] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.293098] io scheduler noop registered
[    1.297176] io scheduler deadline registered (default)
[    1.302687] io scheduler cfq registered
[    1.307032] BCM2708FB: allocated DMA memory 4b970000
[    1.312060] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.353591] Console: switching to colour frame buffer device 240x75
[    1.378751] vc-cma: Videocore CMA driver
[    1.382778] vc-cma: vc_cma_base      = 0x00000000
[    1.387645] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.393142] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.410465] brd: module loaded
[    1.419966] loop: module loaded
[    1.423531] vchiq: vchiq_init_state: slot_zero = 0xcc804000, is_master = 0
[    1.431605] Loading iSCSI transport class v2.0-870.
[    1.437791] usbcore: registered new interface driver ax88179_178a
[    1.444407] usbcore: registered new interface driver smsc95xx
[    1.450439] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.656552] Core Release: 2.80a
[    1.659789] Setting default values for core params
[    1.664696] Finished setting default values for core params
[    1.870569] Using Buffer DMA mode
[    1.873975] Periodic Transfer Interrupt Enhancement - disabled
[    1.879943] Multiprocessor Interrupt Enhancement - disabled
[    1.885621] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.890096] Dedicated Tx FIFOs mode
[    1.893924] WARN::dwc_otg_hcd_init:1042: FIQ DMA bounce buffers: virt = 0xccc20000 dma = 0x4b9d4000 len=9024
[    1.903989] FIQ FSM acceleration enabled for :
[    1.903989] Non-periodic Split Transactions
[    1.903989] Periodic Split Transactions
[    1.903989] High-Speed Isochronous Endpoints
[    1.921061] dwc_otg: Microframe scheduler enabled
[    1.921124] WARN::hcd_init:473: FIQ at 0xc031642c
[    1.925922] WARN::hcd_init:474: FIQ ASM at 0xc03166e0 length 36
[    1.931998] WARN::hcd_init:500: MPHI regs_base at 0xccc1a000
[    1.937812] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.942837] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.950282] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.955894] Init: Port Power? op_state=1
[    1.959926] Init: Power Port (0)
[    1.963535] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.970500] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.977884] usb usb1: Product: DWC OTG Controller
[    1.982681] usb usb1: Manufacturer: Linux 3.15.3+ dwc_otg_hcd
[    1.988561] usb usb1: SerialNumber: bcm2708_usb
[    1.994196] hub 1-0:1.0: USB hub found
[    1.998200] hub 1-0:1.0: 1 port detected
[    2.002771] dwc_otg: FIQ enabled
[    2.002790] dwc_otg: NAK holdoff enabled
[    2.002800] dwc_otg: FIQ split-transaction FSM enabled
[    2.002825] Module dwc_common_port init
[    2.003311] usbcore: registered new interface driver usb-storage
[    2.015225] mousedev: PS/2 mouse device common for all mice
[    2.026987] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[    2.038323] bcm2835-cpufreq: switching to governor powersave
[    2.049232] bcm2835-cpufreq: switching to governor powersave
[    2.060108] sdhci: Secure Digital Host Controller Interface driver
[    2.071479] sdhci: Copyright(c) Pierre Ossman
[    2.081106] sdhci: Enable low-latency mode
[    2.090475] mmc0: no vqmmc regulator found
[    2.099948] mmc0: no vmmc regulator found
[    2.146174] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    2.159453] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.170782] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.183898] hidraw: raw HID events driver (C) Jiri Kosina
[    2.198884] Indeed it is in host mode hprt0 = 00021501
[    2.212798] usbcore: registered new interface driver usbhid
[    2.228416] usbhid: USB HID core driver
[    2.256418] TCP: cubic registered
[    2.276155] Initializing XFRM netlink socket
[    2.296175] NET: Registered protocol family 17
[    2.305871] Key type dns_resolver registered
[    2.337471] registered taskstats version 1
[    2.350152] Waiting for root device /dev/mmcblk0p2...
[    2.457785] mmc0: could read SD Configuration register (SCR) at the 2th attempt
[    2.470577] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.482477] Indeed it is in host mode hprt0 = 00001101
[    2.499630] mmc0: new high speed SDHC card at address b368
[    2.526862] mmcblk0: mmc0:b368 SDU8G 7.45 GiB
[    2.547650]  mmcblk0: p1 p2
[    2.597194] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.610913] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.623383] devtmpfs: mounted
[    2.632322] Freeing unused kernel memory: 132K (c05b7000 - c05d8000)
[    2.716991] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.729873] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.745496] hub 1-1:1.0: USB hub found
[    2.755097] hub 1-1:1.0: 3 ports detected
[    3.036427] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.146688] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.164256] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.189669] smsc95xx v1.0.4
[    3.264677] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ba:ca:db
[    3.376432] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[    3.498553] usb 1-1.3: New USB device found, idVendor=0451, idProduct=2046
[    3.514707] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.530935] hub 1-1.3:1.0: USB hub found
[    3.541264] hub 1-1.3:1.0: 4 ports detected
[    3.826641] usb 1-1.3.3: new full-speed USB device number 5 using dwc_otg
[    3.965624] usb 1-1.3.3: New USB device found, idVendor=06a3, idProduct=0be8
[    3.988818] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.016273] usb 1-1.3.3: Product: Saitek GM2400 Gaming Mouse
[    4.046246] usb 1-1.3.3: Manufacturer: Saitek
[    4.084255] input: Saitek Saitek GM2400 Gaming Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/0003:06A3:0BE8.0001/input/input0
[    4.127220] hid-generic 0003:06A3:0BE8.0001: input,hidraw0: USB HID v1.11 Mouse [Saitek Saitek GM2400 Gaming Mouse] on usb-bcm2708_usb-1.3.3/input0
[    4.246617] usb 1-1.3.4: new low-speed USB device number 6 using dwc_otg
[    4.388919] usb 1-1.3.4: New USB device found, idVendor=046d, idProduct=c317
[    4.416361] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.442103] usb 1-1.3.4: Product: USB M_ltimedia Keyboard
[    4.463730] usb 1-1.3.4: Manufacturer: Logitech
[    4.496434] random: nonblocking pool is initialized
[    4.514531] input: Logitech USB M_ltimedia Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.0/0003:046D:C317.0002/input/input1
[    4.535445] hid-generic 0003:046D:C317.0002: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB M_ltimedia Keyboard] on usb-bcm2708_usb-1.3.4/input0
[    4.580611] input: Logitech USB M_ltimedia Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.1/0003:046D:C317.0003/input/input2
[    4.602187] hid-generic 0003:046D:C317.0003: input,hidraw2: USB HID v1.10 Device [Logitech USB M_ltimedia Keyboard] on usb-bcm2708_usb-1.3.4/input1
[    4.632955] udevd[158]: starting version 175
[    4.866581] usb 1-1.3.1: new full-speed USB device number 7 using dwc_otg
[    4.999858] usb 1-1.3.1: not running at top speed; connect to a high speed hub
[    5.022739] usb 1-1.3.1: New USB device found, idVendor=0586, idProduct=340f
[    5.062490] usb 1-1.3.1: New USB device strings: Mfr=16, Product=32, SerialNumber=0
[    5.096332] usb 1-1.3.1: Product: ZyXEL G-220
[    5.118624] usb 1-1.3.1: Manufacturer: ZyDAS
[    5.397328] cfg80211: Calling CRDA to update world regulatory domain
[    5.675468] usb 1-1.3.1: reset full-speed USB device number 7 using dwc_otg
[    5.908952] Adafruit Industries' Raspberry Pi PWM driver v1.0
[    6.050503] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    6.051667] zd1211rw 1-1.3.1:1.0: phy0
[    6.176563] usbcore: registered new interface driver zd1211rw
[   12.528808] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   13.137717] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   14.163366] bcm2708_i2c_init_pinmode(0,0)
[   14.186386] bcm2708_i2c_init_pinmode(0,1)
[   14.210413] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100000)
[   14.243753] bcm2708_i2c_init_pinmode(1,2)
[   14.266247] bcm2708_i2c_init_pinmode(1,3)
[   14.287251] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[   14.437407] bcm2708_spi bcm2708_spi.0: DMA channel 4 at address 0xf2007400 with irq 20
[   14.452737] bcm2708_spi bcm2708_spi.0: DMA channel 5 at address 0xf2007500 with irq 21
[   14.471189] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[   14.485493] bcm2708_spi bcm2708_spi.0: SPI Controller running in dma mode
[   14.612963] fbtft_device:  SPI devices registered:
[   14.624955] fbtft_device:  'fb' Platform devices registered:
[   14.637691] fbtft_device:      bcm2708_fb id=-1 pdata? no
[   14.650172] fbtft_device:  I2C devices registered:
[   14.661900] fbtft_device:       i2c-0  addr 48918  IRQ 0
[   14.674056] fbtft_device:       i2c-1  addr 48918  IRQ 1
[   14.766567] fbtft_device:  GPIOS used by 'adafruitct28':
[   14.796275] fbtft_device:    'dc' = GPIO25
[   14.816287] fbtft_device:  SPI devices registered:
[   14.836322] fbtft_device:      fb_ili9340 spi0.0 32000kHz 8 bits mode=0x00
[   14.854801] fbtft_device:  I2C devices registered:
[   14.866495] fbtft_device:       i2c-0  addr 48918  IRQ 0
[   14.878491] fbtft_device:       i2c-1  addr 48918  IRQ 1
[   14.890398] fbtft_device:      ft6x06_ts 1-0038  addr 56  IRQ 0
[   15.354715] input: ft6x06_ts as /devices/virtual/input/input3
[   15.606477] i2c-core: driver [ft6x06_ts] using legacy suspend method
[   15.676341] i2c-core: driver [ft6x06_ts] using legacy resume method
[   15.869183] graphics fb1: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 4 KiB DMA buffer memory, fps=20, spi0.0 at 32 MHz
[   24.559943] zd1211rw 1-1.3.1:1.0: firmware version 4725
[   24.599929] zd1211rw 1-1.3.1:1.0: zd1211b chip 0586:340f v4810 full 00-19-cb AL2230_RF pa0 g---S
[   25.206422] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   28.536082] wlan0: authenticate with c0:c1:c0:56:5f:ff
[   28.550758] wlan0: send auth to c0:c1:c0:56:5f:ff (try 1/3)
[   28.756389] wlan0: send auth to c0:c1:c0:56:5f:ff (try 2/3)
[   28.766603] wlan0: authenticated
[   28.767900] zd1211rw 1-1.3.1:1.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[   28.776415] wlan0: associate with c0:c1:c0:56:5f:ff (try 1/3)
[   28.780355] wlan0: RX AssocResp from c0:c1:c0:56:5f:ff (capab=0x411 status=0 aid=11)
[   28.780522] wlan0: associated
[   32.924212] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SSFS
[  251.315950] ft6x06_ts 1-0038: ft6x06_read_touchdata read touchdata failed.
[  251.321854] ft6x06_ts 1-0038: ft6x06_read_touchdata read touchdata failed.
[  251.333386] ft6x06_ts 1-0038: ft6x06_read_touchdata read touchdata failed.

The line "ft6x06_ts 1-0038: ft6x06_read_touchdata read touchdata failed." repeats itself a significant amount, (I'm guessing for every time I touch the screen while running X11) then the console output ends.

I've included some photos of my soldering job for reference:
GPIO
GPIO
IMG_0513 copy.JPG (147.58 KiB) Viewed 2097 times
Buttons
Buttons
IMG_0512copy.jpg (232.28 KiB) Viewed 2097 times
Also, I'm using a RPi Model B rev1, if that information is by chance relevant at all.

At this point, I'm pretty sure it may be a hardware problem, but I could be wrong... I'm new to hobbyist electronics, so I'm assuming I must have goofed up somewhere.

Any help would be greatly appreciated!

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by Franklin97355 »

There are two libraries, one for resistive and one for capacitive make sure you are using the correct one.

madz
 
Posts: 5
Joined: Fri Jan 11, 2013 2:25 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by madz »

Did you ever solve this? I have the same exact issue and I swear I am using the correct libraries.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by Franklin97355 »

OK, let's start with pictures of the soldering and what symptoms you have and what you have done to solve it.

madz
 
Posts: 5
Joined: Fri Jan 11, 2013 2:25 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by madz »

1. I installed a fresh copy of Raspian 'v.June 2014' (release date: 2014-06-20)

2. Followed all the steps on the Software Install page.
- I also copied and pasted each line individually to make sure every package was downloaded.
- I made sure to turn off the x frame buffer after installing the packages.
- Did a regular reboot because my screen was already installed at this point.
- Ran the next 3 commands that are supposed to turn the screen black and it succeeded.
- Ran the graphics demo and the desktop appeared.
- Set up the module auto loading exactly like in the screen shot.
- Created the mod probe file using that default configuration.
- After reboot I checked 'dmesg' and it reflected that the installation was successful.
- Created the 99-captouch.conf file in the directory that was specified and pasted in the default config provided.

3. At this point I ran the 'FRAMEBUFFER=/dev/fb1 startx' command and the desktop appeared again, but my screen was completely unresponsive to touch.

4. I checked dmesg after running that and it looked basically the same except I had a lot of messages that said, "ft6x06_ts 1-0038: ft6x06_read_touchdata read touchdata failed." appended to the bottom.

5. For the heck of it, I ran the capacitive "calibration" on the next page, but it didnt seem to change anything.

6. I followed the instructions to make the console appear on the screen and that worked perfectly.

7. I was at my whits end so I tried doing a complete reinstall of everything over again thinking i missed a step. Nothing.
Picture of my solder work (Also provided direct link):
Image
link: https://www.dropbox.com/s/l2jxm0on6r7lu ... 190109.jpg

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by Franklin97355 »

Several connections need the soldering redone (or maybe it's just the photo) I'll see if anyone has any ideas.
Attachments
2014-08-16_17h48_10.png
2014-08-16_17h48_10.png (213.36 KiB) Viewed 2024 times

madz
 
Posts: 5
Joined: Fri Jan 11, 2013 2:25 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by madz »

I retouched a few additional ones and they all seem pretty solid. Unfortunately still no progress.... :(
Image

madz
 
Posts: 5
Joined: Fri Jan 11, 2013 2:25 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by madz »

Stupid links. Here is the direct link to the image
https://drive.google.com/file/d/0By8e42 ... sp=sharing

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by Franklin97355 »

Again I'm not sure if it is the light or not but I marked the ones in red that look bad (not complete coverage or bulged) The ones in green that look great and there are a few with a dull sheen that look OK but that dullness means they may have cooled too fast and are prone to cracking. If I didn't link it before here is the Adafruit Soldering Guide
Attachments
2014-08-17_07h09_29.png
2014-08-17_07h09_29.png (677.48 KiB) Viewed 1951 times

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by adafruit2 »

Ya if its anything it would be the two SDA/SCL pins, in the top left
http://iqjar.com/jar/wp-content/uploads ... header.png

if that doesnt help, email support@adafruit for a new pi tft

madz
 
Posts: 5
Joined: Fri Jan 11, 2013 2:25 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by madz »

Don't take this as disrespect, but I know how to solder and these connections are solid...

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by adafruit2 »

hiya, checking in on this thread, do you mind trying the new 'easy setup' image?
https://learn.adafruit.com/adafruit-2-8 ... sy-install
we're trying to figure out why these displays/touch work fine in the factory (we hand test each one) but then don't respond to touch sometimes when customers get them
thank you!

User avatar
sfomad
 
Posts: 13
Joined: Fri Nov 18, 2011 11:09 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by sfomad »

I received mine today and installed the easy setup image. I have the same issue, here is a fragment of dmesg:

[ 20.280653] i2c-core: driver [ft6x06_ts] using legacy suspend method
[ 20.288681] i2c-core: driver [ft6x06_ts] using legacy resume method
[ 20.626780] graphics fb1: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 4 KiB DMA buffer memory, fps=20, spi0.0 at 32 MHz
<non-related lines removed>
[ 337.405147] ft6x06_ts 1-0038: ft6x06_read_touchdata read touchdata failed.

Solder pins look ok.

Is there anything to be done to debug this issue?

Thanks

User avatar
sfomad
 
Posts: 13
Joined: Fri Nov 18, 2011 11:09 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by sfomad »

it seems like i found what the issue is:

from FAQ: "verify your RasPi model number with the command cat /proc/cpuinfo, if it's revision # 0002 or 0003 that means it's a rev 1 Model B, and will not work due to the I2C pins changing."

Is there any workaround to this?

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: PiTFT + Capacitive Touch - Touch screen not working

Post by adafruit2 »

Not at this time, the i2c bus moved! we're aware of the issue but it requires recompiling the kernel to add support for alternative I2C busses and there's no ETA at this time :(

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”