This patch has been included in 5.12-rc7. I have tried the Ubuntu mainline kernel build for 5.12-rc7. I can confirm that the changeset mentioned above works.
-- 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/1917210 Title: Dell XPS 13 2in1 wakes from sleep when moved on 20.04 Status in linux package in Ubuntu: Confirmed Bug description: Dell XPS 13 9310 2in1, running Ubuntu OEM kernel (20.04) on 20.04 LTS. Laptop suspends and wakes up when lid is closed and opened, respectively. Laptop erroneously wakes up also in following conditions: 1. lid is closed and laptop is moved/rotated. 2. lid is open, suspended manually (via power button), and laptop is moved/rotated. Until I found out about case 2, I assumed that the hall sensor triggered on slight opening of the lid. However, case 2 shows that this is unlikely a hard ware defect/sensitivity. I suspect that the accelaration sensor triggers waking up from sleep. I can confirm that the problem persist after stopping the iio-sensor-prox service via systemctl. I did not find which kernel module is reponsible for tracking this sensor. Suggestions? --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: dvandyk 1207 F.... pulseaudio CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2020-12-26 (65 days ago) InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) MachineType: Dell Inc. XPS 13 9310 2-in-1 Package: linux (not installed) ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.6.0-1048-oem root=UUID=9104c339-1746-4791-b1ff-0d439dfd75e0 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 5.6.0-1048.52-oem 5.6.19 RelatedPackageVersions: linux-restricted-modules-5.6.0-1048-oem N/A linux-backports-modules-5.6.0-1048-oem N/A linux-firmware 1.187.9 Tags: wayland-session focal Uname: Linux 5.6.0-1048-oem x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 10/05/2020 dmi.bios.vendor: Dell Inc. dmi.bios.version: 1.1.1 dmi.board.name: 0062CR dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 31 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvr1.1.1:bd10/05/2020:svnDellInc.:pnXPS1393102-in-1:pvr:rvnDellInc.:rn0062CR:rvrA00:cvnDellInc.:ct31:cvr: dmi.product.family: XPS dmi.product.name: XPS 13 9310 2-in-1 dmi.product.sku: 09FF dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1917210/+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