Re: touch screen does is calibrated

2,355 views
Skip to first unread message

Masaki Muranaka

unread,
Jan 15, 2014, 12:25:29 AM1/15/14
to andro...@googlegroups.com
Hi,

Unfortunately, there is no ts_calibrate support on recent versions of
Android-x86.
Possibly you can calibrate by writing something in Vendor_14e1_Product_6000.idc,
but I don't know details. Please see documents provided by AOSP.


2014/1/14 raz BenYehuda <raz...@gmail.com>:
> Hello
>
> I booted a-x86 on panel pc with a touch screen. it is running a premmpt rt
> kernel 3.8. The touchscreen is not working properly.
> it is not calibrated as if x is y and y is x.
> I executed ts_calibrate, and added the proper idc file , and android does
> "see" this file as described bellow.
> but the screen is still not working properly.
>
>
> I/EventHub( 1666): New device: id=10, fd=169, path='/dev/input/event4',
> name='DIALOGUE INC PenMount USB', classes=0x4,
> configuration='/system/usr/idc/Vendor_14e1_Product_6000.idc', keyLayout='',
> keyCharacterMap='', builtinKeyboard=false, usingSuspendBlockIoctl=true,
> usingClockIoctl=true
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/groups/opt_out.



--
--
Masaki Muranaka
Monami-ya LLC, Japan.

raz BenYehuda

unread,
Jan 14, 2014, 3:38:09 AM1/14/14
to andro...@googlegroups.com

Roman Košnar

unread,
May 23, 2014, 2:23:06 AM5/23/14
to andro...@googlegroups.com
Hi,

do you have idc for 'DIALOGUE INC PenMount USB'?
I tried Android 4.4 RC2. There is calibration utility, but it don't work.
Known anyone the idc parameter for swap axes? I will try to write idc....

Dne úterý, 14. ledna 2014 9:38:09 UTC+1 raz BenYehuda napsal(a):

Roman Košnar

unread,
May 23, 2014, 8:08:55 AM5/23/14
to andro...@googlegroups.com
Hi,

do you have idc file for 'DIALOGUE INC PenMount USB'?
I have this touch screen and I tried Android 4.4 RC2 calibration utility...but swapped axis problem was not solved....

Have anyone idea which parameter in idc can swap axes?



Dne úterý, 14. ledna 2014 9:38:09 UTC+1 raz BenYehuda napsal(a):
Hello

Somebody

unread,
May 26, 2014, 8:00:08 AM5/26/14
to andro...@googlegroups.com
There is a touchscreen calibration UTILITY (Programs menu, application called "Calibrate" with a red/white bulleseye icon) for this in 4.4 RC2.

Chih-Wei Huang

unread,
May 26, 2014, 8:05:15 AM5/26/14
to Android-x86
You need to add your product name to init_tscal function
of /system/etc/init.sh.
The product name could be found in
/sys/class/dmi/id/product_name
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/d/optout.



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

Roman Košnar

unread,
May 26, 2014, 9:32:59 AM5/26/14
to andro...@googlegroups.com
Thank you. It works!

After this change the calibration is working....do you know why isn't the calibration enabled for all device by default?



--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/SFjUR-5A5cQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86...@googlegroups.com.

Chih-Wei Huang

unread,
May 26, 2014, 12:35:14 PM5/26/14
to Android-x86
2014-05-26 21:32 GMT+08:00 Roman Košnar <kosnar....@gmail.com>:
> Thank you. It works!

Send me the change, please.

> After this change the calibration is working....do you know why isn't the
> calibration enabled for all device by default?

Not all touch screen need calibration.
Actually most modern multi-touch devices
don't need it.

Roman Košnar

unread,
May 27, 2014, 1:04:14 AM5/27/14
to andro...@googlegroups.com
/system/etc/init.sh:207
function init_tscal()
{
    case "$PRODUCT" in
        T91|T101|ET2002|74499FU|945GSE-ITE8712)
            if [ ! -e /data/misc/tscal/pointercal ]; then

I have one notice - second (and next) calibration made touchscreen useless - it can be caused by screen in landscape which I have rotated between tries.


Chih-Wei Huang

unread,
May 28, 2014, 6:56:20 AM5/28/14
to Android-x86
2014-05-27 13:04 GMT+08:00 Roman Košnar <kosnar....@gmail.com>:
> /system/etc/init.sh:207
> function init_tscal()
> {
> case "$PRODUCT" in
> T91|T101|ET2002|74499FU|945GSE-ITE8712)

I have added it. Thanks!

> if [ ! -e /data/misc/tscal/pointercal ]; then
> I have one notice - second (and next) calibration made touchscreen useless -
> it can be caused by screen in landscape which I have rotated between tries.

How did you do the second calibration?
Try to run TSCalibartion again. Does it work?

Roman Košnar

unread,
May 28, 2014, 7:09:59 AM5/28/14
to andro...@googlegroups.com
While I use the device it had a small offset....so I tried run calibration from menu again. At this point the screen was rotated to landscape. The calibration didn't work this time. I think it inverted one axis. I can't test it right now.


David Wolf

unread,
Aug 2, 2014, 4:52:14 PM8/2/14
to andro...@googlegroups.com
Hey there 
i have a problem with my scd t7 touch screen it wont calibrate 

i tried
 
You need to add your product name to init_tscal function 
of /system/etc/init.sh. 
The product name could be found in 
/sys/class/dmi/id/product_name 

but the ...dmi/id file is emty

Mauro Rossi

unread,
Aug 11, 2014, 10:44:43 AM8/11/14
to andro...@googlegroups.com
Hi Chih-Wei,

considering that Android-x86 purpose and application is to be used on x86 tablets, x86 laptops with native touchscreens,
but also applicable to generic desktops or industrial mainboards with USB touch monitors or standalone USB touchscreens, that may need calibration, 
like the ones used in Videopoker cabinets or Public Administration "Touch-Points" ( !!! but that applications is boring compared to videogames !!! :-) ,

I'd like to propose the attached patch to support USB touchscreens.

The patch modifies init_tscal() function in init.sh, in order to add an additional for...do...done loop to perform the scan of USB devices to check for specific USB touchscreens.

The device needing calibration can then be added in the case , like an old monotouch MicroTouch I have, whose identification ID is 0596:0001

Since invocation of calibration procedures is only needed once in init_tscal(), I added a return to leave init_tscal() as soon initialization has been done for a matching PRODUCT or for a matching $usbts.

Tested successfully on my monotouch MicroTouch Systems.

...

Now coming to David's problem, SDC-T7 is not a tablet or a laptop product having a TS, but it is a 7 inch monitor with embedded USB touchscreen, isn't It?

If that's the case, you should identify the ID of your touchscreen by following this easy procedure:

1. switch to command shell by pressing ALT+F1
2. unplug usb cable of your SDC-T7 (7 inch monitor+touchscreen, correct?)
3. plug usb cable again and you'll see IdVendor=XXXX and IdProduct=YYYY, this codes can also be extracted using Windows OS (VID and PID)
4. The ID of your device is XXXX:YYYY (replace with the alfanumeric strings you'll see at step 3.

David, can you provide the ID of your SDC-T7?

NOTE: ID codes of USB devices are catalogued here: http://www.linux-usb.org/usb.ids but I was not able to find your device in the usb.ids register.

Mauro




0001-Added-support-for-Calibration-of-specific-USB-touchs.patch

Chih-Wei Huang

unread,
Aug 12, 2014, 12:52:05 PM8/12/14
to Android-x86
2014-08-11 22:44 GMT+08:00 Mauro Rossi <issor...@gmail.com>:
> Hi Chih-Wei,
> considering that Android-x86 purpose and application is to be used on x86
> tablets, x86 laptops with native touchscreens,
> but also applicable to generic desktops or industrial mainboards with USB
> touch monitors or standalone USB touchscreens, that may need calibration,
> like the ones used in Videopoker cabinets or Public Administration
> "Touch-Points" ( !!! but that applications is boring compared to videogames
> !!! :-) ,
>
> I'd like to propose the attached patch to support USB touchscreens.
>
> The patch modifies init_tscal() function in init.sh, in order to add an
> additional for...do...done loop to perform the scan of USB devices to check
> for specific USB touchscreens.
>
> The device needing calibration can then be added in the case , like an old
> monotouch MicroTouch I have, whose identification ID is 0596:0001
>
> Since invocation of calibration procedures is only needed once in
> init_tscal(), I added a return to leave init_tscal() as soon initialization
> has been done for a matching PRODUCT or for a matching $usbts.
>
> Tested successfully on my monotouch MicroTouch Systems.

Thank you for the patch.
It's a good idea to add the support of usb touchscreen.

I just modified the patch to avoid
duplicate code to create pointercal
and pushed it.

Game Ing

unread,
Aug 3, 2021, 4:12:16 AM8/3/21
to Android-x86
Hello I have tablet with intel atom z3735f processor I installed android x86 android 8.1-r6 but the touch is not working properly needs calibration also auto rotate is flipped when the device is horizontal the display becomes vertical and vice versa. 
Also keyboard and mouse works perfectly. Any help is appreciated
Message has been deleted

Game Ing

unread,
Sep 6, 2021, 4:08:42 AM9/6/21
to Android-x86
I am novice and want to fix touch so can anybody help in how to add product name to init_tscal function?
Reply all
Reply to author
Forward
0 new messages