surface-pro-x icon indicating copy to clipboard operation
surface-pro-x copied to clipboard

SPI-HID driver fails intermittently

Open qzed opened this issue 3 years ago • 1 comments

The spi_hid driver fails intermittently, preventing touch input from working. I am not sure whether this happens during probe or device open. As a workaround, the module or driver can be reloaded/re-bound manually (multiple times, if necessary).

qzed avatar Jun 17 '22 00:06 qzed

Maybe this helps debugging the issue:

[10301.467762] spi_hid spi0.0: spi_hid_ll_raw_request called in unready state
[10301.511194] spi_hid spi0.0: spi_hid_ll_close: d0 -> d3
[10301.527600] spi_hid spi0.0: Invalid input report sync constant (0xff)
[10301.527608] spi_hid spi0.0: failed to validate header: -22
[10301.527611] spi_hid: header buffer: ff ff ff ff
[10301.540101] spi_hid spi0.0: spi_hid_ll_open: d3 -> d0
[10301.565230] spi_hid spi0.0: spi_hid_ll_close: d0 -> d3
[10301.577794] spi_hid spi0.0: Invalid input report sync constant (0xff)
[10301.577809] spi_hid spi0.0: failed to validate header: -22
[10301.577817] spi_hid: header buffer: ff ff ff ff
[10301.588581] hid-generic 001C:045E:0C21.0008: input,hidraw3: <UNKNOWN> HID v1.00 Device [spi 045E:0C21] on spi0.0
[10301.588719] spi_hid spi0.0: spi_hid_create_device_work: d0 -> d3
[10301.589115] spi_hid spi0.0: spi_hid_ll_open: d3 -> d3
[10301.637226] spi_hid spi0.0: Invalid input report sync constant (0x0)
[10301.637246] spi_hid spi0.0: failed to validate header: -22
[10301.637254] spi_hid: header buffer: 00 00 00 00
[10301.648822] spi_hid spi0.0: spi_hid_ll_open: d3 -> d0

denysvitali avatar Oct 05 '25 15:10 denysvitali