Touch problem with Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Touch problem with Linux

Jump to solution
1,875 Views
vishvapathi
Contributor V

    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.

 

Daiane Angolini

Raybiztech RBT

Winston Rodrigues

Wigros Sun

Original Attachment has been moved to: android-boot-screen.zip

Labels (2)
1 Solution
1,023 Views
vishvapathi
Contributor V

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

View solution in original post

5 Replies
1,023 Views
daiane_angolini
NXP Employee
NXP Employee

Oh! So your hardware is OK.

Where are your Android linux source code?

Where are your pure linux source code?

Let´s compare

0 Kudos
1,023 Views
vishvapathi
Contributor V

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

0 Kudos
1,023 Views
daiane_angolini
NXP Employee
NXP Employee

I would start with the board file first.

This file

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-mx6/board-mx6q_sabres...

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

0 Kudos
1,024 Views
vishvapathi
Contributor V

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

1,023 Views
daiane_angolini
NXP Employee
NXP Employee

Perfect!

I´m glad to hear that :smileywink:

0 Kudos