This issue is a regression of commit from v6.8-rc1 :

commit af93a167eda90192563bce64c4bb989836afac1f
Author: Hans de Goede <hdego...@redhat.com>
Date:   Sat Dec 2 23:46:11 2023 +0100

    HID: i2c-hid: Move i2c_hid_finish_hwreset() to after reading the
report-descriptor


Fix is still pending in hid repo, once it's in linus's tree, I will SRU it to 
6.8 kernel.
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/commit/?h=for-6.9/upstream-fixes&id=ea36bf1827462e4a52365bf8e3f7d1712c5d9600

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2061040

Title:
  I2C HID device sometimes fails to initialize causing touchpad to not
  work

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Noble:
  Triaged

Bug description:
  Hi,

  Touchpad on my new Lenovo X1 Carbon (Gen12) with the Sensel haptic pad
  doesn't work on boot. I see this:

  | [Thu Apr 11 13:57:26 2024] i2c_hid_acpi i2c-SNSL0028:00: device did not ack 
reset within 1000 ms
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unknown main 
item tag 0x0
  | ...
  | [Thu Apr 11 13:57:26 2024] hid-generic 0018:2C2F:0028.0001: unbalanced 
collection at end of report description
  | [Thu Apr 11 13:57:26 2024] hid-generic: probe of 0018:2C2F:0028.0001 failed 
with error -22

  Per the Arch Linux wiki page[1], removing and reloading the
  `i2c_hid_acpi` seems to fix it:

  | [Thu Apr 11 13:58:02 2024] i2c_hid_acpi i2c-SNSL0028:00: device did not ack 
reset within 1000 ms
  | [Thu Apr 11 13:58:02 2024] input: SNSL0028:00 2C2F:0028 Mouse as 
/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-SNSL0028:00/0018:2C2F:0028.0002/input/input15
  | [Thu Apr 11 13:58:02 2024] input: SNSL0028:00 2C2F:0028 Touchpad as 
/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-SNSL0028:00/0018:2C2F:0028.0002/input/input16
  | [Thu Apr 11 13:58:02 2024] hid-multitouch 0018:2C2F:0028.0002: 
input,hidraw0: I2C HID v1.00 Mouse [SNSL0028:00 2C2F:0028] on i2c-SNSL0028:00
  | [Thu Apr 11 13:58:03 2024] psmouse serio1: trackpoint: Synaptics TrackPoint 
firmware: 0x08, buttons: 3/3
  | [Thu Apr 11 13:58:03 2024] input: TPPS/2 Synaptics TrackPoint as 
/devices/platform/i8042/serio1/input/input18

  From that Arch Linux wiki page, it seems to be a bug upstream[2] with
  the commit fixing this:

  |
  
https://github.com/torvalds/linux/commit/af93a167eda90192563bce64c4bb989836afac1f

  Or

  | https://lore.kernel.org/linux-
  input/20240331182440.14477-1...@kl.wtf/T/#u

  Can we get fix this backported?

  | [hloeung@dharkan tmp]$ apt-cache policy linux-image-generic-hwe-24.04
  | linux-image-generic-hwe-24.04:
  |   Installed: 6.8.0-22.22
  |   Candidate: 6.8.0-22.22
  |   Version table:
  |  *** 6.8.0-22.22 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu noble/main amd64 
Packages
  |         100 /var/lib/dpkg/status
  | [hloeung@dharkan tmp]$ uname -a
  | Linux dharkan.local 6.8.0-22-generic #22-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 
 4 22:30:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  | [hloeung@dharkan tmp]$

  Thanks,

  Haw

  [1]: https://wiki.archlinux.org/title/Lenovo_ThinkPad_Z16_Gen_2
  [2]: https://bugzilla.redhat.com/show_bug.cgi?id=2271136

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2061040/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to