URL:
  <https://savannah.gnu.org/bugs/?68834>

                 Summary: EFI USB keyboard inactive until leaving GRUB command
line using "exit"
                   Group: GNU GRUB
               Submitter: gxrc983
               Submitted: Sun 25 Oct 2026 07:01:08 PM UTC
                Category: User Interface
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 2.02
                 Release:
         Reproducibility: Every Time
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 25 Oct 2026 07:01:08 PM UTC By: Rene <gxrc983>

Hardware:
  ASUS X751LDB
  BIOS version X751LDB.305
  UEFI boot mode

USB keyboard:
  Primax HP 125 Wired Keyboard
  USB ID 0461:554a

Observed behavior:

At the initial GRUB menu, the USB keyboard does not work.

The internal laptop keyboard works correctly.

Entering the GRUB command line with:

  c

and immediately leaving it with:

  exit

without executing any other command makes the USB keyboard start working.

After that, the USB keyboard remains functional, including after unplugging
and replugging it.

GRUB versions tested:

  2.12-1ubuntu7.3
  2.14-2ubuntu1

The behavior is identical on both versions.

Investigations performed:

- usb.mod loaded
- usb_keyboard.mod loaded
- lsmod confirms both modules are active
- waiting 30 seconds does not help
- sleep 30 in GRUB shell does not help
- terminal_input console does not help
- terminal_output console does not help
- command "normal" does not help
- only "exit" activates the USB keyboard

Relevant grub.cfg lines:

  insmod usb
  insmod usb_keyboard
  terminal_input console
  terminal_output console

Reproduction steps:

1. Boot in UEFI mode.
2. Wait for GRUB menu.
3. Verify that internal keyboard works.
4. Verify that USB keyboard does not work.
5. Press "c".
6. At grub> prompt, type:

   exit

7. Return to the menu.
8. USB keyboard now works.

Expected behavior:

USB keyboard should work immediately when the GRUB menu is displayed.

The issue is reproducible with both GRUB 2.12 (mint 22.3) and GRUB 2.14
(ubuntu 2026.4)

The problem is not fixed by:
 - waiting in the menu
 - waiting in the command line
 - command "normal"
 - terminal_input console
 - terminal_output console

The issue is fixed only after entering the GRUB command line with "c" and
returning with the "exit" command.








    _______________________________________________________
File Attachments:

Name: grub-header.txt                Size: 2.5KiB
    <https://file.savannah.gnu.org/file/grub-header.txt?file_id=59139>

Name: hardware.txt                   Size: 1.7KiB
    <https://file.savannah.gnu.org/file/hardware.txt?file_id=59140>

Name: efibootmgr.txt                 Size: 1.7KiB
    <https://file.savannah.gnu.org/file/efibootmgr.txt?file_id=59141>

Name: keyb.log                       Size: 2.2KiB
    <https://file.savannah.gnu.org/file/keyb.log?file_id=59142>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-008698919f826f0fb06bcafffba4902404c2a7d0.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68834>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to