-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add option to emit HID display toggle from F9 display key #49
base: fwk-hx20-hx30-4410
Are you sure you want to change the base?
Add option to emit HID display toggle from F9 display key #49
Conversation
Have you tried this, which operating systems does this work on? |
I have not tested this patch by flashing the firmware to a Framework, no. However, I have tested the HID device/report descriptor on Linux by emulating it with uhid, and it works as expected (makes the display switch menu appear). I have not tested on Windows or any other OS. |
I ported this to |
Thank you 🙏 I've been frustrated with this ever since I got my framework years ago, and I've been meaning to figure out a patch for it myself, but just never got around to it. Would it be possible to try this on my framework without modification (i.e., is it possible to set that setting flag), or would I need to modify the patch to do it by default? |
But the current combination does work on GNOME. WIN+P also brings up the display selection menu.
Unfortunately no, because it's a changed HID report descriptor. |
I use a tiling window manager, and I have As you can probably guess, having the display button emulate By "without modification" I meant without modifying the bios or patch, not sure how I missed that. Recompiling and reflashing the EC I can definitely do. |
This patch implements changes for 11-13th gen intel systems. |
I'm not really sure what that has to do with what I said. (I do have an 11th gen Intel so should be fine for my purposes.) I want to use the patch, but it seems to say that it needs a bios option added to toggle it which isn't part of the EC, so unless I modify the patch to hard code it on, I don't know how I would turn it on after flashing the EC. (Unless fw-ectool could toggle it I suppose.) |
Yes, GNOME copies Windows’s shortcut (I cannot speak to other DEs or OSes). However, I use Colemak, not QWERTY, so what the firmware thinks is P, my OS interprets as Y. Win+Y, of course, does not bring up the menu, in any OS. The HID display toggle, in contrast, works no matter what keyboard layout is set in the OS. |
Replace |
By default, this key emits Win+P, which is not portable to non-QWERTY keyboard layouts and non-Windows OSes. This adds an option (off by default, set with 0x3E16 flag) to emit the HID display toggle key instead. This should be exposed in the BIOS settings. Signed-off-by: Jules Bertholet <[email protected]>
dd29b48
to
8059110
Compare
By default, this key emits Win+P, which is not portable to non-QWERTY keyboard layouts and non-Windows OSes. This adds an option (off by default, set with 0x3E16 flag) to emit the HID display toggle key instead.
This flag should be exposed in the BIOS settings.
See discussion at https://community.frame.work/t/f9-display-switch-is-broken-on-non-qwerty-layouts/59773