Touchscreen not working in 9.0 r2 k4.9

1,947 views
Skip to first unread message

Ashutosh prusty

unread,
Mar 31, 2020, 8:11:54 AM3/31/20
to Android-x86
Hi, I'm using android x86 on my lenovo d330.
I have installed android-x86_64-9.0-r2.iso now & it works fine. But in android-x86_64-9.0-r2-k49.iso my touchscreen doesn't work.
Something wrong with my device or k4.9 branch??

Ashutosh prusty

unread,
Apr 1, 2020, 12:14:51 PM4/1/20
to Android-x86
Anyway to check whats going wrong?
lsmod & dmesg?

Ashutosh prusty

unread,
Apr 3, 2020, 12:50:41 PM4/3/20
to Android-x86
Here is all logs from android x86 9.0 r2 k4.9.
Touch Screen doesn't work
dmesg_k4.9.txt
lsmodk4.9.txt

Chih-Wei Huang

unread,
Apr 10, 2020, 6:53:32 AM4/10/20
to Android-x86
Ashutosh prusty <ashutosh...@gmail.com> 於 2020年3月31日 週二 下午8:12寫道:
>
> Hi, I'm using android x86 on my lenovo d330.
> I have installed android-x86_64-9.0-r2.iso now & it works fine. But in android-x86_64-9.0-r2-k49.iso my touchscreen doesn't work.
> Something wrong with my device or k4.9 branch??

You said it works fine in kernel 4.19 version. Right?
Then why did you still want to use the k49 version?
The k49 version is aimed to users who can't use the newer kernel.

It's normal that a peripheral only works in a newer kernel
since the kernel developers have fixed or implemented the driver.
Even you report this issue to LKML, the kernel developers will
just ask you to test the latest kernel to see if it works.

Unless you can prove this is an android-x86 specific issue,
(for example, it works in other distros use kernel 4.9
but not work in android-x86 k49 version)
otherwise I don't see why we should spend time on it.
Sorry!

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

Ashutosh prusty

unread,
Apr 10, 2020, 9:39:39 AM4/10/20
to Android-x86
My bad. Previously i thought 4.9>4.19.
Misunderstanding in my part on version number.
I'm on android x86 r2 & everything works fine except auto rotation.
I checked & it has boschaccelerometer, its using iio & value of x,y,z also changing inside that "device/accel*[x|y|z]*" file.
But android not detecting it, sensor apps says no data. Can that be fixed?

Chih-Wei Huang

unread,
Apr 11, 2020, 2:57:01 AM4/11/20
to Android-x86
Ashutosh prusty <ashutosh...@gmail.com> 於 2020年4月10日 週五 下午9:39寫道:
>
> My bad. Previously i thought 4.9>4.19.
> Misunderstanding in my part on version number.
> I'm on android x86 r2 & everything works fine except auto rotation.
> I checked & it has boschaccelerometer, its using iio & value of x,y,z also changing inside that "device/accel*[x|y|z]*" file.
> But android not detecting it, sensor apps says no data. Can that be fixed?

Please check the output of the command:

getprop ro.hardware.sensors

Is it 'iio'? If yes, you may try this first by root:

setprop ro.iio.accel.quirks no-trig
stop; start

If it works, you may add it to /etc/init.sh.
Also provide the output of the command:

cat /sys/class/dmi/id/uevent

Ashutosh prusty

unread,
Apr 11, 2020, 7:35:21 AM4/11/20
to Android-x86
Following worked for my device.

set_property ro.iio.accel.quirks no-trig
set_property ro.iio.accel.order 102
set_property ro.iio.accel.x.opt_scale -1

:/ # cat /sys/class/dmi/id/uevent
MODALIAS=dmi:bvnLENOVO:bvr8NCN37WW:bd10/30/2019:svnLENOVO:pn81H3:pvrLenovoideapadD330-10IGM:rvnLENOVO:rnLNVNB161216:rvrSDK0Q55724WIN:cvnLENOVO:ct32:cvrLenovoideapadD330-10IGM:
:/ #

Thanks for helping, now auto rotation working nicely.
Please add my device to init.sh in next release 😇

Ashutosh prusty

unread,
Apr 11, 2020, 7:41:41 AM4/11/20
to Android-x86
Also following for proper camera orientation.
set_prop_if_empty hal.camera.0 0,90
set_prop_if_empty hal.camera.2 1,90

Ashutosh prusty

unread,
Apr 11, 2020, 8:45:41 AM4/11/20
to Android-x86
Also z axis need to be inverted.

set_property ro.iio.accel.z.opt_scale -1

Larry Dana

unread,
Apr 11, 2020, 1:56:45 PM4/11/20
to andro...@googlegroups.com
getprop: command not found

--
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/CAKc24n2J2CRBZQTV1Y6P3egB_ChtqWVjdxyBFt4FRbM0c%3DXw%2BQ%40mail.gmail.com.

Chih-Wei Huang

unread,
Apr 12, 2020, 9:37:55 AM4/12/20
to Android-x86
Thank you for info. I've added it.

Ashutosh prusty <ashutosh...@gmail.com> 於 2020年4月11日 週六 下午8:45寫道:
>
> Also z axis need to be inverted.
>
> set_property ro.iio.accel.z.opt_scale -1

Reply all
Reply to author
Forward
0 new messages