And your fix helps:

Still with SRU version installed:

$ cat /sys/class/dmi/id/modalias
dmi:bvnDellInc.:bvr1.1.9:bd08/08/2018:svnDellInc.:pnXPS159575:pvr:rvnDellInc.:rn0C32VW:rvrA00:cvnDellInc.:ct10:cvr:

So, edit edit /lib/udev/hwdb.d/60-keyboard.hwdb:

evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS159575:pvr*
 KEYBOARD_KEY_88=unknown

$ sudo udevadm hwdb --update
$ sudo udevadm trigger

evemu-record shows KEY_UNKNOWN:

################################
#      Waiting for events      #
################################
E: 0.000001 0004 0004 0028      # EV_MSC / MSC_SCAN             28
E: 0.000001 0001 001c 0000      # EV_KEY / KEY_ENTER            0
E: 0.000001 0000 0000 0000      # ------------ SYN_REPORT (0) ---------- +0ms
E: 3.143316 0004 0004 0136      # EV_MSC / MSC_SCAN             136
E: 3.143316 0001 00f0 0001      # EV_KEY / KEY_UNKNOWN          1
E: 3.143316 0000 0000 0000      # ------------ SYN_REPORT (0) ---------- +3143ms
E: 3.143370 0004 0004 0136      # EV_MSC / MSC_SCAN             136
E: 3.143370 0001 00f0 0000      # EV_KEY / KEY_UNKNOWN          0
E: 3.143370 0000 0000 0000      # ------------ SYN_REPORT (0) ---------- +0ms


>>> RESULT:
The disabling of the airplane mode works now (and enabling still works).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xkeyboard-config in Ubuntu.
https://bugs.launchpad.net/bugs/1740894

Title:
  KEY_RFKILL is not passed to userspace

Status in libxkbcommon package in Ubuntu:
  Fix Released
Status in xkeyboard-config package in Ubuntu:
  Fix Released
Status in xorgproto package in Ubuntu:
  Fix Released
Status in xkeyboard-config source package in Bionic:
  Fix Committed
Status in xkeyboard-config source package in Cosmic:
  Fix Committed

Bug description:
  * Impact
  the airplane mode key doesn't work in GNOME

  * Test case
  Use a laptop with a key to activate airplane mode, it should toggle the 
corresponding mode on/off when used

  * Regression potential
  The change adds a new key definition but doesn't touch any existing one, 
nothing specific to test out of the new key working

  ---------------------

  There are a couple things going on, that could be fixed by a Debian or
  Ubuntu maintainer:

  - libxkbdcommon needs to be updated from 0.7.1 to 0.7.2. This
  introduces the RFKill key: https://lists.freedesktop.org/archives
  /wayland-devel/2017-August/034721.html

  - x11-proto needs a new release. This commit added RFKill, but it is
  not in a release:
  
https://cgit.freedesktop.org/xorg/proto/xproto/commit/?id=98a32d328e7195e12c38baa877917335bceffbaf

  - Likely other X11 packages need to be rebuilt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxkbcommon/+bug/1740894/+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