Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to debounce multiple rfkill events. #344

Open
khfeng opened this issue Jul 20, 2021 · 0 comments
Open

Need to debounce multiple rfkill events. #344

khfeng opened this issue Jul 20, 2021 · 0 comments

Comments

@khfeng
Copy link

khfeng commented Jul 20, 2021

 * csd version - 4.8.5-1
 * Distribution - Ubuntu Impish Indri
 * Graphics hardware *and* driver used - Intel and i915
 * 32 or 64 bit - 64bit

Issue
Newer HP laptops use Intel HID driver to send rfkill hotkey event, so we'll need to unmask Intel HID in hwdb to make airplane mode hotkey work:
systemd/systemd#20219
However, this will make both Intel HID driver and HP Wireless driver send rfkill events on older HP laptops, so only the first event like should be processed, like this implementation in G-S-D:
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/244
The current behavior is that WiFi and Bluetooth get quickly disabled and enabled after pressing airplane mode hotkey.

Steps to reproduce

  1. Apply the change in hwdb: Remove intel-hid rfkill mask systemd/systemd#20219
  2. Press airplane mode hotkey.
  3. WiFi and Bluetooth gets disabled then enabled immediately.

Expected behaviour
WiFi and Bluetooth should be disabled.

Other information
Seems like the entire rfkill part is missing in C-S-D, so I can't do a straight backport from G-S-D.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant