Linux Input/HID development
 help / color / mirror / Atom feed
From: Qiao Ruihao <qiaoruihao20061203@qq.com>
To: linux-input@vger.kernel.org
Cc: even.xu@intel.com, xinpeng.sun@intel.com
Subject: [BUG] intel-quickspi: touchscreen DMA write timeout (Goodix 27C6:012D) on Lenovo YOGA Pro 16 IAH10	[thread overview]
Message-ID: <tencent_DBBAC19E701BEFF670746186D3C6B4CA1D06@qq.com> (raw)

Hello,

The touchscreen on my Lenovo YOGA Pro 16 IAH10 does not work under
Linux. The intel-quickspi driver detects the device, but the
feature-report fetch (GET_REPORT) fails with a TxDMA write timeout,
which makes hid-multitouch fail initialization and fall back to a
generic keyboard, so the screen does not respond to any touch input.

The touchscreen works correctly under Windows 11 on the same hardware.

## Hardware

  - Laptop: Lenovo YOGA Pro 16 IAH10 (MT 83L0)
  - CPU: Intel Arrow Lake-H
  - Touchscreen: Goodix 27C6:012D, connected via Intel THC QuickSPI
  - THC controller: 00:10.0 Digitizer Pen [8086:7749] (rev 03),
    subsystem Lenovo [17aa:3815]

## Software

  - Kernel: 7.0.14-070014-generic
    (also reproduced on 6.19.14-061914-generic)
  - Distro: Ubuntu 22.04.5 LTS

## Problem

At boot the device is detected (reset + device descriptor read
succeed), but then hid-multitouch fails to fetch its feature reports
because every GET_REPORT command sent over TxDMA times out.

## Relevant kernel log

  intel_quickspi 0000:00:10.0: Can't find wake GPIO resource
  ACPI: \_SB.PC00.THC0._RST: Excess arguments - Caller passed 1, ACPI requires 0
  input: quickspi-hid 27C6:012D Touchscreen as /devices/pci0000:00/0000:00:10.0/0001:27C6:012D.0002/input/input7
  intel_quickspi 0000:00:10.0: Wait Get Report Response timeout, ret:0
  hid-multitouch 0001:27C6:012D.0002: failed to fetch feature 2
  intel_quickspi 0000:00:10.0: timeout for waiting TxDMA completion
  intel_quickspi 0000:00:10.0: DMA write failed, ret = -110
  intel_quickspi 0000:00:10.0: Write GET_REPORT command failed, ret = -110
  hid-multitouch 0001:27C6:012D.0002: failed to fetch feature 3
  hid-multitouch 0001:27C6:012D.0002: input,hidraw1: <UNKNOWN> HID v8.65 Keyboard [quickspi-hid 27C6:012D]

## Analysis

The reset (acpi_tic_reset via _RST) and device-descriptor read
succeed, so the SPI link and interrupt path partially work. The
failure is specific to quickspi_get_report() ->
write_cmd_to_txdma() -> thc_dma_write(): the TxDMA transfer never
completes (write_done is never set, 1s timeout -> -ETIMEDOUT).

I would be happy to provide additional information (full dmesg, ACPI
tables, register dumps) or test patches.

Thanks,
Qiao Ruihao


             reply	other threads:[~2026-08-15 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-15 15:19 Qiao Ruihao [this message]
2026-08-15 19:27 ` [BUG] intel-quickspi: touchscreen DMA write timeout (Goodix 27C6:012D) on Lenovo YOGA Pro 16 IAH10 Lovekesh Solanki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_DBBAC19E701BEFF670746186D3C6B4CA1D06@qq.com \
    --to=qiaoruihao20061203@qq.com \
    --cc=even.xu@intel.com \
    --cc=linux-input@vger.kernel.org \
    --cc=xinpeng.sun@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox