Yes, that one. Later I've decided to give this driver a try: https://github.com/rastersoft/gsl1680
It worked like a charm. I just had to swap the x and y coordinates on code, because it was working in portrait mode, but that's all. 2015-03-12 5:17 GMT-03:00 Priit Laes <[email protected]>: > On Wed, 2015-03-11 at 20:08 -0300, Leonardo wrote: > > Hello everybody. I'm having such a hard time trying to get the > > GSL1680 touch panel working on my A20 device. Actually it's a INET > > K70 tablet and I would like to replace it's Android for a full Linux > > distro. > > This one? http://linux-sunxi.org/Inet_k70hc > > If not, then please start here: > http://linux-sunxi.org/New_Device_howto > > > Currently I'm booting using a SD card with Cubian (kernel 3.4.79), > > which is a distro made for Cubieboard, but as they're both A20, it > > works perfectly. I'm using this driver: > > > > https://groups.google.com/d/topic/linux-sunxi/SZGxiTQcFyY/discussion > > https://gitorious.org/gslx680-for-sunxi/gslx680-for-sunxi > > > > It is the most recommended, according to > > http://linux-sunxi.org/GSL1680#Linux_driver > > > > From the Android's driver I could extract the following firmwares: > > GSL1680D_FW_K70.fw > > GSL1680E_FW_K70.fw > > GSL1680E_FW_K70_GG.fw > > GSL1680E_FW_K70_SG_NSM.fw > > GSL1680E_FW_K702B_PG_GS00.fw > > GSL1680E_FW_K703_PG.fw > > GSL1680E_FW_K70L_PG_YPD.fw > > GSL1680E_FW_K70L_V2.fw > > GSL1680E_FW_K70T_PG.fw > > GSL1680E_FW_K70T_PG_80048.fw > > GSL1688E_FW_K71_GG_102460.fw > > GSL1688E_FW_K71_OGS_10246.fw > > GSL1688E_FW_K71_OGS_80048.fw > > GSL1688E_FW_K71_PG_102460.fw > > GSL1688E_FW_K71_PG_800480.fw > > GSL1688E_FW_K72EW_OGS.fw > > GSL1688E_FW_K72EW_OGS_800.fw > > GSL1688E_FW_K72EW_PG.fw > > GSL1688E_FW_K72EW_PG_8004.fw > > GSL2682A_FW_K70_TOPSUN_OG.fw > > GSL2682B_FW_K790_OGS.fw > > GSL2682B_FW_K790_OGS_QSD.fw > > GSL2682B_FW_K790_PG_C1961.fw > > GSL2682B_FW_K790_PG_V2.fw > > GSL3680_FW_K100_PG_QLT100.fw > > GSL3680_FW_K9701L2B_TOPSU.fw > > Since on my chip it's written "GSL1680" and my tablet is a K70, I'm > > assuming the ones I colored blue are the good ones. > > > > After compiling the driver, I started getting a "gslx680: probe of 2- > > 0040 failed with error -22" error during boot. I got around this one > > by removing the IRQF_TRIGGER_FALLING flag from source code, as > > suggested here: > > > > https://groups.google.com/d/msg/linux-sunxi/SZGxiTQcFyY/qAFBsbt_9doJ > > > > It seems to be an A20 issue, as the same patch is required for the > > FT5x panel (see here). > > > > Now the kernel crashes when I try to boot. Luckily SSH still works, > > so I am able to disable the module and recover the system. A few > > times, despite the crash, the desktop loads successfully and I can > > get the cursor to move, but it's rare. The boot log is bellow. Could > > anyone help me getting it right? > > > > Thank you. > > > > [ 105.001094] > > ===========================gslx680_ts_init===================== > > [ 105.003649] _fetch_sysconfig_para. > > [ 105.007681] gslx680 firmware GSL1680E_FW_K70L_V2.fw. > > [ 105.016815] _fetch_sysconfig_para: after: ctp_twi_addr is 0x40, > > dirty_addr_buf: 0x40. dirty_addr_buf[1]: 0xfffe > > [ 105.020912] _fetch_sysconfig_para: ctp_twi_id is 2. > > [ 105.025235] _fetch_sysconfig_para: screen_max_x = 1024. > > [ 105.029424] _fetch_sysconfig_para: screen_max_y = 600. > > [ 105.033526] _fetch_sysconfig_para: revert_x_flag = 0. > > [ 105.037662] _fetch_sysconfig_para: revert_y_flag = 0. > > [ 105.042123] _fetch_sysconfig_para: exchange_x_y_flag = 0. > > [ 105.046904] _init_platform_resource: tp_io request gpio fail! [ > > 105.052219] i2c-core: driver [gslx680] using legacy suspend method [ > > 105.057347] i2c-core: driver [gslx680] using legacy resume method [ > > 105.059769] incomplete xfer (0x20) > > [ 105.065004] incomplete xfer (0x20) > > [ 105.071175] ctp_detect: Detected chip gslx680 at adapter 2, > > address 0x40 > > [ 105.075078] ====gslx680_ts_probe begin=====. > > [ 105.077122] ==kzalloc success= > > [ 105.079955] [GSLX680] Enter gsl_ts_init_ts > > [ 105.084326] ctp_set_irq_mode: config gpio to int mode. > > [ 105.090373] ctp_set_irq_mode, 854: gpio_int_info, port = 8, > > port_num = 21. > > [ 105.092447] INTERRUPT CONFIG > > [ 105.102321] input: gslx680 as /devices/platform/sunxi-i2c.2/i2c- > > 2/2-0040/input/input1 > > [ 105.193666] =============gsl_load_fw start============== > > [ 105.235179] usb 2-1: new high-speed USB device number 2 using sw- > > ehci [ 106.638105] =============gsl_load_fw end============== > > [ 106.952754] ==gslx680_ts_probe over = > > [ 112.663989] EXT4-fs (mmcblk0p1): mounted filesystem with ordered > > data mode. Opts: (null) > > [ 117.500978] Installing knfsd (copyright (C) 1996 [email protected] > > ). [ 128.578084] Unable to handle kernel paging request at virtual > > address 12d51004 > > [ 128.579812] pgd = ee7b8000 > > [ 128.603298] [12d51004] *pgd=00000000 > > [ 128.610688] Internal error: Oops: 5 [#1] PREEMPT SMP ARM > > [ 128.612584] Modules linked in: nfsd exportfs gslx680_ts(O) 8188eu > > cp210x sunxi_cedar_mod mali ump gpio_sunxi > > [ 128.624646] CPU: 1 Tainted: G O (3.4.79-sun7i #14) [ > > 128.627862] PC is at module_refcount+0x3c/0xb0 > > [ 128.631080] LR is at module_refcount+0x54/0xb0 > > [ 128.640242] pc : [<c007f130>] lr : [<c007f148>] psr: > > 20000013 [ 128.640262] sp : eeaf9eb8 ip : 00000000 fp : bf0f0534 > > [ 128.644299] r10: 00000000 r9 : c0acc658 r8 : c0acbac8 > > [ 128.649592] r7 : bf0f0530 r6 : c078ba34 r5 : 00000000 r4 : > > c0acc374 > > [ 128.654884] r3 : 12d51000 r2 : 12d51000 r1 : 00000002 r0 : > > 00000000 > > [ 128.660780] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM > > Segment user > > [ 128.665361] Control: 10c5387d Table: 6e7b806a DAC: 00000015 [ > > 128.667099] > > [ 128.667108] PC: 0xc007f0b0: > > [ 128.667584] f0b0 e585300c e5943000 e0836186 e5856010 e28dd00c > > e8bd80f0 e5d53005 e3530000 > > [ 128.674782] f0d0 0afffff1 e30203f0 e5951000 e34c0096 eb1beabb > > e302044c e34c0096 eb1beab8 > > [ 128.681933] f0f0 eaffffe9 e92d43f8 e30b6a34 e30c4374 e34c6078 > > e30c9658 e1a07000 e5968000 > > [ 128.689190] f110 e34c40ac e34c90ac e3e00000 e3a05000 ea000004 > > e7992100 e5973154 e0833002 > > [ 128.696399] f130 e5933004 e0855003 e2802001 e3a01002 e1a00008 > > eb0ecc0d e5943000 e1530000 > > [ 128.703547] f150 cafffff3 f57ff05f e30c9658 e5968000 e34c90ac > > e3e00000 e3a06000 ea000003 > > [ 128.710723] f170 e7992100 e5973154 e7933002 e0866003 e2802001 > > e3a01002 e1a00008 eb0ecbfb > > [ 128.717864] f190 e5943000 e1530000 cafffff4 e0650006 e8bd83f8 > > e92d4010 e1a04000 e5900000 > > [ 128.726265] > > [ 128.726285] LR: 0xc007f0c8: > > [ 128.726768] f0c8 e5d53005 e3530000 0afffff1 e30203f0 e5951000 > > e34c0096 eb1beabb e302044c > > [ 128.733974] f0e8 e34c0096 eb1beab8 eaffffe9 e92d43f8 e30b6a34 > > e30c4374 e34c6078 e30c9658 > > [ 128.741058] f108 e1a07000 e5968000 e34c40ac e34c90ac e3e00000 > > e3a05000 ea000004 e7992100 > > [ 128.748292] f128 e5973154 e0833002 e5933004 e0855003 e2802001 > > e3a01002 e1a00008 eb0ecc0d > > [ 128.755444] f148 e5943000 e1530000 cafffff3 f57ff05f e30c9658 > > e5968000 e34c90ac e3e00000 > > [ 128.762604] f168 e3a06000 ea000003 e7992100 e5973154 e7933002 > > e0866003 e2802001 e3a01002 > > [ 128.769671] f188 e1a00008 eb0ecbfb e5943000 e1530000 cafffff4 > > e0650006 e8bd83f8 e92d4010 > > [ 128.776811] f1a8 e1a04000 e5900000 ebffffcf e3500000 15943008 > > 13a02000 05943000 03a02002 > > [ 128.785179] > > [ 128.785191] SP: 0xeeaf9e38: > > [ 128.785659] 9e38 00000008 ffffffff b6eb1000 ee7be5d8 00000001 > > ee6fa051 c096251d c096251d > > [ 128.792763] 9e58 c007f130 20000013 ffffffff eeaf9ea4 c0acbac8 > > c000e798 00000000 00000002 > > [ 128.799958] 9e78 12d51000 12d51000 c0acc374 00000000 c078ba34 > > bf0f0530 c0acbac8 c0acc658 > > [ 128.807043] 9e98 00000000 bf0f0534 00000000 eeaf9eb8 c007f148 > > c007f130 20000013 ffffffff > > [ 128.814095] 9eb8 00000046 ee52d700 ee52d700 bf0f0534 bf0f0534 > > bf0f0530 eeaf9f88 c007fb90 > > [ 128.821163] 9ed8 c0107ad0 eeab2b40 ee52d700 00000046 00000000 > > eeab2b40 00000400 c0107de0 > > [ 128.828221] 9ef8 b6f67000 ee52d728 00000001 00000000 00000002 > > 00000000 00000001 ef3fc280 > > [ 128.835251] 9f18 c0107ad0 eeab2b40 eeaf9f88 00000400 b6f67000 > > 00000000 00000000 c013a030 > > [ 128.843599] > > [ 128.843611] R4: 0xc0acc2f4: > > [ 128.844070] c2f4 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 128.851156] c314 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 128.858279] c334 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 128.865332] c354 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000001 > > [ 128.872375] c374 00000002 00000001 00000000 00000001 00000000 > > ef3fc380 00000000 00000000 > > [ 128.879488] c394 00000078 00008000 0000000a 00000000 00000000 > > 00000000 00000001 00000001 > > [ 128.886583] c3b4 0000003c 00000001 00000000 c0b31780 00000000 > > 00000064 00000300 c0acc3d0 > > [ 128.893638] c3d4 c0acc3d0 c00a9d44 00000000 00000000 00000000 > > c0bc8780 00000000 00000000 > > [ 128.901999] > > [ 128.902013] R6: 0xc078b9b4: > > [ 128.902473] b9b4 00000020 00000040 00000080 00000100 00000200 > > 00000400 00000800 00001000 > > [ 128.909544] b9d4 00002000 00004000 00008000 00010000 00020000 > > 00040000 00080000 00100000 > > [ 128.916601] b9f4 00200000 00400000 00800000 01000000 02000000 > > 04000000 08000000 10000000 > > [ 128.923726] ba14 20000000 40000000 80000000 7570635f 0070755f > > c0acbacc c0acbac4 c0acbac0 > > [ 128.930825] ba34 c0acbac8 00000003 00000063 c003e41c c003ddf0 > > c003e3e8 c003dd4c 00000000 > > [ 128.937947] ba54 c01079c0 c0107ad0 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 128.945132] ba74 00000000 00000000 c003dd1c 00000000 c0107834 > > 00000000 00000000 00000000 > > [ 128.952174] ba94 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 128.960471] > > [ 128.960489] R8: 0xc0acba48: > > [ 128.960959] ba48 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 128.968138] ba68 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 128.975251] ba88 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 c0abb358 > > [ 128.982337] baa8 c0abb35c ef0007c0 000000a0 00000000 00000000 > > 00000000 00000003 00000003 > > [ 128.989395] bac8 00000003 00000003 00000000 ef020880 ef020900 > > ef020980 ef020a00 ef020a80 > > [ 128.996489] bae8 ef020b00 00000001 00000000 c0960684 c096069c > > c09606a8 c09606b8 c09606c4 > > [ 129.003584] bb08 c09606d0 c09606e0 c09606ec c09606f4 c0960700 > > c0960708 c0960714 c0960724 > > [ 129.010679] bb28 c0960730 c0960744 c0960758 00000000 00005e37 > > 000003e8 00000001 00000001 > > [ 129.018985] > > [ 129.018994] R9: 0xc0acc5d8: > > [ 129.019463] c5d8 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 129.026606] c5f8 00000000 00000000 00000000 00000000 00000000 > > 00000000 00000000 00000000 > > [ 129.033721] c618 00000064 00008000 0000000f 00000002 00000008 > > d38170c0 d3817080 d3817040 > > [ 129.040791] c638 d3808000 0000002c d380f000 d3817000 00000001 > > 00001000 00000000 00000001 > > [ 129.047909] c658 12d51000 12d59000 00010800 00000002 0006f799 > > 0007ffff 00000000 00000032 > > [ 129.055019] c678 0000fffa 00000001 ef004600 00000000 00000001 > > ef0066c0 c07715c8 c00e65e4 > > [ 129.062099] c698 c00e3268 00000000 c00e69e4 c00e3264 c00e3160 > > 00000000 00000000 c00e25e8 > > [ 129.069316] c6b8 00000000 00000000 00000003 00000001 00000000 > > 00000000 00000001 c0973e74 > > [ 129.080856] Process lsmod (pid: 2238, stack limit = 0xeeaf82f0) [ > > 129.084303] Stack: (0xeeaf9eb8 to 0xeeafa000) > > [ 129.091661] 9ea0: > > 00000046 ee52d700 > > [ 129.098867] 9ec0: ee52d700 bf0f0534 bf0f0534 bf0f0530 eeaf9f88 > > c007fb90 c0107ad0 eeab2b40 > > [ 129.106187] 9ee0: ee52d700 00000046 00000000 eeab2b40 00000400 > > c0107de0 b6f67000 ee52d728 > > [ 129.113382] 9f00: 00000001 00000000 00000002 00000000 00000001 > > ef3fc280 c0107ad0 eeab2b40 > > [ 129.120566] 9f20: eeaf9f88 00000400 b6f67000 00000000 00000000 > > c013a030 eeaf9f88 eeab2b40 > > [ 129.127970] 9f40: b6f67000 eeaf8018 eeaf9f88 00000400 eeaf8000 > > c00ea578 00000001 00000001 > > [ 129.135158] 9f60: eeaf9f74 00000000 00000000 eeab2b40 b6f67000 > > 00000400 eeaf8000 c00eaa28 > > [ 129.142345] 9f80: 00100073 00000000 00000000 00000000 b76d2d28 > > b6f01c78 00000000 00000003 > > [ 129.149532] 9fa0: c000ed84 c000ec00 b76d2d28 b6f01c78 00000003 > > b6f67000 00000400 00000000 > > [ 129.156709] 9fc0: b76d2d28 b6f01c78 00000000 00000003 bef9ac5c > > 0000000a bef9ac5c 00000000 > > [ 129.164060] 9fe0: 00000000 bef9abb0 b6e71605 b6ea9fdc 40000010 > > 00000003 00000000 00000000 > > [ 129.171267] [<c007f130>] (module_refcount+0x3c/0xb0) from > > [<c007fb90>] (m_show+0x3c/0x178) > > [ 129.177859] [<c007fb90>] (m_show+0x3c/0x178) from [<c0107de0>] > > (seq_read+0x310/0x49c) > > [ 129.184975] [<c0107de0>] (seq_read+0x310/0x49c) from [<c013a030>] > > (proc_reg_read+0x70/0x94) > > [ 129.191985] [<c013a030>] (proc_reg_read+0x70/0x94) from > > [<c00ea578>] (vfs_read+0x98/0x174) > > [ 129.198576] [<c00ea578>] (vfs_read+0x98/0x174) from [<c00eaa28>] > > (sys_read+0x38/0x78) > > [ 129.205728] [<c00eaa28>] (sys_read+0x38/0x78) from [<c000ec00>] > > (ret_fast_syscall+0x0/0x30) > > [ 129.210967] Code: ea000004 e7992100 e5973154 e0833002 (e5933004) [ > > 129.242667] ---[ end trace cf7c7aa79bbac358 ]--- > > > > -- > > You received this message because you are subscribed to the Google > > Groups "linux-sunxi" group. > > To unsubscribe from this group and stop receiving emails from it, > > send an email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
