Problem with Goodix i2c touch screen

Bug #2002353 reported by Vasylenko Serhii
10
This bug affects 1 person
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-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.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC1D0p: kioskset 4197 F...m alsa_dmixd
 /dev/snd/controlC0: kioskset 4197 F.... alsa_dmixd
 /dev/snd/timer: kioskset 4197 f.... alsa_dmixd
CasperMD5CheckResult: skip
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_DIR=<set>
 PATH=(custom, no user)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/appliance-vmlinuz root=UUID=bfe1498f-1f0d-48fe-b456-bfeebe528053 ro quiet splash nvidia-drm.modeset=1 net.ifnames=0 brd.rd_nr=0 usbcore.autosuspend=-1 elevator=noop vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-56.62~20.04.1-lowlatency 5.15.64
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-56-lowlatency N/A
 linux-backports-modules-5.15.0-56-lowlatency N/A
 linux-firmware 1.187.33
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: focal
Uname: Linux 5.15.0-56-lowlatency x86_64
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.asset.tag: Default string
dmi.board.name: Default string
dmi.board.vendor: Default string
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 10
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.ec.firmware.release: 1.13
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrS101UJSR200_8GB_R02:bd09/26/2019:br5.11:efr1.13:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct10:cvrDefaultstring:skuDefaultstring:
dmi.product.family: Tablet
dmi.product.name: Default string
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Default string

Revision history for this message
Vasylenko Serhii (opendx) wrote :
Revision history for this message
Vasylenko Serhii (opendx) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Vasylenko Serhii (opendx) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Vasylenko Serhii (opendx) wrote : CRDA.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : IwConfig.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : Lspci.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : Lspci-vt.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : Lsusb.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : Lsusb-t.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : Lsusb-v.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : ProcModules.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : UdevDb.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : WifiSyslog.txt

apport information

Revision history for this message
Vasylenko Serhii (opendx) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.