Public bug reported:
I have no-name tablet with goodix touch screen which not work in any
version of Ubuntu. Currently I work with 20.04 LTS and kernel
5.15.0-56-lowlatency.
It reports into dmesg:
Goodix-TS i2c-GDIX1002:00: acpi_dev_get_resources returned: 1, ts->gpio_count:
2, ts->gpio_int_idx: -1
Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 1: -121
Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 2: -121
After reviewing driver's source code I found that such parameters are
very close to code path which is used for bay trail, but my system is
not bay trail. When I comment out check for bay trail driver started to
work:
776c776
< } else if (/*is_byt() &&*/ ts->gpio_count == 2 && ts->gpio_int_idx ==
-1) {
---
> } else if (is_byt() && ts->gpio_count == 2 && ts->gpio_int_idx == -1) {
Maybe this is not correct fix and I may fix something in my system so it
will start to work with 'normal' driver? Or maybe driver need to be
modified as that checking for bay trail is not needed?
Thanks.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "lspci-vnvn.log"
https://bugs.launchpad.net/bugs/2002353/+attachment/5640273/+files/lspci-vnvn.log
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2002353
Title:
Problem with Goodix i2c touch screen
Status in linux package in Ubuntu:
New
Bug description:
I have no-name tablet with goodix touch screen which not work in any
version of Ubuntu. Currently I work with 20.04 LTS and kernel
5.15.0-56-lowlatency.
It reports into dmesg:
Goodix-TS i2c-GDIX1002:00: acpi_dev_get_resources returned: 1,
ts->gpio_count: 2, ts->gpio_int_idx: -1
Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 1: -121
Goodix-TS i2c-GDIX1002:00: i2c test failed attempt 2: -121
After reviewing driver's source code I found that such parameters are
very close to code path which is used for bay trail, but my system is
not bay trail. When I comment out check for bay trail driver started
to work:
776c776
< } else if (/*is_byt() &&*/ ts->gpio_count == 2 && ts->gpio_int_idx ==
-1) {
---
> } else if (is_byt() && ts->gpio_count == 2 && ts->gpio_int_idx == -1) {
Maybe this is not correct fix and I may fix something in my system so
it will start to work with 'normal' driver? Or maybe driver need to be
modified as that checking for bay trail is not needed?
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2002353/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp