Comments (3)
@FabienFellay For grub, it sometimes requires toggling legacy USB support in BIOS/UEFI.
Grub itself checks boot class and protocol from descriptor when initializing usb keyboard, and aborts when mismatch:
if (usbdev->descdev.class != 0
|| usbdev->descdev.subclass != 0 || usbdev->descdev.protocol != 0)
return 0;
if (usbdev->config[configno].interf[interfno].descif->subclass
!= USB_HID_BOOT_SUBCLASS
|| usbdev->config[configno].interf[interfno].descif->protocol
!= USB_HID_KBD_PROTOCOL)
return 0;
The logic very likely differs from BIOS/UEFI. If grub hands over as is to OS, it's possible OS won't re-initialize usb keyboard again as grub has initialized it.
[edit]
Can you try OS detection & reset feature as described here? OS_DETECTION_ENABLE = yes
and #define OS_DETECTION_KEYBOARD_RESET
from qmk_firmware.
I have now more hints about how to reproduce the issue.
I have 2 identical machines: one with Windows 10 only and one with a dual boot Windows 10 / Ubuntu. The above-described bug only affects the machine that has the dual boot. I don't know what causes the issue in the first place, but the dual boot machine may shortly pass through a transient (not really visible) bios-like menu that somehow makes the keyboard being stuck with keyboard_protocol
to 0.
Can a QMK collaborator reproduce the issue based on those new elements (machines with dual-boot) ?
from qmk_firmware.
@danei Thank you very much! OS detection + reset feature helped: adding OS_DETECTION_ENABLE = yes
in rules.mk and #define OS_DETECTION_KEYBOARD_RESET
in my config.h just solved this issue.
Indeed, all my dual-boot machines that were impacted by this issue are now showing a keyboard_protocol
to 1 right after the OS boots and NKRO is finally working directly without an additional manual reset.
I let a link to this issue in the issue #2248 (this might help some people).
Thank you! 👍
from qmk_firmware.
Related Issues (20)
- [Bug] Different response of keyboard depending on key pressing speed in succesion .
- [Bug] Idobao ID75 V3 (Drop) Issue with RGB Matrix HOT 2
- [Bug] xd75 doesn't build on head HOT 5
- Problem flashing dztech PCBs with lufa-ms bootloader from Linux[Bug] HOT 1
- Redragon k550 mechanical rgb keyboard Request support HOT 1
- SharkyDevBoi45/qmk_firmware addition HOT 1
- [doc bug] remove ofiical support for APM32 HOT 1
- Add issue template for documentation requests (and hi, I'm back!) HOT 2
- Document how `QMK_KEYBOARD_H` works and what files it includes HOT 7
- Permission Issues HOT 1
- [Bug] "make sofle:rgb_default" fails with "RGBLED_SPLIT" redefined error HOT 2
- [Bug] rgblight Compile-time error when specifying the number of LEDs HOT 1
- [Bug] Compile of keebio/iris/rev8 fails HOT 2
- Reduce number of HID interface descriptors? HOT 2
- Vim mode HOT 1
- [Bug] Keychron Q4 doesn't boot since ChibiOS update HOT 1
- [Bug] Multiple outputs from same column on press of 3 key (3wesd), Viktus Styrka MX STM32F072 HOT 3
- [Bug] Keyboard works when connected to laptop, but not through dock (modelh, thinkpad thunderbolt 3 workstation dock) HOT 6
- [Bug] Raspberry Pi Pico does not work until manually puting RUN pin to ground. HOT 12
- [Feature Request] Support for WinChip CH58xx MCU platform HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qmk_firmware.