Fix speaker mute hotkey doesn't work on Dell G16 series

Bug #2003161 reported by koba
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
New
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned
linux (Ubuntu)
Fix Committed
Undecided
koba
Jammy
Fix Released
Medium
koba
Kinetic
Fix Released
Medium
koba
Lunar
Won't Fix
Undecided
koba
linux-oem-6.0 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
koba
Kinetic
Won't Fix
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned
linux-oem-6.1 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
koba
Kinetic
Won't Fix
Undecided
Unassigned
Lunar
Invalid
Undecided
Unassigned

Bug Description

[Impact]
Speaker mute and Mic mute hotkey no function on the G16.

[Fix]
speaker mute event is sent by EC then dell-wmi can't recognize it.

Add a new keymap for KEY_MUTE.

Send for OEM kernels first then will SRU for generic kernel once the patch is merged.

[Test Case]
1. boot-up with the kernel applied the fix.
2. Play video/audio.
3. Press the speak-mute hotkey
4. can't hear any sounds.

[Where problems could occur]
Low, only add a keymap the affect would be very limited.

koba (kobako)
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: New → In Progress
Changed in linux-oem-6.1 (Ubuntu Jammy):
status: New → In Progress
assignee: nobody → koba (kobako)
Changed in linux-oem-6.0 (Ubuntu Jammy):
assignee: nobody → koba (kobako)
description: updated
summary: - Fix speaker mute hotkey doesn't work
+ Fix speaker mute hotkey doesn't work on Dell G16 series
tags: added: oem-priority originate-from-2002127 somerville
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2003161

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Jammy):
status: New → Incomplete
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.0/6.0.0-1011.11 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-oem-6.0 verification-needed-jammy
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.1/6.1.0-1006.6 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-oem-6.1
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-6.0 - 6.0.0-1011.11

