installing eGalax touchscreen drivers on Android-x86

281 views
Skip to first unread message

Rich Tatham

unread,
Sep 21, 2018, 9:26:26 AM9/21/18
to Android-x86
I've tested various flavours of Android x86, from 4.4 up to 7.1 as well as Bliss and Lineage. They all have one thing in common: my touchscreen axes are flipped. This means when I swipe left, a mouse cursor displays moving down. Swipe down moves right, and so on.

I can't find any relevant information on installing custom drivers to an Android version to fix this. Drivers exist (http://www.eeti.com.tw/drivers_android.html), but all I can find when googling is references to other Android builds like Odroid or Raspberry pi.

Can anyone give me some pointers on fixing this issue? What version on Android to download, how to do it all in Linux etc? I'm a windows user, so all these sudo commands are a bit Greek to me.

Michael Goffioul

unread,
Sep 21, 2018, 9:49:18 AM9/21/18
to andro...@googlegroups.com
Check first whether this file exists on your system: /data/misc/tscal/pointercal

If it doesn't, execute the following commands in "adb shell":

                mkdir -p /data/misc/tscal
                touch /data/misc/tscal/pointercal
                chown 1000.1000 /data/misc/tscal /data/misc/tscal/*
                chmod 775 /data/misc/tscal
                chmod 664 /data/misc/tscal/pointercal

Finally execute:

                adb shell am start -n org.zeroxlab.util.tscal/.TSCalibration

I have a device with eGalax touchscreen, and although it's properly calibrated, I can miscalibrate it using the calibration app, in particular I can flip axis. So hopefully this will allow you to get your touchscreen properly calibrated.

Note that the file /data/misc/tscal/pointercal is expected to be created at boot, but it only occurs on specific hardware (product or touchscreen). The logic is located in this file around line 308:

Michael.


--
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 https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages