** Description changed:

+ [Impact]
+ 
+ 2 Ubuntu users reported that the spi keyboard/trackpad doesn't work anymore 
with
+ Ubuntu Plucky kernel, it works well with Oracular kernel. Through 
investigation,
+ I found the root cause is the change on iommu/intel introduced from v6.12-rc1,
+ from v6.12-rc, the keyboard/trackpad stops working. I checked the linux-next,
+ there is a fix for this issue already.
+ 
+ This issue only exists for Plucky kernel and onwards, Q is unstable atm, the 
fix
+ will be in Q automatically.
+ 
+ 
+ [Fix]
+ cherry-pick one patch from upstream.
+ 
+ [Test]
+ I patched a Plucky kernel and built it, then shared the deb to
+ bug reporters, they tested with the patched kernel, the spi keyboard/trackpad
+ could work well with this kernel.
+ 
+ 
+ [Where problems could occur]
+ The change impacts context entry setup order for aliased devices, if there is
+ regression, it will be on intel pci/pcie aliased devices, but the regression
+ chance is very low, since this patch just resotres to the original setup order
+ for aliased devices, it should be safe. And they tested the patched kernel,
+ no new issues were found.
+ 
+ 
  Following upgrade to 25.04 the spi keyboard and trackpad are not working on 
my macbook 10,1. No mouse shows up on screen. applespi shows up still but dmesg 
logs show corrupt packets and timeouts.  I have also tried running afresh from 
a live USB but same problem occurs.
- --- 
+ ---
  ProblemType: Bug
  ApportVersion: 2.32.0-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  eoin       2838 F.... wireplumber
-  /dev/snd/seq:        eoin       2834 F.... pipewire
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  eoin       2838 F.... wireplumber
+  /dev/snd/seq:        eoin       2834 F.... pipewire
  CasperMD5CheckResult: pass
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 25.04
  InstallationDate: Installed on 2025-03-12 (69 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215)
  MachineType: Apple Inc. MacBook10,1
  Package: linux (not installed)
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-15-generic 
root=UUID=411324ce-3c68-482a-a959-e1181945ef27 ro quiet splash 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M 
vt.handoff=7
  ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
  RelatedPackageVersions:
-  linux-restricted-modules-6.14.0-15-generic N/A
-  linux-backports-modules-6.14.0-15-generic  N/A
-  linux-firmware                             20250317.git1d4c88ee-0ubuntu1
+  linux-restricted-modules-6.14.0-15-generic N/A
+  linux-backports-modules-6.14.0-15-generic  N/A
+  linux-firmware                             20250317.git1d4c88ee-0ubuntu1
  Tags: plucky wayland-session
  Uname: Linux 6.14.0-15-generic x86_64
  UpgradeStatus: Upgraded to plucky on 2025-05-15 (5 days ago)
  UserGroups: adm cdrom dialout dip lpadmin ollama plugdev sudo users
  _MarkForUpload: True
  dmi.bios.date: 06/23/2024
  dmi.bios.release: 0.1
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: 529.140.2.0.0
  dmi.board.name: Mac-EE2EBD4B90B839A8
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBook10,1
  dmi.chassis.type: 9
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-EE2EBD4B90B839A8
  dmi.modalias: 
dmi:bvnAppleInc.:bvr529.140.2.0.0:bd06/23/2024:br0.1:svnAppleInc.:pnMacBook10,1:pvr1.0:rvnAppleInc.:rnMac-EE2EBD4B90B839A8:rvrMacBook10,1:cvnAppleInc.:ct9:cvrMac-EE2EBD4B90B839A8:sku:
  dmi.product.family: MacBook
  dmi.product.name: MacBook10,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

-- 
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/2107976

Title:
  Apple spi keyboard/trackpad not working 25.04

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Plucky:
  In Progress

Bug description:
  [Impact]

  2 Ubuntu users reported that the spi keyboard/trackpad doesn't work anymore 
with
  Ubuntu Plucky kernel, it works well with Oracular kernel. Through 
investigation,
  I found the root cause is the change on iommu/intel introduced from v6.12-rc1,
  from v6.12-rc, the keyboard/trackpad stops working. I checked the linux-next,
  there is a fix for this issue already.

  This issue only exists for Plucky kernel and onwards, Q is unstable atm, the 
fix
  will be in Q automatically.

  
  [Fix]
  cherry-pick one patch from upstream.

  [Test]
  I patched a Plucky kernel and built it, then shared the deb to
  bug reporters, they tested with the patched kernel, the spi keyboard/trackpad
  could work well with this kernel.

  
  [Where problems could occur]
  The change impacts context entry setup order for aliased devices, if there is
  regression, it will be on intel pci/pcie aliased devices, but the regression
  chance is very low, since this patch just resotres to the original setup order
  for aliased devices, it should be safe. And they tested the patched kernel,
  no new issues were found.


  Following upgrade to 25.04 the spi keyboard and trackpad are not working on 
my macbook 10,1. No mouse shows up on screen. applespi shows up still but dmesg 
logs show corrupt packets and timeouts.  I have also tried running afresh from 
a live USB but same problem occurs.
  ---
  ProblemType: Bug
  ApportVersion: 2.32.0-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  eoin       2838 F.... wireplumber
   /dev/snd/seq:        eoin       2834 F.... pipewire
  CasperMD5CheckResult: pass
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 25.04
  InstallationDate: Installed on 2025-03-12 (69 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215)
  MachineType: Apple Inc. MacBook10,1
  Package: linux (not installed)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.14.0-15-generic 
root=UUID=411324ce-3c68-482a-a959-e1181945ef27 ro quiet splash 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M 
vt.handoff=7
  ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
  RelatedPackageVersions:
   linux-restricted-modules-6.14.0-15-generic N/A
   linux-backports-modules-6.14.0-15-generic  N/A
   linux-firmware                             20250317.git1d4c88ee-0ubuntu1
  Tags: plucky wayland-session
  Uname: Linux 6.14.0-15-generic x86_64
  UpgradeStatus: Upgraded to plucky on 2025-05-15 (5 days ago)
  UserGroups: adm cdrom dialout dip lpadmin ollama plugdev sudo users
  _MarkForUpload: True
  dmi.bios.date: 06/23/2024
  dmi.bios.release: 0.1
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: 529.140.2.0.0
  dmi.board.name: Mac-EE2EBD4B90B839A8
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBook10,1
  dmi.chassis.type: 9
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-EE2EBD4B90B839A8
  dmi.modalias: 
dmi:bvnAppleInc.:bvr529.140.2.0.0:bd06/23/2024:br0.1:svnAppleInc.:pnMacBook10,1:pvr1.0:rvnAppleInc.:rnMac-EE2EBD4B90B839A8:rvrMacBook10,1:cvnAppleInc.:ct9:cvrMac-EE2EBD4B90B839A8:sku:
  dmi.product.family: MacBook
  dmi.product.name: MacBook10,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2107976/+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