Re: Need to implement ts_calibrate into Asus Laptop / EEE build too slow and no usb wifi support

750 views
Skip to first unread message
Message has been deleted

Mojmír Křížek

unread,
Aug 29, 2012, 3:39:45 PM8/29/12
to andro...@googlegroups.com
hello, I have an eeePC and the latest android x86 version already has the "tslib" package containing "ts_calibrate" btw: i spent a HUUUGE time to stop wasting time trying to compile the tslib, but tslib is already in the build

I just downloaded the ics-x86 branch and tslib was there.

btw: I was not able to run ts_calibrate successfully - stop zygote, stop bootanim, stop surfaceflinger - ts_calibrate was running, but was not able to write the recieved data into some file. So I found a native system touchscreen driver - /kernel/drivers/input/touchscreen/usbtouchscreen.c and manually rewrited the touchscreen corner coordinates (which I recieved from ts_calibrate) and it worked well. yeah! 

Dne pondělí, 27. srpna 2012 2:38:12 UTC+2 Drock napsal(a):
Sorry for the noob questions but how would I go about integrating ts_calibrate into the Asus laptop build?  4.0RC2 Asus Laptop works great for everything on my PC (custom built Atom) except the touchscreen needs calibrated.  If i install the eeePC build it takes about 40 seconds longer to boot but I can perform the touchscreen calibration and it works just fine.  The real downside of using the eeePC build is that my USB wifi adapter doesn't work.  Instead of troubleshooting the wifi adapter I'm assuming its easier to install the necessary files etc for the touchscreen.

Any help is greatly appreciated.

Drock

unread,
Aug 29, 2012, 4:22:11 PM8/29/12
to andro...@googlegroups.com
I know the eeePC build has TS_calibrate but the Asus Laptop version does not. If I use the eeePC build I can successfully calibrate the screen but its moot since I cannot get any of the wifi adapters I have to work. The Asus Laptop version supports all of my wifi adapters but doesn't have ts_calibrate. I've tried other builds that work but the only one that seems to have ts_calibrate is the eeePC build. I don't see the logic in removing a calibration utility especially when most people are probably installing this on touch devices.

Mojmír Křížek

unread,
Aug 29, 2012, 5:21:18 PM8/29/12
to andro...@googlegroups.com
sorry, i didnt understand you much. Ok, I think you should build your own version/build, its not simple at all, but in this case I think you must. Start at the www.android-x86.org web and find "get source" page and read almost everything there is ...

CORRECT ME IF I AM WRONG SOMEONE PLEASE

Chih-Wei Huang

unread,
Aug 30, 2012, 12:29:31 AM8/30/12
to andro...@googlegroups.com
2012/8/30 Mojmír Křížek <mojmir...@gmail.com>:
> hello, I have an eeeePC and the latest android x86 version already has the
> "tslib" package containing "ts_calibrate" btw: i spent a HUUUGE time to stop
> wasting time trying to compile the tslib, but tslib is already in the build
>
> I just downloaded the ics-x86 branch and tslib was there.

Well, this is a lesson learn that teaches you
should google before trying something yourself.
If you search the forum, you should find my article
about how to use tslib in ics-x86.

> btw: I was not able to run ts_calibrate successfully - stop zygote, stop
> bootanim, stop surfaceflinger - ts_calibrate was running, but was not able
> to write the recieved data into some file. So I found a native system
> touchscreen driver - /kernel/drivers/input/touchscreen/usbtouchscreen.c and
> manually rewrited the touchscreen corner coordinates (which I recieved from
> ts_calibrate) and it worked well. yeah!

Probably you need to mkdir /data/system/tslib
before running ts_calibrate.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Chih-Wei Huang

unread,
Aug 30, 2012, 12:37:55 AM8/30/12
to andro...@googlegroups.com
2012/8/30 Drock <derich...@gmail.com>:
> I know the eeePC build has TS_calibrate but the Asus Laptop version does not. If I use the eeePC build I can successfully calibrate the screen but its moot since I cannot get any of the wifi adapters I have to work. The Asus Laptop version supports all of my wifi adapters but doesn't have ts_calibrate. I've tried other builds that work but the only one that seems to have ts_calibrate is the eeePC build. I don't see the logic in removing a calibration utility especially when most people are probably installing this on touch devices.

This is a target specific feature.
So far I don't see any "asus_laptop" devices need
touchscreen calibration.
Note most modern capacitive multi-touch screens
don't need to be calibrated.
I only saw some old resistant single touch screen
need calibration.

To use calibration in asus_laptop build,
here is a trick you can try (untested):

* Run eeepc build and do calibartion
It will generate /data/system/tslib/pointercal
* Copy /data/system/tslib/pointercal
to your asus_laptop build
(make the dir if it doesn't exist)

Drock

unread,
Aug 30, 2012, 8:35:07 PM8/30/12
to andro...@googlegroups.com
That worked great thanks. You are correct that it is a resistive touch screen. This is just an Atom machine that I had sitting around and thought it would be worth trying Android x86.

frendcarlo

unread,
Sep 25, 2012, 10:26:56 AM9/25/12
to andro...@googlegroups.com
Hi, I also have the same problem, I need to calibrate my device but the problem is only the asus_laptop builds works for me.  eeepc and other builds doesn't work. Any way that I can add the function using root explorer?

Thanks in advance. - carlo

Gernot Hillier

unread,
Sep 26, 2012, 3:45:39 AM9/26/12
to andro...@googlegroups.com
Hi there!

Am 25.09.2012 16:26, schrieb frendcarlo:
> Hi, I also have the same problem, I need to calibrate my device but the
> problem is only the asus_laptop builds works for me. eeepc and other
> builds doesn't work. Any way that I can add the function using root
> explorer?

No, I don't think this is feasible as you would need to add and change a
lot of files and components.

I'd rather recommend to build your own ISO from Android-x86 sources by
modifying your working target description according to these instructions:

https://groups.google.com/forum/?fromgroups=#!topic/android-x86/SMrDP4Qcj0w

For a general build instruction, see here:
http://www.android-x86.org/getsourcecode

--
With kind regards,
Gernot Hillier

Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

frendcarlo

unread,
Sep 26, 2012, 10:21:32 AM9/26/12
to andro...@googlegroups.com
Hi,

Thanks for the advice. I had successfully added the ts_calibrate tool.  so many thanks. Carlo
Reply all
Reply to author
Forward
0 new messages