Keyboard not working in Windows or Fedora 37 but works in Grub

Abstract: Resolve keyboard failure in Windows or Fedora 37 after GRUB by disabling USB selective suspend and fixing XHCI handoff conflicts.

Created: 2026-10-14 by
A keyboard that functions in the GRUB bootloader but fails in Windows or Fedora 37 usually indicates a driver conflict, USB port power management issue, or XHCI handoff problem. This behavior occurs because the bootloader uses basic BIOS/UEFI drivers, while the operating systems attempt to load complex kernel modules that may fail to initialize correctly due to hardware compatibility settings or conflicting input services.

Understanding the Bootloader vs. OS Input Layer

The discrepancy between GRUB and your installed operating systems is the most critical diagnostic clue. GRUB operates in a minimal environment using standard PS/2 or basic USB HID protocols provided by the UEFI firmware. It does not rely on the specific USB controllers or advanced input drivers that modern Linux kernels or Windows handle. When you enter Windows or Fedora, the system transitions to full kernel mode, where it must negotiate with the motherboard’s chipset for USB controller access. If this negotiation fails, the keyboard becomes invisible to the OS despite being physically connected and powered. This issue is particularly common in dual-boot scenarios involving Fedora and Windows. The transition from the pre-OS environment to the full OS environment requires the kernel to take control of the USB host controllers. If the UEFI firmware has already initialized these controllers in a way that conflicts with the OS expectations, or if the OS fails to claim them properly, input devices will drop off. You might notice that other USB devices like mice or webcams work, which suggests the ports are functional but the specific protocol used by your keyboard (often requiring specific polling rates or descriptor parsing) is failing. For users managing multiple boot managers, ensuring that the boot configuration is not interfering with hardware initialization is vital. Issues with how GRUB interacts with Windows boot managers can sometimes leave hardware states in an unexpected condition. If you have recently modified your boot sequence or encountered errors related to boot manager visibility, it might be worth reviewing how your system handles the handoff from firmware to OS. Fixing Two Windows Boot Managers in a Dual-Boot System: Windows 11 and Fedora (KDE) - GRUB not seeing proper boot manager provides context on how boot layer conflicts can affect system stability and hardware recognition during the early stages of loading.

Checking USB Power Management Settings

One of the most frequent causes for this specific symptom is aggressive USB selective suspend settings within the operating systems. Both Windows and Fedora implement power-saving features that turn off USB ports when they detect no activity. However, keyboards often send low-frequency signals that might be misinterpreted as idle, causing the system to cut power or put the controller into a deep sleep state that it cannot wake from without a hard reset. In Windows, you can investigate this by opening Device Manager and expanding Universal Serial Bus controllers. Look for any entries labeled "USB Root Hub" or "Generic USB Hub." Right-click each one, select Properties, and navigate to the Power Management tab. If the option "Allow the computer to turn off this device to save power" is checked, uncheck it and restart. This prevents the OS from suspending the bus lines that carry your keyboard’s data. Fedora uses systemd-logind and udev rules to manage USB power states. You can check if your keyboard is being suspended by looking at journal logs after the failure occurs. Use the command journalctl -f while typing to see if there are any disconnect messages. To disable USB autosuspend globally, you can add the parameter usbcore.autosuspend=-1 to your kernel command line in GRUB. Edit the /etc/default/grub file, find the GRUB_CMDLINE_LINUX line, and append this parameter. Then update GRUB with sudo grub2-mkconfig -o /boot/grub2/grub.cfg (or /boot/efi/EFI/fedora/grub.cfg on UEFI systems) and reboot.

Verifying XHCI Handoff in UEFI

The Extended Host Controller Interface (XHCI) is the standard for USB 3.0 and later. Many motherboards allow you to enable or disable "XHCI Handoff" in the UEFI setup. This setting determines whether the firmware initializes the USB 3.0 controller before handing control to the OS. If this feature is disabled, the OS might receive a partially initialized controller, leading to driver failures. Conversely, if it is enabled incorrectly, it can cause conflicts with legacy USB 2.0 emulation layers. Enter your BIOS/UEFI settings by pressing Del, F2, or F12 during startup. Navigate to the Advanced or Peripherals section. Look for options named "XHCI Handoff," "USB Legacy Support," or "EHCI Handoff." Try toggling these settings. If XHCI Handoff is currently disabled, enable it. If it is enabled, try disabling it to force the OS to take over initialization completely. Save changes and exit. This change forces the hardware abstraction layer to re-evaluate the USB controllers upon the next boot, often resolving the handshake failure that leaves the keyboard dead in the OS.

Kernel Module Conflicts in Fedora

Fedora 37 uses a newer Linux kernel which may have different default configurations for input drivers compared to older releases. Sometimes, the uhid or usbhid modules fail to load due to blacklisting or conflicts with proprietary firmware. You can check which modules are loaded by running lsmod | grep usb. If usbhid is missing, the system lacks the generic USB human interface device driver. You can manually load the module using sudo modprobe usbhid. If this works and your keyboard suddenly responds, the issue is likely a persistent configuration error. Check /etc/modprobe.d/ for any files that might be blacklisting these modules. Additionally, ensure that your kernel packages are up to date, as updates often contain fixes for USB controller quirks specific to certain motherboard chipsets.

Hardware Diagnostics and Port Testing

Before assuming a software fault, verify the physical connection. Try different USB ports, specifically switching between USB 2.0 (usually black) and USB 3.0 (usually blue) ports. Some keyboards have compatibility issues with specific controller chips found on USB 3.0 headers. Using a USB hub can also help isolate the issue; if the keyboard works through a hub but not directly, the power draw might be exceeding what the direct port supplies under OS load. If the keyboard works in GRUB but not in either OS, and all software fixes fail, consider testing with a different keyboard. If another keyboard works, the original device may have a failing component that only manifests under the electrical load or signal timing requirements of the full OS environment.

Frequently Asked Questions

Why does my mouse work but my keyboard doesn't?

Mice and keyboards use different polling rates and descriptor structures. Your motherboard’s USB controller might be handling the simpler mouse protocol correctly while failing to parse the more complex keyboard HID descriptors. This often points to a specific driver bug or a USB 3.0 compatibility issue rather than a general hardware failure.

Can I fix this by reinstalling Windows?

Reinstalling Windows rarely fixes this specific issue because the problem lies in the low-level hardware initialization, not the OS installation itself. The same hardware conflict will persist across fresh installs. Focus instead on BIOS settings and USB power management configurations.

Does disabling Fast Startup in Windows help?

Yes, disabling Fast Startup can help. Fast Startup puts Windows into a hybrid hibernation state that skips some hardware initialization steps. Disabling it forces a full cold boot every time, which re-initializes USB controllers from scratch and may resolve the handshake failure with the keyboard.

How do I check if my USB controller is failing?

Check the Device Manager in Windows or lspci in Fedora for any yellow exclamation marks or error codes associated with USB controllers. If other high-bandwidth USB devices also fail intermittently, the controller itself may be faulty. If only the keyboard fails, the issue is likely driver-related.

Is this issue common with mechanical keyboards?

Mechanical keyboards often have higher power requirements or unique scan codes that can trigger bugs in older USB drivers. Ensure you have the latest firmware for your keyboard if available, and try using a USB 2.0 port to bypass potential USB 3.0 controller bugs in the current kernel or Windows version.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More