Problem with Goodix i2c touch screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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-
It reports into dmesg:
Goodix-TS i2c-GDIX1002:00: acpi_dev_
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.
---
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC1D0p: kioskset 4197 F...m alsa_dmixd
/dev/snd/
/dev/snd/timer: kioskset 4197 f.... alsa_dmixd
CasperMD5CheckR
DistroRelease: Ubuntu 20.04
MachineType: Default string Default string
Package: linux (not installed)
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
TERM=xterm
XDG_RUNTIME_
PATH=(custom, no user)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.187.33
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: focal
Uname: Linux 5.15.0-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 09/26/2019
dmi.bios.release: 5.11
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: S101UJSR200_8GB_R02
dmi.board.
dmi.board.name: Default string
dmi.board.vendor: Default string
dmi.board.version: Default string
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Tablet
dmi.product.name: Default string
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Default string
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2002353
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.