notro / rpi-firmware

Deprecated: Raspberry Pi kernel and firmware with support for FBTFT
Other
94 stars 32 forks source link

Please add FT6206 driver #9

Closed andrasbiro closed 9 years ago

andrasbiro commented 9 years ago

This touch driver ic is on adafruit's 2.8" capacitive touchscreen (https://learn.adafruit.com/adafruit-2-8-pitft-capacitive-touch/downloads). As far as I know, only they have driver for it: https://github.com/adafruit/adafruit-raspberrypi-linux/blob/rpi-3.10.y/drivers/input/touchscreen/ft6x06_ts.c I'm not sure haw hard would it be to include it in your kernel.

The screen itself is usable with name="pitft".

edmandiesamonte commented 9 years ago

I'm having the same concern. @andrasbiro, where you able to do a workaround?

andrasbiro commented 9 years ago

I'm using the 20140421 adafruit kernel. See this topic: http://forums.adafruit.com/viewtopic.php?f=47&t=63696&sid=683589221e8d4afcdb96df7571493823&start=15

edmandiesamonte commented 9 years ago

Good for you, @andrasbiro. Unfortunately for me, I'm using ArchLinux ARM for my project. I tried using @notro's rpi firmware. I was able to make the display work by using name=pitft but,as you might know, it's only compatible for the resistive version. I tried Adafruit's rpi-firware but with now luck. I'm getting the following message when I try to load the name=adafruitct28:

fbtft_device: init
[ 1037.850906] fbtft_device:  SPI devices registered:
[ 1037.857563] fbtft_device:  'fb' Platform devices registered:
[ 1037.874596] fbtft_device:      bcm2708_fb id=-1 pdata? no
[ 1037.884089] fbtft_device:  I2C devices registered:
[ 1037.893115] fbtft_device:       i2c-0  addr 48903  IRQ 0
[ 1037.900393] fbtft_device:       i2c-1  addr 48903  IRQ 1
[ 1037.910696] fbtft_device:      wm8804 1-003b  addr 59  IRQ 0
[ 1037.919029] fbtft_device:      pcm5122 1-004c  addr 76  IRQ 0
[ 1037.931565] fbtft_device:      ft6x06_ts 1-0038  addr 56  IRQ 0
[ 1037.940171] fbtft_device:  name='adafruitct28', busnum=0, cs=0
[ 1037.940250] fbtft_device: Looking at item 0
[ 1037.940265] fbtft_device: Setting pin 24 to 2
[ 1038.010686] i2c i2c-1: Failed to register i2c client ft6x06_ts at 0x38 (-16)
[ 1038.020419] fbtft_device:    i2c_new_device() returned NULL
[ 1038.033282] fbtft_device: failed to register I2C device

I already did the modprobe for spi_bcm2708 and i2c_bcm2708.

notro commented 9 years ago

Closing issue since there has been no activity for more than 2 months. Reopen if needed.

drabaioli commented 8 years ago

Same here, I'm not able to get the 2.8" cap touch screen working with the default raspberrypi/linux repo. Apparently driver for ft6236 has been dropped into Linux 4.4.y in October 2015, but I'm not sure it's the same as the ft6206. Any way to get it working without using adafruit/linux?

andy-shev commented 5 years ago

To everybody with similar issues: https://gist.github.com/pdp7/18bec30b3d5b23d52f9422a61b931d52 To @drabaioli , see above, there is a link to a patch from @jwrdegoede that states the models are compatible.