---------------
linux-oem-6.0 (6.0.0-1011.11) jammy; urgency=medium

  * jammy/linux-oem-6.0: 6.0.0-1011.11 -proposed tracker (LP: #2001806)

  * jammy/linux-oem-6.0: 6.0.0-1011.11 -proposed tracker (LP: #2003453)

  * Revoke & rotate to new signing key (LP: #2002812)
    - [Packaging] Revoke and rotate to new signing key

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2023.01.02)

  * Fix speaker mute hotkey doesn't work on Dell G16 series (LP: #2003161)
    - SAUCE: platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010
      table

  * CVE-2023-0179
    - netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

  * Fix headset mic not working issue on Dell Latitude 5340 (LP: #2002013)
    - ALSA: hda - Enable headset mic on another Dell laptop with ALC3254

  * Mediatek FM350-GL wwan module failed to init: Invalid device status 0x1
    (LP: #2002089)
    - SAUCE: Revert "net: wwan: t7xx: Add AP CLDMA"
    - net: devlink: extend info_get() version put to indicate a flash component
    - SAUCE: net: wwan: t7xx: Add AP CLDMA
    - SAUCE: net: wwan: t7xx: Infrastructure for early port configuration
    - SAUCE: net: wwan: t7xx: PCIe reset rescan
    - SAUCE: net: wwan: t7xx: Enable devlink based fw flashing and coredump
      collection
    - SAUCE: net: wwan: t7xx: Devlink documentation

  * Fix flicker display problem on some panels which support PSR2 (LP: #2002968)
    - drm/i915/psr: Add continuous full frame bit together with single

 -- Timo Aaltonen <email address hidden> Mon, 23 Jan 2023 20:30:00 +0200

Changed in linux-oem-6.0 (Ubuntu Jammy):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (77.0 KiB)

This bug was fixed in the package linux-oem-6.1 - 6.1.0-1006.6

---------------
linux-oem-6.1 (6.1.0-1006.6) jammy; urgency=medium

  * jammy/linux-oem-6.1: 6.1.0-1006.6 -proposed tracker (LP: #2003454)

  * Fix for S0i3 resume on GFX11 (LP: #2003369)
    - drm/amdgpu: skip MES for S0ix as well since it's part of GFX

  * Revoke & rotate to new signing key (LP: #2002812)
    - [Packaging] Revoke and rotate to new signing key

  * Mediatek FM350-GL wwan module failed to init: Invalid device status 0x1
    (LP: #2002089)
    - SAUCE: Revert "net: wwan: t7xx: Add AP CLDMA"
    - SAUCE: net: wwan: t7xx: Add AP CLDMA
    - SAUCE: net: wwan: t7xx: Infrastructure for early port configuration
    - SAUCE: net: wwan: t7xx: PCIe reset rescan
    - SAUCE: net: wwan: t7xx: Enable devlink based fw flashing and coredump
      collection
    - SAUCE: net: wwan: t7xx: Devlink documentation

  * Fix flicker display problem on some panels which support PSR2 (LP: #2002968)
    - drm/i915/psr: Add continuous full frame bit together with single

  * Fix speaker mute hotkey doesn't work on Dell G16 series (LP: #2003161)
    - SAUCE: platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010
      table

  * CVE-2023-0179
    - netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

  * Wireless: Enable RTL8852BE wifi driver (LP: #2002601)
    - wifi: rtw89: 8852b: add BB and RF tables (1 of 2)
    - wifi: rtw89: 8852b: add BB and RF tables (2 of 2)
    - wifi: rtw89: 8852b: add tables for RFK
    - wifi: rtw89: phy: make generic txpwr setting functions
    - wifi: rtw89: debug: txpwr_table considers sign
    - wifi: rtw89: 8852b: add chip_ops::set_txpwr
    - wifi: rtw89: 8852b: add chip_ops to read efuse
    - wifi: rtw89: 8852b: add chip_ops to read phy cap
    - wifi: rtw89: 8852be: add 8852BE PCI entry
    - wifi: rtw89: phy: ignore warning of bb gain cfg_type 4
    - wifi: rtw89: coex: move chip_ops::btc_bt_aci_imp to a generic code
    - wifi: rtw89: parse PHY status only when PPDU is to_self
    - wifi: rtw89: 8852b: set proper configuration before loading NCTL
    - wifi: rtw89: 8852b: add HFC quota arrays
    - wifi: rtw89: make generic functions to convert subband gain index
    - wifi: rtw89: 8852b: add chip_ops::set_channel
    - wifi: rtw89: correct 6 GHz scan behavior
    - wifi: mac80211: add internal handler for wake_tx_queue
    - wifi: rtw89: 8852b: add chip_ops::set_channel_help
    - wifi: rtw89: 8852b: add power on/off functions
    - wifi: rtw89: 8852b: add basic baseband chip_ops
    - wifi: rtw89: 8852b: add chip_ops to get thermal
    - wifi: rtw89: 8852b: add chip_ops related to BT coexistence
    - wifi: rtw89: 8852b: add chip_ops to query PPDU
    - wifi: rtw89: 8852b: add chip_ops to configure TX/RX path
    - wifi: rtw89: 8852b: add functions to control BB to assist RF calibrations
    - wifi: rtw89: 8852b: add basic attributes of chip_info
    - wifi: rtw89: 8852b: rfk: add DACK
    - wifi: rtw89: 8852b: rfk: add RCK
    - wifi: rtw89: 8852b: rfk: add RX DCK
    - wifi: rtw89: 8852b: rfk: add IQK
    - wifi: rtw89: 8852b: rfk: add TSSI
    - wifi: rtw89: 8852b: rfk: add DPK
    - wifi: rtw89: 8852b: add ch...

Changed in linux-oem-6.1 (Ubuntu Jammy):
status: In Progress → Fix Released
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.1 (Ubuntu):
status: New → Invalid
Changed in linux-oem-6.0 (Ubuntu):
status: New → Invalid
koba (kobako)
Changed in linux (Ubuntu Kinetic):
assignee: nobody → koba (kobako)
status: New → In Progress
Changed in linux (Ubuntu Jammy):
assignee: nobody → koba (kobako)
status: Incomplete → In Progress
Changed in linux (Ubuntu Lunar):
assignee: nobody → koba (kobako)
status: Incomplete → In Progress
Stefan Bader (smb)
Changed in linux (Ubuntu Kinetic):
importance: Undecided → Medium
Changed in linux (Ubuntu Jammy):
importance: Undecided → Medium
Changed in linux (Ubuntu Lunar):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Kinetic):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.15.0-68.75 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.19.0-37.38 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists, change the tag 'verification-needed-kinetic' to 'verification-failed-kinetic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-kinetic-linux verification-needed-kinetic
koba (kobako)
tags: added: verification-done-jammy verification-done-kinetic
removed: verification-needed-jammy verification-needed-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (15.0 KiB)

This bug was fixed in the package linux - 5.19.0-38.39

---------------
linux (5.19.0-38.39) kinetic; urgency=medium

  * kinetic/linux: 5.19.0-38.39 -proposed tracker (LP: #2012088)

  * NFS deathlock with last Kernel 5.4.0-144.161 and 5.15.0-67.74 (LP: #2009325)
    - NFS: Correct timing for assigning access cache timestamp

linux (5.19.0-37.38) kinetic; urgency=medium

  * kinetic/linux: 5.19.0-37.38 -proposed tracker (LP: #2008305)

  * XPS 9320 screen flicker on UHD panel 3840x2400 (LP: #2007516)
    - SAUCE: drm/i915/display/psr: Disable PSR2 sel fetch on panel SHP 5457

  * Fix speaker mute hotkey doesn't work on Dell G16 series (LP: #2003161)
    - platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table

  * net:cmsg_ipv6.sh from ubuntu_kernel_selftests failed with K-5.19
    (LP: #2000709)
    - selftest: net: Improve IPV6_TCLASS/IPV6_HOPLIMIT tests apparmor
      compatibility

  * rtcpie in timers from ubuntu_kernel_selftests randomly failing
    (LP: #1814234)
    - SAUCE: selftest: rtcpie: Force passing unreliable subtest

  * CVE-2023-0469
    - io_uring/filetable: fix file reference underflow

  * Improve arp_ndisc_evict_nocarrier.sh test result processing (LP: #2006546)
    - selftests: net: return non-zero for failures reported in
      arp_ndisc_evict_nocarrier

  * Make cm32181 sensor work after system suspend (LP: #1981773)
    - iio: light: cm32181: Add PM support

  * Fix Thunderbolt device hotplug fail when connect via thunderbolt dock
    (LP: #1991366)
    - PCI: Fix used_buses calculation in pci_scan_child_bus_extend()
    - PCI: Pass available buses even if the bridge is already configured
    - PCI: Move pci_assign_unassigned_root_bus_resources()
    - PCI: Fix whitespace and indentation
    - PCI: Fix typo in pci_scan_child_bus_extend()

  * arp_ndisc_evict_nocarrier.sh in net from ubuntu_kernel_selftests failed on
    J-oem-5.17 / K (LP: #1968310)
    - selftests: net: fix cleanup_v6() for arp_ndisc_evict_nocarrier

  * Screen freeze after resuming from suspend (nvme0: I/O timeout)
    (LP: #1996048)
    - PCI: vmd: Disable MSI remapping after suspend

  * RaptorLake: Fix the Screen is shaking by onboard HDMI port in mirror mode
    (LP: #1993561)
    - drm/i915/display: Drop check for doublescan mode in modevalid
    - drm/i915/display: Prune Interlace modes for Display >=12

  * udpgro_frglist.sh in net from ubuntu_kernel_selftests failed with K-5.19
    (Missing nat6to4 helper) (LP: #2000708)
    - selftests/net: mv bpf/nat6to4.c to net folder

  * selftests/.../nat6to4 breaks the selftests build (LP: #1996536)
    - selftests: net: Add cross-compilation support for BPF programs
    - selftests: net: Fix O=dir builds

  * CVE-2023-0266 // CVE-2023-0266 was assigned for this issue.
    - ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF

  * CVE-2022-4382
    - USB: gadgetfs: Fix race between mounting and unmounting

  * CVE-2022-2196
    - KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS

  * ubuntu_kernel_selftests: net:udpgso_bench.sh failed (LP: #1951447)
    - selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs

  * Kinetic update: upstream...

Changed in linux (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (66.3 KiB)

This bug was fixed in the package linux - 5.15.0-69.76

---------------
linux (5.15.0-69.76) jammy; urgency=medium

  * jammy/linux: 5.15.0-69.76 -proposed tracker (LP: #2012092)

  * NFS deathlock with last Kernel 5.4.0-144.161 and 5.15.0-67.74 (LP: #2009325)
    - NFS: Correct timing for assigning access cache timestamp

linux (5.15.0-68.75) jammy; urgency=medium

  * jammy/linux: 5.15.0-68.75 -proposed tracker (LP: #2008349)

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2023.02.27)

  * Ubuntu 22.04 kernel 5.15.0-46-generic leaks kernel memory in kmalloc-2k
    slabs (LP: #1987430)
    - SAUCE: audit: fix memory leak of audit_log_lsm()

  * [EGS] Backport intel_idle support for Eagle Stream Ubuntu 22.04 release
    (LP: #2003267)
    - intel_idle: add SPR support
    - intel_idle: add 'preferred_cstates' module argument
    - intel_idle: add core C6 optimization for SPR
    - cpuidle: intel_idle: Drop redundant backslash at line end
    - intel_idle: Fix the 'preferred_cstates' module parameter
    - intel_idle: Fix SPR C6 optimization
    - intel_idle: make SPR C1 and C1E be independent

  * Fix speaker mute hotkey doesn't work on Dell G16 series (LP: #2003161)
    - platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table

  * Fix the ACPI _CPC not found error from kernel dmesg on some dynamic SSDT
    table loaded firmwares (LP: #2006077)
    - ACPI: bus: Avoid using CPPC if not supported by firmware
    - ACPI: bus: Set CPPC _OSC bits for all and when CPPC_LIB is supported
    - ACPI: CPPC: Only probe for _CPC if CPPC v2 is acked

  * rtcpie in timers from ubuntu_kernel_selftests randomly failing
    (LP: #1814234)
    - SAUCE: selftest: rtcpie: Force passing unreliable subtest

  * Jammy update: v5.15.87 upstream stable release (LP: #2007441)
    - usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
    - cifs: fix oops during encryption
    - nvme-pci: fix doorbell buffer value endianness
    - nvme-pci: fix mempool alloc size
    - nvme-pci: fix page size checks
    - ACPI: resource: do IRQ override on LENOVO IdeaPad
    - ACPI: resource: do IRQ override on XMG Core 15
    - ACPI: resource: do IRQ override on Lenovo 14ALC7
    - block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
    - ata: ahci: Fix PCS quirk application for suspend
    - nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
    - nvmet: don't defer passthrough commands with trivial effects to the
      workqueue
    - fs/ntfs3: Validate BOOT record_size
    - fs/ntfs3: Add overflow check for attribute size
    - fs/ntfs3: Validate data run offset
    - fs/ntfs3: Add null pointer check to attr_load_runs_vcn
    - fs/ntfs3: Fix memory leak on ntfs_fill_super() error path
    - fs/ntfs3: Add null pointer check for inode operations
    - fs/ntfs3: Validate attribute name offset
    - fs/ntfs3: Validate buffer length while parsing index
    - fs/ntfs3: Validate resident attribute name
    - fs/ntfs3: Fix slab-out-of-bounds read in run_unpack
    - soundwire: dmi-quirks: add quirk variant for LAPBC710 NUC15
    - fs/ntfs3: Validate index root when initialize NTFS security
    - fs/ntfs3: Use __G...

Changed in linux (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-aws/5.19.0-1023.24 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists, change the tag 'verification-needed-kinetic' to 'verification-failed-kinetic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-kinetic-linux-aws verification-needed-kinetic
removed: verification-done-kinetic
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-azure/5.19.0-1023.24 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-kinetic' to 'verification-done-kinetic'. If the problem still exists, change the tag 'verification-needed-kinetic' to 'verification-failed-kinetic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-kinetic-linux-azure
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-azure/5.15.0-1036.43 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-azure verification-needed-jammy
removed: verification-done-jammy
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-aws/5.15.0-1034.38 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-aws
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-nvidia-5.19/5.19.0-1009.9 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-nvidia-5.19
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-xilinx-zynqmp/5.15.0-1021.25 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-xilinx-zynqmp
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Ubuntu 22.10 (Kinetic Kudu) has reached end of life, so this bug will not be fixed for that specific release.

Changed in linux-oem-6.0 (Ubuntu Kinetic):
status: New → Won't Fix
Changed in linux-oem-6.1 (Ubuntu Kinetic):
status: New → Won't Fix
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-aws-5.15/5.15.0-1046.51~20.04.1 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal-linux-aws-5.15' to 'verification-done-focal-linux-aws-5.15'. If the problem still exists, change the tag 'verification-needed-focal-linux-aws-5.15' to 'verification-failed-focal-linux-aws-5.15'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-focal-linux-aws-5.15-v2 verification-needed-focal-linux-aws-5.15
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-mtk/5.15.0-1030.34 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-mtk' to 'verification-done-jammy-linux-mtk'. If the problem still exists, change the tag 'verification-needed-jammy-linux-mtk' to 'verification-failed-jammy-linux-mtk'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-mtk-v2 verification-needed-jammy-linux-mtk
Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 23.04 (Lunar Lobster) has reached end of life, so this bug will not be fixed for that specific release.

Changed in linux (Ubuntu Lunar):
status: Fix Committed → Won't Fix
Revision history for this message
James R Larrowe (jl2210) wrote (last edit ):

This causes my keyboard's speaker mute key to activate twice when pressed, once from the Dell WMI hotkeys device and the other from the HID 0d62:3740 Keyboard device. On Dell G16 7620

This isn't a problem on X for some reason. Probably has some handling code for duplicate events within a certain period of time.

But on Wayland (with KDE Plasma if it matters), it makes it impossible for me to mute my audio via the keyboard.

Revision history for this message
AceLan Kao (acelankao) wrote :

Hi James,

Could you provide the following result of commands
1. `sudo dmidecode --type 0`
2. `usb-devices`
3. `sudo libinput list-devices` (you probable need to install libinput-tools manually)
4. `sudo libinput debug-events` and then press the mute key
Thanks.

Revision history for this message
koba (kobako) wrote :

@James,
could you also list and did you change the hwdb by yourself? thanks
1. sudo apt policy systemd-hwe-hwdb

Revision history for this message
James R Larrowe (jl2210) wrote (last edit ):
Download full text (13.8 KiB)

Apologies for the long comment. Can't seem to upload more than one log file.

dmidecode
```
# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.4 present.

Handle 0x0001, DMI type 0, 26 bytes
BIOS Information
        Vendor: Dell Inc.
        Version: 1.24.0
        Release Date: 04/02/2024
        ROM Size: 32 MB
        Characteristics:
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                ACPI is supported
                USB legacy is supported
                Smart battery is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 1.24
        Firmware Revision: 1.21
```

usb-devices
```

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=06.10
S: Manufacturer=Linux 6.10.2-arch1-1 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:0d.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=20000 MxCh= 1
D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=06.10
S: Manufacturer=Linux 6.10.2-arch1-1 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:0d.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=12
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=06.10
S: Manufacturer=Linux 6.10.2-arch1-1 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=03 Lev=01 Prnt=01 Port=09 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=8087 ProdID=0026 Rev=00.02
C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms

T: Bus=03 Lev=01 Prnt=06 Port=04 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.01 Cls=ef(misc ) Sub=02 Pro...

Revision history for this message
koba (kobako) wrote (last edit ):

@James, could you find mic-mute button on your g16?
could you sniffer events for auido-mute and mic-mute?
~~~
sudo libinput debug-events
~~~

the patch [0] is a feature to mute the mic not audio.
seems the codes are mixed.

also dump
1. modaaias
~~~
$ cat /sys/class/dmi/id/modalias
~~~
2. your /usr/lib/udev/hwdb.d/60-keyboard.hwdb

[0] 83bcf3e52e9cf) platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table

Revision history for this message
James R Larrowe (jl2210) wrote :

Mic mute functions properly (although does not show LED)

First is mic, second is speaker
```
-event3 DEVICE_ADDED Video Bus seat0 default group1 cap:k
-event2 DEVICE_ADDED Video Bus seat0 default group1 cap:k
-event1 DEVICE_ADDED Power Button seat0 default group2 cap:k
-event0 DEVICE_ADDED Lid Switch seat0 default group3 cap:S
-event20 DEVICE_ADDED HID 0d62:3740 Keyboard seat0 default group4 cap:kp scroll-nat
-event21 DEVICE_ADDED HID 0d62:3740 Wireless Radio Control seat0 default group4 cap:k
-event13 DEVICE_ADDED DELL0B99:00 04F3:317E Mouse seat0 default group5 cap:p left scroll-nat scroll-button
-event14 DEVICE_ADDED DELL0B99:00 04F3:317E Touchpad seat0 default group5 cap:pg size 104x60mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event4 DEVICE_ADDED Intel HID events seat0 default group6 cap:k
-event5 DEVICE_ADDED Intel HID 5 button array seat0 default group7 cap:k
-event7 DEVICE_ADDED Dell Privacy Driver seat0 default group8 cap:k
-event8 DEVICE_ADDED Dell WMI hotkeys seat0 default group9 cap:k
-event6 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group10 cap:k
-event15 DEVICE_ADDED PS/2 Generic Mouse seat0 default group11 cap:p left scroll-nat scroll-button
-event8 KEYBOARD_KEY +0.000s KEY_F20 (190) pressed
 event8 KEYBOARD_KEY +0.000s KEY_F20 (190) released
-event20 KEYBOARD_KEY +0.661s KEY_MUTE (113) pressed
-event8 KEYBOARD_KEY +0.676s KEY_MUTE (113) pressed
 event8 KEYBOARD_KEY +0.676s KEY_MUTE (113) released
-event20 KEYBOARD_KEY +0.757s KEY_MUTE (113) released
 event20 KEYBOARD_KEY +1.532s *** (-1) pressed
 event20 KEYBOARD_KEY +1.703s *** (-1) pressed
```

modalias
```
dmi:bvnDellInc.:bvr1.24.0:bd04/02/2024:br1.24:efr1.21:svnDellInc.:pnDellG167620:pvr:rvnDellInc.:rn0PM8FJ:rvrA02:cvnDellInc.:ct10:cvr:sku0B99:
```

60-keyboard.hwdb attached. Sorry for the confusion, I'm referring to 83bcf3e52e9cfc727df33f1055ef0618c91719d0
platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table

The mic mute key only goes through the WMI device and not the keyboard, as shown above

Revision history for this message
koba (kobako) wrote :

@James,
please update your 60-keyboard.hwdb
ubuntu's path is /usr/lib/udev/hwdb.d/60.keyboard.hwdb
~~~
evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnDellG16*:*
KEYBOARD_KEY_100113=mute
~~~

then update hwdb,
~~~
sudo udevadm hwdb -u
~~~

Revision history for this message
James R Larrowe (jl2210) wrote :

After that change the issue still persists

Revision history for this message
koba (kobako) wrote :

@james,
please revert hwdb to original.
could you confirm this
1. revert 83bcf3e52e9cfc727df33f1055ef0618c91719d0, is the issue observed?
the code is 0x109 in this patch, yours is 0x113.

Revision history for this message
James R Larrowe (jl2210) wrote :

Sorry for the wait, had some trouble building the kernel.

After building the kernel with the patch to revert 83bcf3e52e9cfc727df33f1055ef0618c91719d0, I can confirm that my speaker mute key works properly.

Only other changes made were to replace my modules with dkms versions.

Revision history for this message
James R Larrowe (jl2210) wrote :

libinput debug-events log
```
-event3 DEVICE_ADDED Video Bus seat0 default group1 cap:k
-event2 DEVICE_ADDED Video Bus seat0 default group1 cap:k
-event1 DEVICE_ADDED Power Button seat0 default group2 cap:k
-event0 DEVICE_ADDED Lid Switch seat0 default group3 cap:S
-event16 DEVICE_ADDED HID 0d62:3740 Keyboard seat0 default group4 cap:kp scroll-nat
-event17 DEVICE_ADDED HID 0d62:3740 Wireless Radio Control seat0 default group4 cap:k
-event13 DEVICE_ADDED DELL0B99:00 04F3:317E Mouse seat0 default group5 cap:p left scroll-nat scroll-button
-event14 DEVICE_ADDED DELL0B99:00 04F3:317E Touchpad seat0 default group5 cap:pg size 104x60mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event4 DEVICE_ADDED Intel HID events seat0 default group6 cap:k
-event5 DEVICE_ADDED Intel HID 5 button array seat0 default group7 cap:k
-event6 DEVICE_ADDED Dell Privacy Driver seat0 default group8 cap:k
-event7 DEVICE_ADDED Dell WMI hotkeys seat0 default group9 cap:k
-event8 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group10 cap:k
-event15 DEVICE_ADDED PS/2 Generic Mouse seat0 default group11 cap:p left scroll-nat scroll-button
-event16 KEYBOARD_KEY +0.000s KEY_MUTE (113) pressed
 event16 KEYBOARD_KEY +0.101s KEY_MUTE (113) released
 event16 KEYBOARD_KEY +2.002s *** (-1) pressed
 event16 KEYBOARD_KEY +2.249s *** (-1) pressed
```

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Does it happen on GNOME too? Is it possible to use a Live USB to test it out?

Revision history for this message
koba (kobako) wrote :

@James, could you please also enable dynamic debug for dell-wmi-base.c,
then do these
1. press mic-mute key
2. press speaker-mute key.
then provide dmesg,

dmesg should have some information like these
~~~
 2803.272234] dell_wmi: Received WMI event (02 00 10 00 50 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[ 2803.272241] dell_wmi: Process buffer (02 00 10 00 50 01)
[ 2803.272244] dell_wmi: Key with type 0x0010 and code 0x0150 pressed
~~~

Revision history for this message
James R Larrowe (jl2210) wrote :

The issue does not happen on GNOME but libinput still shows the KEY_MUTE being sent from both devices. Currently working on dynamic debug

Revision history for this message
James R Larrowe (jl2210) wrote (last edit ):

[ 982.785552] dell_wmi: Received WMI event (02 00 10 00 50 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[ 982.785558] dell_wmi: Process buffer (02 00 10 00 50 01)
[ 982.785560] dell_wmi: Key with type 0x0010 and code 0x0150 pressed
[ 983.121821] dell_wmi: Received WMI event (02 00 10 00 09 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[ 983.121824] dell_wmi: Process buffer (02 00 10 00 09 01)
[ 983.121826] dell_wmi: Key with type 0x0010 and code 0x0109 pressed

This is the stock kernel for Arch, not the custom one with the patch reverted

I think the problem is that this 0x0109 is coming from both the dell wmi module and the generic keyboard at the same time

Revision history for this message
koba (kobako) wrote :

@James, in the developing days, Dell told about the issue of realtek hda.
So only EC takes care the mic and speaker related events.
Seems the realtek hda driver is updated and have a workaround?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

> The issue does not happen on GNOME but libinput still shows the KEY_MUTE being sent from both devices. Currently working on dynamic debug

I think KDE needs to handle it better. Mutter (used by gnome-shell) has mechanism to filter out repeated media key events:
{ MUTE_KEY, "volume-mute", TRUE, SHELL_ACTION_MODE_ALL, META_KEY_BINDING_IGNORE_AUTOREPEAT },

There's no guarantee where the Mic Mute event comes from, it can be from either 0d62:3740, dell_wmi, or both.

So this needs to be handled by at userspace.

Revision history for this message
James R Larrowe (jl2210) wrote :

The issue is with the speaker mute key, by the way. Mic mute works fine and always has (for some reason, probably not sent by the keyboard and only by wmi).
I will see about reporting this to plasma's bug tracker. Thank you for your help

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.