2022-05-14 03:40:03

by Paul Menzel

[permalink] [raw]
Subject: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device

Dear Linux folks,


On the Dell XPS 13 9310, firmware 2.2.0 04/06/2021, with Debian
sid/unstable, Linux 5.17.3 logs a lot of the messages below:

timeout waiting for response from ISHTP device

Please find the output of `dmesg` attached.


Kind regards,

Paul


PS: Output of `lsusb` and `lspci -nn`:

```
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:5517 Realtek Semiconductor Corp.
Integrated_Webcam_HD
Bus 003 Device 017: ID 413c:301a Dell Computer Corp. Dell MS116 Optical
Mouse
Bus 003 Device 016: ID 06c4:c412 Bizlink International Corp. DELL DA300
Bus 003 Device 015: ID 2109:2820 VIA Labs, Inc. VL820 Hub
Bus 003 Device 002: ID 27c6:533c Shenzhen Goodix Technology Co.,Ltd.
FingerPrint
Bus 003 Device 004: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 012: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153
Gigabit Ethernet Adapter
Bus 002 Device 011: ID 2109:0820 VIA Labs, Inc. VL820 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 11th Gen Core Processor
Host Bridge/DRAM Registers [8086:9a14] (rev 01)
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP
GT2 [Iris Xe Graphics] [8086:9a49] (rev 01)
00:04.0 Signal processing controller [1180]: Intel Corporation
TigerLake-LP Dynamic Tuning Processor Participant [8086:9a03] (rev 01)
00:06.0 PCI bridge [0604]: Intel Corporation 11th Gen Core Processor
PCIe Controller [8086:9a09] (rev 01)
00:07.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP Thunderbolt 4
PCI Express Root Port #0 [8086:9a23] (rev 01)
00:07.2 PCI bridge [0604]: Intel Corporation Tiger Lake-LP Thunderbolt 4
PCI Express Root Port #2 [8086:9a27] (rev 01)
00:0a.0 Signal processing controller [1180]: Intel Corporation Tigerlake
Telemetry Aggregator Driver [8086:9a0d] (rev 01)
00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP
Thunderbolt 4 USB Controller [8086:9a13] (rev 01)
00:0d.2 USB controller [0c03]: Intel Corporation Tiger Lake-LP
Thunderbolt 4 NHI #0 [8086:9a1b] (rev 01)
00:0d.3 USB controller [0c03]: Intel Corporation Tiger Lake-LP
Thunderbolt 4 NHI #1 [8086:9a1d] (rev 01)
00:12.0 Serial controller [0700]: Intel Corporation Tiger Lake-LP
Integrated Sensor Hub [8086:a0fc] (rev 20)
00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP USB 3.2
Gen 2x1 xHCI Host Controller [8086:a0ed] (rev 20)
00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-LP Shared SRAM
[8086:a0ef] (rev 20)
00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201
[8086:a0f0] (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP
Serial IO I2C Controller #0 [8086:a0e8] (rev 20)
00:15.1 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP
Serial IO I2C Controller #1 [8086:a0e9] (rev 20)
00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-LP
Management Engine Interface [8086:a0e0] (rev 20)
00:19.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP
Serial IO I2C Controller #4 [8086:a0c5] (rev 20)
00:19.1 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP
Serial IO I2C Controller #5 [8086:a0c6] (rev 20)
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a0b3] (rev 20)
00:1f.0 ISA bridge [0601]: Intel Corporation Tiger Lake-LP LPC
Controller [8086:a082] (rev 20)
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger
Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller
[8086:a0a3] (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP
SPI Controller [8086:a0a4] (rev 20)
01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black
SN750 / PC SN730 NVMe SSD [15b7:5006]
72:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5260
PCI Express Card Reader [10ec:5260] (rev 01)
```


Attachments:
20220512-debian-linux-5.17.3-dmesg.txt (128.06 kB)

2022-05-18 15:42:40

by srinivas pandruvada

[permalink] [raw]
Subject: Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device

Hi Paul,

Attached a diff. Please use git apply and build kernel. And attach
dmesg. I want to see where did it fail.

Thanks,
Srinivas

