Discussion:
TouchScreen Goodix GDIX1002:00 and Accel BOS0200 in Lenovo D330
(too old to reply)
Carlos Lopez
2018-11-28 12:20:33 UTC
Permalink
Hi,

I'm trying to build the OREO-x86_64 8.1 rc2 with the updated drivers
(including the updated goodix.c with the GDIX1002:00 stanza from the linux
kernel and marking in the defconfig the bmc150 as it seems to be the driver
of the accel)

Everithing works in Ubuntu 18.04 (despite a 90º off orientation already
fixed with a udev quirk) but in ANDROID it boots and the lsmod shows both
modules (goodix and bmc150accel) but they don't work at all.
In the dmesg both devices are shown as ACPI devices but that's it . no more
entries appart from that.

I already tried to rmmod and modprobing both drivers (and the
hid_multitouch) but no luck so far.

The build of the source doesn't throw nothing significant (AFAIK) but an
error with a broadcom wifi module which i don't need and therefore I
disabled in the configdef.

Appart from that and a problem i had with the aftergrub boot scrambling the
image in the installation option and every TTY messages (which i solved
adding in grub [set gfxpayload=1200x1920]), my native res, the system
boots ok and almost everything works (wifi, bluettooth, GPU, keyboard, usb,
mouse/trackpad). Only the sleep don't seems to turn off the screen (just
blacking it).

Any advice about the touchscreen and the accelerometer.

