KEY_RFKILL is not passed to userspace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Critical
|
Shih-Yuan Lee | ||
libxkbcommon (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bionic |
Fix Released
|
Low
|
Unassigned | ||
Cosmic |
Fix Released
|
Low
|
Unassigned | ||
systemd (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bionic |
Fix Released
|
Low
|
Shih-Yuan Lee | ||
xkeyboard-config (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bionic |
Fix Released
|
Low
|
Unassigned | ||
Cosmic |
Fix Released
|
Low
|
Unassigned | ||
xorgproto (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bionic |
Fix Released
|
Low
|
Unassigned | ||
Cosmic |
Fix Released
|
Low
|
Unassigned |
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:/
- x11-proto needs a new release. This commit added RFKill, but it is not in a release: https:/
- Likely other X11 packages need to be rebuilt.
Related branches
- Robert Ancell (community): Approve
- Shih-Yuan Lee (community): Needs Resubmitting
- Dimitri John Ledkov: Pending requested
-
Diff: 432 lines (+392/-0)6 files modifieddebian/changelog (+33/-0)
debian/patches/hwdb-revert-airplane-mode-keys-handling-on-Dell.patch (+33/-0)
debian/patches/lp1668771-resolved-switch-cache-option-to-a-tri-state-option-s.patch (+229/-0)
debian/patches/lp1833671-networkd-keep-bond-slave-up-if-already-attached.patch (+50/-0)
debian/patches/lp1835581-src-network-networkd-dhcp4.c-set-prefsrc-for-classle.patch (+43/-0)
debian/patches/series (+4/-0)
no longer affects: | xorg (Ubuntu) |
affects: | x11proto-core (Ubuntu) → xorgproto (Ubuntu) |
Changed in xorgproto (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: verification-failed-cosmic removed: verification-needed-cosmic |
Changed in xkeyboard-config (Ubuntu Bionic): | |
importance: | Undecided → Low |
Changed in libxkbcommon (Ubuntu): | |
importance: | Undecided → Low |
Changed in xorgproto (Ubuntu): | |
importance: | Undecided → Low |
tags: |
added: verification-done verification-done-bionic removed: verification-needed verification-needed-bionic |
no longer affects: | xkeyboard-config (Ubuntu Disco) |
no longer affects: | xkeyboard-config (Ubuntu Cosmic) |
Changed in libxkbcommon (Ubuntu Cosmic): | |
status: | New → Fix Released |
importance: | Undecided → Low |
Changed in xkeyboard-config (Ubuntu Cosmic): | |
status: | New → Fix Released |
importance: | Undecided → Low |
Changed in xorgproto (Ubuntu Cosmic): | |
status: | New → Fix Released |
importance: | Undecided → Low |
no longer affects: | xkeyboard-config (Ubuntu Bionic) |
Changed in libxkbcommon (Ubuntu Bionic): | |
importance: | Undecided → Low |
status: | New → Fix Released |
Changed in xorgproto (Ubuntu Bionic): | |
importance: | Undecided → Low |
status: | New → Fix Released |
Changed in xkeyboard-config (Ubuntu Bionic): | |
importance: | Undecided → Low |
status: | New → Fix Committed |
tags: |
added: verification-done-bionic removed: verification-failed-bionic |
tags: | added: oem-priority |
no longer affects: | systemd (Ubuntu Cosmic) |
Changed in systemd (Ubuntu): | |
status: | New → Fix Released |
Changed in systemd (Ubuntu Bionic): | |
assignee: | nobody → Shih-Yuan Lee (fourdollars) |
importance: | Undecided → Low |
status: | New → In Progress |
tags: | added: rls-bb-incoming |
tags: | added: originate-from-1784329 somerville |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Changed in oem-priority: | |
status: | New → Fix Released |
tags: |
added: verification-done removed: verification-needed |
tags: | removed: rls-bb-incoming |
Changed in systemd (Ubuntu): | |
importance: | Undecided → Low |
Attached is a test script that should trigger Airplane Mode in GNOME, but does not. The code in gnome-settings- daemon looks for XF86RFKill, but the key is not identified as such.
This is what xev reports from the script:
KeyPress event, serial 55, synthetic NO, window 0x2c00001,
root 0x1ee, subw 0x0, time 2615499, (101,-17), root:(2297,336),
state 0x10, keycode 255 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 55, synthetic NO, window 0x2c00001,
root 0x1ee, subw 0x0, time 2615499, (101,-17), root:(2297,336),
state 0x10, keycode 255 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False