On Wed, 2022-05-18 at 06:07 +0200, Paul Menzel wrote:
> Dear Srinivas,
>
>
> Thank you for your reply.
>
> Am 13.05.22 um 01:07 schrieb srinivas pandruvada:
>
> > On Thu, 2022-05-12 at 17:01 +0200, Paul Menzel wrote:
>
> > > On the Dell XPS 13 9310, firmware 2.2.0 04/06/2021, with Debian
> > > sid/unstable, Linux 5.17.3 logs a lot of the messages below:
> > >
> > >       timeout waiting for response from ISHTP device
> > >
> > > Please find the output of `dmesg` attached.
> > >
> > It seems that sensor FW is not responding after resume.
> >
> > What is
> > # cat /sys/power/mem_sleep
>
>      $ cat /sys/power/mem_sleep
>      [s2idle]
>
>
> Kind regards,
>
> Paul
>
>
> PS: I think, Intel should have a Dell XPS 13 9310 available in some
> test
> labs. If not, Dell (Cc) should be able to provide access to one.


Attachments:
ish_debug_1.diff (2.17 kB)

2022-05-18 18:11:23

by Paul Menzel

[permalink] [raw]
Subject: Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device

Dear Srinivas,


Am 18.05.22 um 17:39 schrieb srinivas pandruvada:

> Attached a diff. Please use git apply and build kernel. And attach
> dmesg. I want to see where did it fail.

As written, the device is used in production by a user, so I am not
sure, if I can get the device to test self-built Linux kernel images to
debug this issue. It would really be better to get access to such a
device from Dell or in some Intel lab.


Kind regards,

Paul

2022-05-18 18:54:12

by srinivas pandruvada

[permalink] [raw]
Subject: Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device

Hi Paul,

On Wed, 2022-05-18 at 20:06 +0200, Paul Menzel wrote:
> Dear Srinivas,
>
>
> Am 18.05.22 um 17:39 schrieb srinivas pandruvada:
>
> > Attached a diff. Please use git apply and build kernel. And attach
> > dmesg. I want to see where did it fail.
>
> As written, the device is used in production by a user, so I am not
> sure, if I can get the device to test self-built Linux kernel images
> to
> debug this issue. It would really be better to get access to such a
> device from Dell or in some Intel lab.
>
Let me try to get one.
You described some firmware version. Where did you see that? Do you
mean BIOS version?

Thanks,
Srinivas


>
> Kind regards,
>
> Paul


2022-05-18 19:58:53

by srinivas pandruvada

[permalink] [raw]
Subject: Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device

Hi Paul,

Good news, is that I can get to one 9310 system.

Manufacturer: Dell Inc.
Product Name: XPS 13 9310

I had
"
bios_date:12/10/2020
bios_release:1.2
bios_vendor:Dell Inc.
bios_version:1.2.5
"

Didn't observe any issue with ISH after multiple suspend/resume

Update to the latest available from Dell website

BIOS Information
Vendor: Dell Inc.
Version: 3.6.0
Release Date: 03/17/2022


Still no issue.

I am using
5.17.7-200.fc35.x86_64

So suggest to updated to the latest BIOS from Dell website and
reproduce.

Thanks,
Srinivas

On Wed, 2022-05-18 at 20:06 +0200, Paul Menzel wrote:
> Dear Srinivas,
>
>
> Am 18.05.22 um 17:39 schrieb srinivas pandruvada:
>
> > Attached a diff. Please use git apply and build kernel. And attach
> > dmesg. I want to see where did it fail.
>
> As written, the device is used in production by a user, so I am not
> sure, if I can get the device to test self-built Linux kernel images
> to
> debug this issue. It would really be better to get access to such a
> device from Dell or in some Intel lab.
>
>
> Kind regards,
>
> Paul


2022-06-09 16:54:25

by Paul Menzel

[permalink] [raw]
Subject: Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device

Dear Srinivas,


Am 18.05.22 um 21:55 schrieb srinivas pandruvada:

> Good news, is that I can get to one 9310 system.

Awesome.

> Manufacturer: Dell Inc.
> Product Name: XPS 13 9310
>
> I had
> "
> bios_date:12/10/2020
> bios_release:1.2
> bios_vendor:Dell Inc.
> bios_version:1.2.5
> "
>
> Didn't observe any issue with ISH after multiple suspend/resume
>
> Update to the latest available from Dell website
>
> BIOS Information
> Vendor: Dell Inc.
> Version: 3.6.0
> Release Date: 03/17/2022
>
>
> Still no issue.
>
> I am using
> 5.17.7-200.fc35.x86_64
>
> So suggest to updated to the latest BIOS from Dell website and
> reproduce.

I had access to the system, and I have not seen that ISHTP message since
May 16th, 2022 so with the old 2.2.0 and current 3.6.0 system firmware.
But it also was not always present beforehand, so no idea, if something
special has to be done (like attach a device) to trigger it.

Until the message shows up again, let’s consider the issue fixed though.
Thank you for your time.


Kind regards,

Paul