13 Mart 2014 Perşembe 14:22:52 UTC+2 tarihinde Joe Burmeister yazdı:
> On 13/03/14 12:05, [email protected] wrote:
> 
> > 13 Mart 2014 Perşembe 12:20:15 UTC+2 tarihinde Joe Burmeister yazdı:
> 
> >> On 13/03/14 09:52, [email protected] wrote:
> 
> >>
> 
> >>> 27 Ağustos 2013 Salı 22:14:14 UTC+3 tarihinde [email protected] yazdı:
> 
> >>>> Hi,
> 
> >>>> For a while I've been working on getting my A13 tablet touch screen 
> >>>> working with GNU/Linux.
> 
> >>>> It's now working well enough for my purposes and I figured it was time 
> >>>> to push it out.
> 
> >>>> The code can be found at:
> 
> >>>> https://gitorious.org/gslx680-for-sunxi
> 
> >>>> It would be easy to move it in tree. What is a bit different from the 
> >>>> other touch screen drivers is that it doesn't include the firmware in 
> >>>> the driver.
> 
> >>>> I've split the firmware into a separate file that you name in the 
> >>>> fex/script.bin file.
> 
> >>>> The reason for this is that the firmware defines things about the 
> >>>> hardware such as resolution and can't be easily modified. So to support 
> >>>> multiple devices you'd need multiple firmware included. Or your have to 
> >>>> build for each driver+firmware combination. Better to have it a seperate 
> >>>> file and which firmware be a configuration thing. That fits better to me 
> >>>> with fex/script.bin or Device Tree. I've also added legacy single touch 
> >>>> as well as multi touch.
> 
> >>>> Not sure where we go from here, but no point me sitting on it. ;-)
> 
> >>>> Joe
> 
> >>>>    
> 
> >>> Hi,
> 
> >>> I have a A13 tablet (just like this one --> 
> >>> http://moveontechnology.com/hugoenchina/?p=324)
> 
> >>> and while trying to make touchscreen working I came acrross with this 
> >>> gslx680 driver(https://gitorious.org/gslx680-for-sunxi)
> 
> >>> I'm using sunxi-3.4 kernel and compiled the driver successfully for this 
> >>> kernel. My screen resolution is 800x480 so I'm using the firmware 
> >>> supplied by the source code.
> 
> >>> I can successfully insmod the driver, got the successfull dmesg messages 
> >>> as expected, but when I try testing the driver with "evtest" tool, i got 
> >>> totally no output from gslx680 mmodule (/dev/event/event1).
> 
> >>> I am completely stuck at this point, any suggestion will be really 
> >>> helpfull.
> 
> >>> Thanks in advance.
> 
> >>> selim
> 
> >> Hi Selim,
> 
> >>
> 
> >>
> 
> >>
> 
> >> I've done an update recently that makes the new code work properly with
> 
> >>
> 
> >> X, it was broken at one point.
> 
> >>
> 
> >> At this point, as far as I know, I need to start the process of getting
> 
> >>
> 
> >> it into sunxi properly. Maybe add DT and get it fully upstreamed. Yet to
> 
> >>
> 
> >> start that process.
> 
> >>
> 
> >>
> 
> >>
> 
> >> Anyway, no output from evtest tells me the problem is probably the 
> >> firmware.
> 
> >>
> 
> >>
> 
> >>
> 
> >> You need to extract the firmware from your android driver. There is a
> 
> >>
> 
> >> python script in the firmware directory called fw_extractor (and
> 
> >>
> 
> >> fw_info) that should be able to do this, if the driver is related to the
> 
> >>
> 
> >> Android one with my device. If the firmware isn't in the Android driver,
> 
> >>
> 
> >> then we need to find where it lives on your device and put it into the
> 
> >>
> 
> >> same binary format.
> 
> >>
> 
> >>
> 
> >>
> 
> >> If you feel you aren't getting anywhere, send me the Android driver and
> 
> >>
> 
> >> I'll have a look to see if the firmware is in there and adapt the script
> 
> >>
> 
> >> to find it there too.
> 
> >>
> 
> >>
> 
> >>
> 
> >> We need to start building a database of the firmware for the gslx680
> 
> >>
> 
> >> chips. If we can work out how to tell which chip needs which firmware,
> 
> >>
> 
> >> we can select the right one automatically. The aim of course is
> 
> >>
> 
> >> everything just works. :-)
> 
> >>
> 
> >>
> 
> >>
> 
> >>
> 
> >>
> 
> >> Joe
> 
> >
> 
> > Joe Hi,
> 
> >
> 
> > Thanks for the quick reply,
> 
> >
> 
> > Indeed I have read in some forum posts that people trying wrong
> 
> > gslx680 firmwares got shifted touch outputs, I haven't seen a post
> 
> > with no output from the driver.
> 
> >
> 
> > I hope its about the wrong firmware.
> 
> >
> 
> > Ok, now I will pull the successfully running driver (gslX680.ko)
> 
> > from running android device and extract the firmware as you suggested.
> 
> >
> 
> > Thanks again.
> 
> >
> 
> > selim
> 
> >
> 
> >
> 
> Hi Selim,
> 
> 
> 
> No prob, delighted when someone has a play with it. :-)
> 
> 
> 
> The result of the wrong firmware is hard to guess.
> 
> The firmware for this device is just a buck load of settings from what I 
> 
> can see.
> 
> Only thing that probably holds is it depends how far out your device is 
> 
> from the settings in the firmware on how well it works.
> 
> 
> 
> Please please let me know how you get on.
> 
> 
> 
> Joe

Hi Joe,


Today I have rooted my tablet, successfully find the touchscreen module named 
as "A13_gslX680" and pulled the ko file with adb pull.

Good news :) 
After extracting the firmware from the original module and trying gslx680_ts  
driver with the original firmware everything worked like a charm, now I can get 
outputs from evtest tool.

More information about my tablet and firmware is;

my tablet exactly looks like this one --> 
https://drive.google.com/file/d/0B7kdmqnGET4eeHVlY1k2REVlemc/edit?usp=sharing

Screen size: 9" , 800x480

Mainboard ID : TW_A0910_16B_V1.1_0830

Touch screen IC : GSL3680

Original Module : 
https://docs.google.com/file/d/0B7kdmqnGET4eeHVlY1k2REVlemc/edit?pli=1

Original Firmaware (extracted): 
https://docs.google.com/file/d/0B7kdmqnGET4eNzItc0tYYW5PY3M/edit?pli=1


I hope it is useful for others.

Thanks for your help.

selim

-- 
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.

Reply via email to