[Update] GSLX680 Touch driver working!

382 views
Skip to first unread message

Manoj Gudi

unread,
Mar 5, 2014, 5:51:01 AM3/5/14
to linux_o...@googlegroups.com, Kannan Moudgalya
The last touch driver for Aakash is now working..

The driver and firmware provided here workout of the box:
https://gitorious.org/gslx680-for-sunxi/gslx680-for-sunxi.git

However I'd to play around with script.fex file to get the gslx680_ts.ko insert correctly in kernel. Here's the diff:

manoj@manoj-Vostro-2420:~/scripts/aakash/other$ diff -u script.fex_old script.fex

--- script.fex_old    2014-03-05 16:14:15.327845021 +0530
+++ script.fex    2014-03-05 15:53:02.455859326 +0530
@@ -158,12 +158,13 @@
 
 [ctp_para]
 ctp_used = 1
-ctp_name = "ft5x_ts"
+ctp_name = "gslx680"
 ctp_twi_id = 1
-ctp_twi_addr = 0x38
+ctp_twi_addr = 0x40
+ctp_firmware = "a13_7inch_800x480.fw"
 ctp_screen_max_x = 800
 ctp_screen_max_y = 480
-ctp_revert_x_flag = 0
+ctp_revert_x_flag = 1
 ctp_revert_y_flag = 0
 ctp_exchange_x_y_flag = 0
 ctp_int_port = port:PG11<6><default><default><default>


-------------------Additional Info-------------------
Built against sunxi kernel 3.4.75  |  Branch: sunxi-3.4  |  Head Commit commit 9cfbbed3b2b098774b04553843d2f4092b8f7fe8


- Manoj
Message has been deleted

Srikant

unread,
May 4, 2014, 1:19:57 PM5/4/14
to Shubham Rao, linux_o...@googlegroups.com
Why you want it in patch ?

These script.bin's are different for different machines, sometimes even the values in script.bin are wrong and misleading.


On Sun, May 4, 2014 at 10:44 PM, Shubham Rao <cshub...@gmail.com> wrote:
Hi, I suggest convert it into a patch so that it can be applied easily:
diff -u oldScript.fex newScript.fex > Modification.patch

--
You received this message because you are subscribed to the Google Groups "Linux-on-Aakash" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux_on_aaka...@googlegroups.com.
To post to this group, send email to linux_o...@googlegroups.com.
Visit this group at http://groups.google.com/group/linux_on_aakash.
For more options, visit https://groups.google.com/d/optout.

isachin

unread,
May 4, 2014, 1:20:08 PM5/4/14
to Shubham Rao, linux_o...@googlegroups.com, Kannan Moudgalya
It is a patch.


On Sun, May 4, 2014 at 10:44 PM, Shubham Rao <cshub...@gmail.com> wrote:
Hi, I suggest convert it into a patch so that it can be applied easily:

diff -u oldScript.fex newScript.fex > Modification.patch

On Wednesday, 5 March 2014 16:21:01 UTC+5:30, Manoj Gudi wrote:

--
You received this message because you are subscribed to the Google Groups "Linux-on-Aakash" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux_on_aaka...@googlegroups.com.
To post to this group, send email to linux_o...@googlegroups.com.
Visit this group at http://groups.google.com/group/linux_on_aakash.
For more options, visit https://groups.google.com/d/optout.



--
Sachin

bon...@gmail.com

unread,
May 23, 2014, 12:08:37 AM5/23/14
to linux_o...@googlegroups.com, Shubham Rao, Kannan Moudgalya
Hello,
In wich path should the firmware file be located, to be correctly loaded by the module? Thanks!

Manoj Gudi

unread,
May 23, 2014, 12:27:51 AM5/23/14
to bon...@gmail.com, linux_o...@googlegroups.com, Shubham Rao
I think its /lib/firmware


Rodolfo Bonnin

unread,
May 23, 2014, 12:33:27 AM5/23/14
to Manoj Gudi, linux_o...@googlegroups.com, Shubham Rao
Yes, I've read it's the normal location, and the firmware it's sitting there, but the module indicates that it wasn't found. BTW, I'm using a F20 root image. Thanks for your help anyway!

Manoj Gudi

unread,
May 23, 2014, 12:44:10 AM5/23/14
to Rodolfo Bonnin, linux_o...@googlegroups.com



On Fri, May 23, 2014 at 10:09 AM, Rodolfo Bonnin <bon...@gmail.com> wrote:
Hello Manoj, would you mind sharing the sd image or root filesystem wich you used to test the driver? Thanks!
I would definitely  share the sdcard image but there are two issues
1. I dont have it now :)
2. Its an image for Allwinner A13. Pretty sure wont work for A20

I am putting this email back into linux_on_aakash google group. Pretty sure Srikant has it, he will help you out soon..


On Fri, May 23, 2014 at 1:33 AM, Rodolfo Bonnin <bon...@gmail.com> wrote:
Yes, I've read it's the normal location, and the firmware it's sitting there, but the module indicates that it wasn't found. BTW, I'm using a F20 root image. Thanks for your help anyway!

interesting, can you send me the error... 

Manoj Gudi

unread,
May 23, 2014, 12:54:33 AM5/23/14
to Rodolfo Bonnin, linux_o...@googlegroups.com

bon...@gmail.com

unread,
May 28, 2014, 11:59:02 PM5/28/14
to linux_o...@googlegroups.com, Rodolfo Bonnin
Thanks Manoj!
Reply all
Reply to author
Forward
0 new messages