I am doing the same as #10 on Oracular on the same system. I am trying
to validate this issue by disabling related lines in
/usr/lib/udev/hwdb.d/60-keyboard.hwdb for the device, systemd-hwdb
update, update-initramfs then reboot.

The original version of xserver-xorg-input-libinput was 1.4.0-1build1

1. Logged in using GNOME Xorg, the mic mute key does not work to toggle the 
microphone mute state in the desktop. The LED on Mic Mute button does toggle, 
and the internal mic is disabled, though the UI still keeps the mic input 
volume.
   (Note that comparing to the behavior under Wayland, the same key does turn 
the input volume toggled on and off, and has HUD displaying the current mic 
volume, and it also affects USB-C headset attached to the system)

2. Install the package built in
https://launchpad.net/ubuntu/+source/xserver-xorg-input-
libinput/1.4.0-1ubuntu24.10.1, and tested that mic mute key is working
in GNOME Xorg, as the same behavior like Wayland described above.

Regression test

Restore /usr/lib/udev/hwdb.d/60-keyboard.hwdb for the device, systemd-
hwdb update, update-initramfs, and install the old version of xserver-
xorg-input-libinput then reboot

1. Logged in using GNOME Xorg, the mic mute key is working as expected
like the behavior described above.

2. Update xserver-xorg-input-libinput to the uploaded version
(1.4.0-1ubuntu24.10.1), the mic mute key is still working as expected.

** Tags removed: verification-needed verification-needed-oracular
** Tags added: verification-done verification-done-oracular

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-input-libinput in Ubuntu.
https://bugs.launchpad.net/bugs/2103967

Title:
  [SRU] Include a patch that forcibly maps mic mute key and touchpad
  function keys to F20-F23

Status in OEM Priority Project:
  In Progress
Status in xserver-xorg-input-libinput package in Ubuntu:
  Fix Released
Status in xserver-xorg-input-libinput source package in Noble:
  Fix Committed
Status in xserver-xorg-input-libinput source package in Oracular:
  Fix Committed
Status in xserver-xorg-input-libinput source package in Plucky:
  Fix Released

Bug description:
  [ Impact ]

  == Background ==

   * Xorg does not take keycodes > 255, where Mic Mute is mapped to 256
  by evdev

   * xkeyboard-config remapped the key to F20 since this patch:
  https://bugs.freedesktop.org/show_bug.cgi?id=54171 along with other
  hardware-specific hacks in hwdb.

  == Current status ==

   * We happened to have some devices having Mic Mute key untranslated
  by hwdb, typically we just add entries in hwdb to fix the issue

   * Systemd devs decided not to translate the key to F20 anymore, the
  translation task is pushed to xserver-xorg-input-libinput for Xorg.
  We would like to include a patch, so that xserver-xorg-input-libinput
  can do translation for Xorg, which we could leverage it for enabling
  Mic Mute key in future hardware.

  [ Test Plan ]

   * Find a device that does not have Mic Mute key translated by hwdb,
  starts Desktop in Xorg mode

   * Test that mic mute does not work

   * Update the package to -proposed and restart desktop, test the same
  key, the mic mute key should work to mute the microphone.

  [ Where problems could occur ]

   * Since mic mute key is forcibly translated to F20 despite of
  hardware, if there's any application using that key for other
  features, it may be in conflict.

  [ Other information ]

   * Changeset https://gitlab.freedesktop.org/xorg/driver/xf86-input-
  libinput/-/commit/cb80d7f82d35f8068e06d45860ed958a948e15bf

   * This changeset has been included in plucky

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2103967/+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

Reply via email to