GPD User Community Support Forum

Kernel 5.7 - goodix touchscreen no longer working

My touchscreen hardware is ok. But it does not initialize with kernel 5.7.

Failing to initialize with kernel 5.7 (debian):

kernel: [ 9.745967] Goodix-TS i2c-GDIX1002:00: supply AVDD28 not found, using dummy regulator
kernel: [ 9.745983] Goodix-TS i2c-GDIX1002:00: supply VDDIO not found, using dummy regulator
kernel: [ 9.746499] Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 1: -121
kernel: [ 9.771279] Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 2: -121
kernel: [ 9.899893] Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 1: -121
kernel: [ 9.927474] Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 2: -121
kernel: [ 9.955202] Goodix-TS i2c-GDIX1002:00: I2C communication failure: -121
kernel: [ 9.955607] Goodix-TS: probe of i2c-GDIX1002:00 failed with error -121

Working ok with kernel 5.6:

kernel: [ 9.791025] Goodix-TS i2c-GDIX1002:00: i2c-GDIX1002:00 supply AVDD28 not found, using dummy regulator
kernel: [ 9.791041] Goodix-TS i2c-GDIX1002:00: i2c-GDIX1002:00 supply VDDIO not found, using dummy regulator
kernel: [ 9.791802] Goodix-TS i2c-GDIX1002:00: ID 928, version: 1060
kernel: [ 9.796457] input: Goodix Capacitive TouchScreen as /devices/pci0000:00/0000:00:15.2/i2c_designware.2/i2c-8/i2c-GDIX1002:00/input/input13

Does anyone have a clue, beside reporting the bug?

EDIT: proper kernel versions:

kernel: [ 0.000000] Linux version 5.7.0-0.bpo.2-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6), GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Debian 5.7.10-1~bpo10+1 (2020-07-30)

kernel: [ 0.000000] Linux version 5.6.0-0.bpo.2-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 5.6.14-2~bpo10+1 (2020-06-09)

Works fine for me on arch linux, with 5.9.8 kernel.
I’m using the goodix-touchscreen-dkms-git package.

Hi there!
Running BIOS v.0.29 and kernel 5.9.11-3 (latest manjaro).
Touchscreen works with goodix-touchscreen-dkms-git package installed. No success with goodix-p2max-dkms package has been achieved (probably this project is obsolete now).
Thank you for your tip!

I just upgraded my (K)ubuntu install to 21.04, using kernel 5.10.0 but still no joy?
[ 368.633965] Goodix-TS i2c-GDIX1002:00: supply AVDD28 not found, using dummy regulator
[ 368.634180] Goodix-TS i2c-GDIX1002:00: supply VDDIO not found, using dummy regulator
[ 368.634452] Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 1: -121
[ 368.661994] Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 2: -121
[ 368.689800] Goodix-TS i2c-GDIX1002:00: I2C communication failure: -121
[ 368.691886] Goodix-TS: probe of i2c-GDIX1002:00 failed with error -121

All fine here on arch, haven’t had a single software issue in over a year with this device.
Running 5.11.4-arch1-1

I’m on BIOS 0.29 (it’s brand new) and compiled a vanilla kernel 5.11.5 and I see exactly the same result :man_shrugging:

Run Arch, or adapt this for ubuntu based distros - Adya / Goodix Touchscreen Linux Driver · GitLab

Thx for the advice, but I prefer sticking to a Debian based distro. Adya’s repo only adds Stylus Pen support and doesn’t work either. For some reason the i2c controller interrupts and/or GPIO’s aren’t set correctly in BIOS/DSDT or ACPI (wherever that lives) so I’m looking for 0.29 owners that are able to succesfully load any goodix driver (be it vanilla or Adya).

My device shipped with 0.29 also,
Will try a debian based distro in a few days when i have some spare time i’m curious.

Guess it has everything to do with this:
https://bugzilla.kernel.org/show_bug.cgi?id=209061

So sooner or later, Arch is going to suffer from this bug as well I guess?