понедельник

[Bug 2085119] Re: Ubuntu 22.04 LTS OEM installation - Lenovo privacy guard does not work with keyboard shortcut (flashes on and then off)

** Description changed:

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
+ However, there is a problem 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.
+ Bug description updated several times because it behaves differently when using Fn+D vs UI, and because while it seemed kernel upgrade was to blame, it seems going back to the original kernel and mutter does not automatically help if the problem is happening.
+
+ The most likely explanation is that initial setup of bits here and there
+ is not correct for the case where only Fn+D shortcut key is tried to be
+ used to control privacy screen. Additionally, attaching / detaching
+ external display may affect the situation somehow too.

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

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
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 problem 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 several times because it behaves differently when using Fn+D vs UI, and because while it seemed kernel upgrade was to blame, it seems going back to the original kernel and mutter does not automatically help if the problem is happening.

The most likely explanation is that initial setup of bits here and
there is not correct for the case where only Fn+D shortcut key is
tried to be used to control privacy screen. Additionally, attaching /
detaching external display may affect the situation somehow too.

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

Комментариев нет:

Отправить комментарий