https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240760

--- Comment #9 from Toomas Soome <tso...@freebsd.org> ---
(In reply to Lorenzo Salvadore from comment #8)

please try this patch and please report me back the output:

Index: stand/efi/libefi/efi_console.c
===================================================================
--- stand/efi/libefi/efi_console.c      (revision 355225)
+++ stand/efi/libefi/efi_console.c      (working copy)
@@ -1112,6 +1112,9 @@
        if (status == EFI_SUCCESS) {
                kss = key_data.KeyState.KeyShiftState;
                kp = &key_data.Key;
+               printf("kts: %x kss: %x scan: %x unicode: %x\n",
+                   key_data.KeyState.KeyToggleState, kss,
+                   kp->ScanCode, kp->UnicodeChar);
                if (kss & EFI_SHIFT_STATE_VALID) {

                        /*
@@ -1126,10 +1129,11 @@
                                        kp->UnicodeChar++;
                                }
                        }
+                       if (kp->ScanCode == 0 && kp->UnicodeChar == 0)
+                               return (false);
+                       keybuf_inschar(kp);
+                       return (true);
                }
-
-               keybuf_inschar(kp);
-               return (true);
        }
        return (false);
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to