Back to this bug and a 22.04 installation after visiting 24.04 in LP: #2085420 and LP: #2085423.
Paolo: First of all, your kernel build initially looked like to fix the Fn+D functionality. As a side effect it somehow disables both the Mutter notification about privacy screen enabled/disabled and the GNOME UI selection "Restrict Viewing Angle" for the privacy screen. And I can easily believe this side effect is actually the _reason_ why Fn+D now works, instead of there being a kernel level fix to the original issue. I believe my original statement, which I've already fixed in the description a couple of times, that "it works in default 03/2024 OEM installation" may be incorrect, since it was based on a memory and there might be some other explanation why at some point the Fn+D worked fine than kernel/mutter upgrades. Now testing back with linux-6.5.0-1019-oem kernel + older mutter the faulty behavior is still there, so it's possibly not kernel related. --- HOWEVER, in the default 22.04 configuration, up-to-date nor not, there is actually a key (pun intended) difference I didn't notice earlier: the privacy screen works fine so far via GNOME Privacy Screen Lock UI, while this "immediate reset" happens with the Fn+D keyboard shortcut! And I found now this problem or a variety of it has been reported also in 2022 in https://bugs.launchpad.net/ubuntu/+source/gnome-control- center/+bug/1966178/comments/10 ** Summary changed: - Regression on Ubuntu 22.04 LTS after upgrading from shipped OEM installation to current versions of 22.04 - Lenovo privacy guard does not work (flashes on and then off) + Ubuntu 22.04 LTS OEM installation - Lenovo privacy guard does not work with keyboard shortcut (flashes on and then off) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/2085119 Title: Ubuntu 22.04 LTS OEM installation - Lenovo privacy guard does not work with keyboard shortcut (flashes on and then off) Status in linux package in Ubuntu: Fix Released Status in linux-hwe-6.8 package in Ubuntu: Invalid Status in mutter package in Ubuntu: Fix Released Status in linux source package in Jammy: New Status in linux-hwe-6.8 source package in Jammy: New Status in mutter source package in Jammy: New Bug description: The laptop shipped with Lenovo's 6.5.0-1019-oem, but upon upgrades switched to 6.8.0-47-generic which is generally preferred because 6.5-oem is no longer seeing updates. However, there is a regression that Fn+D Lenovo Privacy Guard does not switch correctly on. Instead, it only briefly flashed on and immediately back off, with "Privacy screen enabled" followed immediately by "Privacy screen disabled" at the bottom of the screen. This bug used to indicate it's clearly a kernel regression, but it may be also a regression in some other component. I've added mutter since it's the compositor and also has the "Privacy screen enabled/disabled" string, but downgrading that to 42.9-0ubuntu7 the machine shipped with according to /var/log/apt/term.log did not help. ## Test Case Laptop model: Lenovo Thinkpad T14s Gen 5 (Intel) with vendor support Ubuntu 22.04 LTS (oem-sutton-carr-meta) 1. Boot to desktop, check that Fn+D is functional both to turn the feature on and off 2. Attach external display, and try again. 3. Detach external display, try again. 4. Reboot, and try again. ## Expected Behavior Fn+D works as intended in all cases. This is how it worked as the laptop shipped, with 6.5.0-1019-oem as the kernel. ## Actual Behavior Fn+D only results in a "flashing" Privacy Guard being activated but immediately deactivated, so that it does not stay on. --- Bug description updated to reflect I can no longer find a way for it to behave correctly, but it did behave correctly in the configuration it shipped in, after which only offered upgrades have been done. --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu82.6 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: secto10 1765 F.... pulseaudio /dev/snd/controlC1: secto10 1765 F.... pulseaudio CRDA: N/A CasperMD5CheckMismatches: ./.disk/casper-uuid-oem ./boot/grub/efi.img ./boot/grub/grub.cfg ./casper/initrd CasperMD5CheckResult: fail CurrentDesktop: ubuntu:GNOME DistributionChannelDescriptor: # This is the distribution channel descriptor for the OEM CDs # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor canonical-oem-sutton-jammy-amd64-20240409-800 DistroRelease: Ubuntu 22.04 InstallationDate: Installed on 2024-04-23 (180 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - pc-sutton-jammy-amd64-20240409-800 MachineType: LENOVO 21LSCTO1WW Package: linux-hwe-6.8 ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-47-generic root=UUID=cd7231e8-b1db-45c4-aaa0-e396d0ff90b7 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 6.8.0-47.47~22.04.1-generic 6.8.12 RelatedPackageVersions: linux-restricted-modules-6.8.0-47-generic N/A linux-backports-modules-6.8.0-47-generic N/A linux-firmware 20220329.git681281e4-0ubuntu3.34 Tags: jammy wayland-session Uname: Linux 6.8.0-47-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 08/07/2024 dmi.bios.release: 1.7 dmi.bios.vendor: LENOVO dmi.bios.version: N46ET17W (1.07 ) dmi.board.asset.tag: Not Available dmi.board.name: 21LSCTO1WW dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.4 dmi.modalias: dmi:bvnLENOVO:bvrN46ET17W(1.07):bd08/07/2024:br1.7:efr1.4:svnLENOVO:pn21LSCTO1WW:pvrThinkPadT14sGen5:rvnLENOVO:rn21LSCTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21LS_BU_Think_FM_ThinkPadT14sGen5: dmi.product.family: ThinkPad T14s Gen 5 dmi.product.name: 21LSCTO1WW dmi.product.sku: LENOVO_MT_21LS_BU_Think_FM_ThinkPad T14s Gen 5 dmi.product.version: ThinkPad T14s Gen 5 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2085119/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp