Hi,
Touch Screen works fine with Android, but not in Linux image. while booting in linux getting following error in Linux.
>>>>> ct360_get_vendor() called <<<<<
Chip ID: 0x1
Chip data allocation failed: 0x1
i2c-core: driver [generic_ts] using legacy suspend method
i2c-core: driver [generic_ts] using legacy resume method
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
i2c /dev entries driver
Attached dmesg of android for reference.
Any help is appreciated.
Original Attachment has been moved to: android-boot-screen.zip
Solved! Go to Solution.
Hi Daiane,
I got help from Embest tech and now my Touch screen is working fine in Linux. :smileyhappy:
https://github.com/embest-tech/linux-imx/commit/4006c19c6beda96a0bd5855a1ab27a7b2e380cb5
Thanks to all
Oh! So your hardware is OK.
Where are your Android linux source code?
Where are your pure linux source code?
Let´s compare
Hi Daiane,
I have attached touchscreen source of both Android Linux and pure Linux.
While making uImage i am getting the below warnings.. Attached partial log for reference
drivers/input/touchscreen/generic_ts_rel/core_i2c.c:46: warning: 'bindata' defined but not used
drivers/input/touchscreen/generic_ts_rel/core_i2c.c: In function 'core_probe':
drivers/input/touchscreen/generic_ts_rel/core_i2c.c:393: warning: 'vendor' may be used uninitialized in this function
CC drivers/input/touchscreen/generic_ts_rel/plat_i2c.o
In file included from drivers/input/touchscreen/generic_ts_rel/platform.h:8,
from drivers/input/touchscreen/generic_ts_rel/core_i2c.h:11,
from drivers/input/touchscreen/generic_ts_rel/plat_i2c.c:26:
drivers/input/touchscreen/generic_ts_rel/plat_i2c.h:47:1: warning: "PLATFORM_AW_CTP_IRQ_NUM" redefined
drivers/input/touchscreen/generic_ts_rel/plat_i2c.h:45:1: warning: this is the location of the previous definition
CC drivers/input/touchscreen/generic_ts_rel/mmgr.o
I would start with the board file first.
This file
And, you can use meld or diff to see the differences. Try to focus on keyworks like "spi" "i2c" "touch" "adv7846"
Oh, I´m sorry, but I don´t remember exactly what is the touch controller partnumber you´re using. Please use the right one as keyword
Hi Daiane,
I got help from Embest tech and now my Touch screen is working fine in Linux. :smileyhappy:
https://github.com/embest-tech/linux-imx/commit/4006c19c6beda96a0bd5855a1ab27a7b2e380cb5
Thanks to all
Perfect!
I´m glad to hear that :smileywink: