touch screen is vertically and horizontal inverted and offset. Calibration would not work.

232 views
Skip to first unread message

Brian Lau

unread,
Apr 6, 2020, 12:03:01 AM4/6/20
to Android-x86
Hi, 
After installing Android x86, the touch screen is vertically and horizontal inverted and offset. Calibration would solve the problem.
Is there any way to adjust the offset ad inverted manually ?


NovHak

unread,
Apr 6, 2020, 1:07:58 PM4/6/20
to Android-x86
You mean the display is inverted, or only the input, i.e. a tap on the bottom of the screen is considered a tap on the top ? Because if it's a display problem, that's another story. As for the input problem, I think it can be solved by modifying the IDC file for your device, or creating one. The system IDC files are in /system/usr/idc. You can see the name of your touch screen with the "getevent -p" command (as root). The IDC file should have the same name as your device, with ".idc" at the end, and spaces and special characters replaced by an underscore "_" character. More info here. There are info about touch screen specific properties in relevant sections of the documentation.

Brian Lau

unread,
Apr 7, 2020, 3:09:26 AM4/7/20
to Android-x86
The display is fine and just the touch screen not function as it is inverted and offset.

I used the command "getevent -p" and found the input device is "SileadT GSLx680 Touchscreen.
But i can't find the corresponding idc file from /system/usr/idc

So, i need to create one and adjust the offset and invertion ?


Brian Lau於 2020年4月6日星期一 UTC+8下午12時03分01秒寫道:

NovHak

unread,
Apr 7, 2020, 10:57:33 AM4/7/20
to Android-x86
I don't know precisely which parameters should be used, and how, but you will find a description of the touch screen specific properties in the touch screen section of the documentation I pointed you to, starting from the "Basic Configuration" paragraph. Btw, maybe someone did make an IDC for your device already. That being said, there's another possibility, maybe a driver option would solve this. You should find the module name in a list from the lsmod command, and check a description of the module parameters with "modinfo <module_name>".

I don't know if it will help since it's rather old, but I found this.

Hope this helps !

Grey Christoforo

unread,
Apr 7, 2020, 11:14:18 AM4/7/20
to andro...@googlegroups.com
Brian,
Have you tried the touch screen calibration app included in the image?
Its icon is a red target.
Cheers,
¬grey
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/b6ba2fce-ccec-4777-b555-1c1df07dd67b%40googlegroups.com.

Chih-Wei Huang

unread,
Apr 10, 2020, 3:15:31 AM4/10/20
to Android-x86
Brian Lau <knig...@gmail.com> 於 2020年4月7日 週二 下午3:09寫道:
>
> The display is fine and just the touch screen not function as it is inverted and offset.
>
> I used the command "getevent -p" and found the input device is "SileadT GSLx680 Touchscreen.
> But i can't find the corresponding idc file from /system/usr/idc
>
> So, i need to create one and adjust the offset and invertion ?

Please read:

https://groups.google.com/d/msg/android-x86/G65d_w72a48/BmqgDeceAwAJ


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

Brian Lau

unread,
Apr 10, 2020, 5:31:28 AM4/10/20
to Android-x86
Hi Chih-Wei Huang,

I have run the commands and the calibration apps still cannot solve the problem as i tap on the red spot and no repsonse.
From the point location of dev tools. It is found that the point i tap is offset quite far away. i.e. I touch the right top side is actually the center of the screen.

Chih-Wei Huang於 2020年4月10日星期五 UTC+8下午3時15分31秒寫道:

Chih-Wei Huang

unread,
Apr 10, 2020, 5:54:17 AM4/10/20
to Android-x86
Brian Lau <knig...@gmail.com> 於 2020年4月10日 週五 下午5:31寫道:
>
> Hi Chih-Wei Huang,
>
> I have run the commands and the calibration apps still cannot solve the problem as i tap on the red spot and no repsonse.

Use 'getevent -l' to check the response.

If there are some areas that have no response,
the driver is broken and it could not be fixed by calibration.

> From the point location of dev tools. It is found that the point i tap is offset quite far away. i.e. I touch the right top side is actually the center of the screen.

Have you checked the file /data/misc/tscal/pointercal?
It should contains 7 numbers after you run the calibration app.

Brian Lau

unread,
Apr 17, 2020, 9:18:19 PM4/17/20
to Android-x86
HI Hunag,

by using "getevent -l", some area reported ABS_X and ABS_Y. Some areas do not report abs_x and abs_y.
  
There are eight values in /data/misc/tscal/pointercal
49764 -377305 169088453 1123 390746 -175327626 65536 640 362


Chih-Wei Huang於 2020年4月10日星期五 UTC+8下午5時54分17秒寫道:
Reply all
Reply to author
Forward
0 new messages