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 #371

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

Need to debounce multiple rfkill events #371

khfeng opened this issue Jul 20, 2021 · 0 comments

Comments

@khfeng
Copy link

khfeng commented Jul 20, 2021

Expected behaviour

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 backport is quite straightforward from G-S-D to M-S-D, but it doesn't take affect because somehow do_rfkill_action() isn't called when airplane mode hotkey is pressed. So filing a bug report here...

Actual behaviour

The current behavior is that WiFi and Bluetooth get quickly disabled and enabled after pressing airplane mode hotkey.

Steps to reproduce the behaviour

Apply systemd/systemd#20219 then press airplane mode hotkey.

MATE general version

1.24.1

Package version

1.24.2-0ubuntu1

Linux Distribution

Ubuntu MATE

Link to bugreport of your Distribution (requirement)

https://bugs.launchpad.net/bugs/1936956

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