[Bug 1965999] [NEW] Very laggy input when using 'at_keyboard.mod'
David
1965999 at bugs.launchpad.net
Wed Mar 23 00:09:01 UTC 2022
Public bug reported:
I use grub 2.04-1ubuntu26.13.
I wanted an localized keyboard layout in Grub so I used this script:
https://gist.github.com/cw2k/5b4d7a1dc3715ce368220b708874ac90#file-01_keyboard_layout-
sh
In short at this creates a keyboard layout file (/boot/grub/layouts/de.gkb) that is used in grub like this:
insmod keylayouts
keymap de
To finally make it work I need to change the terminal input from 'console' to 'at_keyboard'
terminal_input at_keyboard
I got the desired German keyboard layout however now the input problem are starting.
I need to hold a key for about 3 seconds until some output is shown. Also it quickly starts to beep on every key press and completely blocks any further input.
That beep is an indication from the bios that whats to say the keyboard buffer is full.
It seem that grub is somehow not correctly getting the 'scan codes' from the keyboard buffer. There seems to be a hidden bug in this.
Well I use an logitech usb-keyboard. On a Dell Optiplex 755 with BIOS A22 release on 04 Jan 2013. However I mostly test my boot config it with Qemu (Phoenix Bios) or Virtual box on some other machine whose CPU as that need VT-support that Virtual box needs.
With the same results.
Okay to the problem when I do.
terminal_input --append at_keyboard
terminal_input --append usb_keyboard
and enter 'terminal_input'
it says 'at_keyboard' and 'console' are active. However input is now also wacky.
It JUmpS SPOntaIousLY between upper and lower case. If hold the 'z'-key on a German keyboard
it will look like this 'zZZZZyyyyZZYYYYzz'
It jumps between 'console' and 'at_keyboard'
If I manage it like this the enter
"terminal_input --remove at_keyboard"
it works again normal. However just with the standard us-keyboard.
"terminal_input --remove console"
Will make things worse. Unplugging and plugging back the USB-keyboard
helps to clean the buffer and enables me to enter some more chars until
it quickly gets jammed again.
Well some idea I just got put have not tested is what will happen if I have two usb keyboards attached...
Anyway if someone likes to have a look at this. Hope you can reproduce this bug.
Got luck and thank ya in advance.
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: bios grub2 input keyboard terminal
** Description changed:
I use grub 2.04-1ubuntu26.13.
I wanted an localized keyboard layout in Grub so I used this script:
https://gist.github.com/cw2k/5b4d7a1dc3715ce368220b708874ac90#file-01_keyboard_layout-
sh
In short at this creates a keyboard layout file (/boot/grub/layouts/de.gkb) that is used in grub like this:
- insmod keylayouts
- keymap $GRUB_LANG
+ insmod keylayouts
+ keymap de
To finally make it work I need to change the terminal input from 'console' to 'at_keyboard'
- terminal_input at_keyboard
- I got the desired german keyboard layout however now the input problem are starting.
+ terminal_input at_keyboard
+ I got the desired German keyboard layout however now the input problem are starting.
I need to hold a key for about 3 seconds until some output is shown. Also it quickly starts to beep on every key press and completely blocks any further input.
That beep is an indication from the bios that whats to say the keyboard buffer is full.
It seem that grub is somehow not correctly getting the 'scan codes' from the keyboard buffer. There seems to be a hidden bug in this.
- Well I use an logitech usb-keyboard. On a Dell Optiplex 755 with BIOS A22 release on 04 Jan 2013. However I mostly test my boot config it with Qemu (Phonix Bios) or Virtualbox on some other machine whose CPU as that need VT-support that Virtualbox needs.
+ Well I use an logitech usb-keyboard. On a Dell Optiplex 755 with BIOS A22 release on 04 Jan 2013. However I mostly test my boot config it with Qemu (Phoenix Bios) or Virtual box on some other machine whose CPU as that need VT-support that Virtual box needs.
With the same results.
Okay to the problem when I do.
- terminal_input --append at_keyboard
- terminal_input --append usb_keyboard
+ terminal_input --append at_keyboard
+ terminal_input --append usb_keyboard
and enter 'terminal_input'
it says 'at_keyboard' and 'console' are active. However input is now also wacky.
- It JUmpS SPOntaIousLY between upper and lower case. If hold the 'z'-key on a german keyboard
+ It JUmpS SPOntaIousLY between upper and lower case. If hold the 'z'-key on a German keyboard
it will look like this 'zZZZZyyyyZZYYYYzz'
It jumps between 'console' and 'at_keyboard'
If I manage it like this the enter
"terminal_input --remove at_keyboard"
it works again normal. However just with the standard us-keyboard.
"terminal_input --remove console"
Will make things worse. Unplugging and plugging back the USB-keyboard
helps to clean the buffer and enables me to enter some more chars until
it quickly gets jammed again.
Well some idea I just got put have not tested is what will happen if I have two usb keyboards attached...
- Anyway if someone likes to have a look at this. Hope you can reproduce this bug.
+ Anyway if someone likes to have a look at this. Hope you can reproduce this bug.
Got luck and thank ya in advance.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1965999
Title:
Very laggy input when using 'at_keyboard.mod'
Status in grub2 package in Ubuntu:
New
Bug description:
I use grub 2.04-1ubuntu26.13.
I wanted an localized keyboard layout in Grub so I used this script:
https://gist.github.com/cw2k/5b4d7a1dc3715ce368220b708874ac90#file-01_keyboard_layout-
sh
In short at this creates a keyboard layout file (/boot/grub/layouts/de.gkb) that is used in grub like this:
insmod keylayouts
keymap de
To finally make it work I need to change the terminal input from 'console' to 'at_keyboard'
terminal_input at_keyboard
I got the desired German keyboard layout however now the input problem are starting.
I need to hold a key for about 3 seconds until some output is shown. Also it quickly starts to beep on every key press and completely blocks any further input.
That beep is an indication from the bios that whats to say the keyboard buffer is full.
It seem that grub is somehow not correctly getting the 'scan codes' from the keyboard buffer. There seems to be a hidden bug in this.
Well I use an logitech usb-keyboard. On a Dell Optiplex 755 with BIOS A22 release on 04 Jan 2013. However I mostly test my boot config it with Qemu (Phoenix Bios) or Virtual box on some other machine whose CPU as that need VT-support that Virtual box needs.
With the same results.
Okay to the problem when I do.
terminal_input --append at_keyboard
terminal_input --append usb_keyboard
and enter 'terminal_input'
it says 'at_keyboard' and 'console' are active. However input is now also wacky.
It JUmpS SPOntaIousLY between upper and lower case. If hold the 'z'-key on a German keyboard
it will look like this 'zZZZZyyyyZZYYYYzz'
It jumps between 'console' and 'at_keyboard'
If I manage it like this the enter
"terminal_input --remove at_keyboard"
it works again normal. However just with the standard us-keyboard.
"terminal_input --remove console"
Will make things worse. Unplugging and plugging back the USB-keyboard
helps to clean the buffer and enables me to enter some more chars
until it quickly gets jammed again.
Well some idea I just got put have not tested is what will happen if I have two usb keyboards attached...
Anyway if someone likes to have a look at this. Hope you can reproduce this bug.
Got luck and thank ya in advance.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1965999/+subscriptions
More information about the foundations-bugs
mailing list