Thank you folks, and good work!
--
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 android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Carlos Lopez
2018-11-29 10:53:44 UTC
Permalink
The touchscreen and the accelerometer works in ubuntu 18.04 by default.
(the only thing that doesn't is the rotation that has to be adjusted via
UDEV rule cause the orientation is 90º off.

I'll try the commands at home later and I'll post a dmesg in both systems.
(tell me if i can post anything else that could be useful.

thanks folks.
Post by Carlos Lopez
Post by Carlos Lopez
I'm trying to build the OREO-x86_64 8.1 rc2 with the updated drivers
(including the updated goodix.c with the GDIX1002:00 stanza from the linux
kernel and marking in the defconfig the bmc150 as it seems to be the driver
of the accel)
Post by Carlos Lopez
Everithing works in Ubuntu 18.04 (despite a 90º off orientation already
fixed with a udev quirk) but in ANDROID it boots and the lsmod shows both
modules (goodix and bmc150accel) but they don't work at all.
Post by Carlos Lopez
In the dmesg both devices are shown as ACPI devices but that's it . no
more entries appart from that.
Check if you have these files after installed the drivers?
ls /sys/bus/iio/devices/iio:device*/in_accel_*
Do the files exist in Ubuntu 18.04?
Also check 'getprop ro.hardware.sensors'.
Post by Carlos Lopez
I already tried to rmmod and modprobing both drivers (and the
hid_multitouch) but no luck so far.
Post by Carlos Lopez
The build of the source doesn't throw nothing significant (AFAIK) but an
error with a broadcom wifi module which i don't need and therefore I
disabled in the configdef.
Post by Carlos Lopez
Appart from that and a problem i had with the aftergrub boot scrambling
the image in the installation option and every TTY messages (which i solved
adding in grub [set gfxpayload=1200x1920]), my native res, the system
boots ok and almost everything works (wifi, bluettooth, GPU, keyboard, usb,
mouse/trackpad). Only the sleep don't seems to turn off the screen (just
blacking it).
Post by Carlos Lopez
Any advice about the touchscreen and the accelerometer.
Does touchscreen work in Ubuntu 18.04?
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
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
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
Anything that can be done to a rat can be done to a human
being. And we can do most anything to rats. This is a hard thing to
think about, but it's the truth. It won't go away because we cover our
eyes.
--
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 android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Carlos Lopez
2018-11-29 14:59:43 UTC
Permalink
The touchscreen and the accelerometer works in ubuntu 18.04 by default.
(the only thing that doesn't is the rotation that has to be adjusted via
UDEV rule cause the orientation is 90º off.)

I'll try the commands at home later and I'll post a dmesg in both systems.
(tell me if i can post anything else that could be useful.

thanks folks.



El jueves, 29 de noviembre de 2018, 3:56:18 (UTC+1), Chih-Wei Huang
䞋午8:20寫道
Post by Carlos Lopez
I'm trying to build the OREO-x86_64 8.1 rc2 with the updated drivers
(including the updated goodix.c with the GDIX1002:00 stanza from the linux
kernel and marking in the defconfig the bmc150 as it seems to be the driver
of the accel)
Post by Carlos Lopez
Everithing works in Ubuntu 18.04 (despite a 90º off orientation already
fixed with a udev quirk) but in ANDROID it boots and the lsmod shows both
modules (goodix and bmc150accel) but they don't work at all.
Post by Carlos Lopez
In the dmesg both devices are shown as ACPI devices but that's it . no
more entries appart from that.
Check if you have these files after installed the drivers?
ls /sys/bus/iio/devices/iio:device*/in_accel_*
Do the files exist in Ubuntu 18.04?
Also check 'getprop ro.hardware.sensors'.
Post by Carlos Lopez
I already tried to rmmod and modprobing both drivers (and the
hid_multitouch) but no luck so far.
Post by Carlos Lopez
The build of the source doesn't throw nothing significant (AFAIK) but an
error with a broadcom wifi module which i don't need and therefore I
disabled in the configdef.
Post by Carlos Lopez
Appart from that and a problem i had with the aftergrub boot scrambling
the image in the installation option and every TTY messages (which i solved
adding in grub [set gfxpayload=1200x1920]), my native res, the system
boots ok and almost everything works (wifi, bluettooth, GPU, keyboard, usb,
mouse/trackpad). Only the sleep don't seems to turn off the screen (just
blacking it).
Post by Carlos Lopez
Any advice about the touchscreen and the accelerometer.
Does touchscreen work in Ubuntu 18.04?
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
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 android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Carlos Lopez
2018-11-29 19:50:56 UTC
Permalink
Post by Carlos Lopez
Check if you have these files after installed the drivers?
ls /sys/bus/iio/devices/iio:device*/in_accel_*
They exist in android

ls -l /sys/bus/iio..
-rw-r--r-- 1 system system 4096 2018-11-29 19:19
/sys/bus/iio/devices/iio:device0/in_accel_scale
-rw-r--r-- 1 system system 4096 2018-11-29 19:19
/sys/bus/iio/devices/iio:device0/in_accel_x_raw
-rw-r--r-- 1 system system 4096 2018-11-29 19:19
/sys/bus/iio/devices/iio:device0/in_accel_y_raw
-rw-r--r-- 1 system system 4096 2018-11-29 19:19
/sys/bus/iio/devices/iio:device0/in_accel_z_raw
Post by Carlos Lopez
Do the files exist in Ubuntu 18.04?
Also check 'getprop ro.hardware.sensors'.
This returns
"iio"
Post by Carlos Lopez
Does touchscreen work in Ubuntu 18.04?
Yep, the dmesg tells in UBUNTU (attached)
[ 11.364807] Goodix-TS i2c-GDIX1002:00: ID 927, version: 105b
[ 11.369328] input: Goodix Capacitive TouchScreen as
/devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-2/i2c-GDIX1002:00/input/input19

in Android it doesn't show up (attached)

thanks in advance Folks,
--
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 android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Carlos Lopez
2018-12-03 20:41:27 UTC
Permalink
no luck with the sensor

El viernes, 30 de noviembre de 2018, 1:38:50 (UTC+1), Chih-Wei Huang
䞊午3:51寫道
Post by Carlos Lopez
Post by Carlos Lopez
Check if you have these files after installed the drivers?
ls /sys/bus/iio/devices/iio:device*/in_accel_*
They exist in android
ls -l /sys/bus/iio..
-rw-r--r-- 1 system system 4096 2018-11-29 19:19
/sys/bus/iio/devices/iio:device0/in_accel_scale
Post by Carlos Lopez
-rw-r--r-- 1 system system 4096 2018-11-29 19:19
/sys/bus/iio/devices/iio:device0/in_accel_x_raw
Post by Carlos Lopez
-rw-r--r-- 1 system system 4096 2018-11-29 19:19
/sys/bus/iio/devices/iio:device0/in_accel_y_raw
Post by Carlos Lopez
-rw-r--r-- 1 system system 4096 2018-11-29 19:19
/sys/bus/iio/devices/iio:device0/in_accel_z_raw
Post by Carlos Lopez
Post by Carlos Lopez
Also check 'getprop ro.hardware.sensors'.
This returns
"iio"
That's fine. The driver is loaded and the
sensor HAL is set up correctly.
Install a sensors testing app and see
what values was retrieved from g-sensor.
You may need to calibrate it.
The apps tell me "waiting for the sensor to be available " or related.

So no available sensor
Post by Carlos Lopez
Post by Carlos Lopez
Does touchscreen work in Ubuntu 18.04?
Yep, the dmesg tells in UBUNTU (attached)
[ 11.364807] Goodix-TS i2c-GDIX1002:00: ID 927, version: 105b
[ 11.369328] input: Goodix Capacitive TouchScreen as
/devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-2/i2c-GDIX1002:00/input/input19
Nice. Maybe Ubuntu has applied additional patches.
Let me check.
Any news with this ?

Thanks folks
Post by Carlos Lopez
in Android it doesn't show up (attached)
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
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 android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...