iPXE discussion forum

Full Version: UEFI keyboard config
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
we use network ipxe config to allow our users to install Ubuntu, Debian on various systems
most of them have azerty keyboard to identify themselves by a request to AD server
no problem in legacy mode, azerty keyboard is ok and splash image also
here are our console.h regarding to documentation http://ipxe.org/buildcfg/keyboard_map
simple$ cat console.h
#define CONSOLE_PCBIOS /* Default BIOS console */
#define CONSOLE_VESAFB /* VESA framebuffer console */
#undef KEYBOARD_MAP
#define KEYBOARD_MAP fr

but actually more and more system are UEFI compliant
despite our fr config in console.h qwerty config remains and slash image cannot load (we have a blue screen instead)
simpleefi$ cat console.h
#define CONSOLE_PCBIOS /* Default BIOS console */
#define CONSOLE_VESAFB /* VESA framebuffer console */
#undef KEYBOARD_MAP
#define KEYBOARD_MAP fr

any ideas.......
Hi

I think for UEFI you need to enable

#define CONSOLE_EFI

Nonetheless I don't get German Keyboard map working in the UEFI console.
It's always US - even if I have

#undef KEYBOARD_MAP
#define KEYBOARD_MAP de

defined



(2017-02-24 18:22)cervicad Wrote: [ -> ]we use network ipxe config to allow our users to install Ubuntu, Debian on various systems
most of them have azerty keyboard to identify themselves by a request to AD server
no problem in legacy mode, azerty keyboard is ok and splash image also
here are our console.h regarding to documentation http://ipxe.org/buildcfg/keyboard_map
simple$ cat console.h
#define CONSOLE_PCBIOS /* Default BIOS console */
#define CONSOLE_VESAFB /* VESA framebuffer console */
#undef KEYBOARD_MAP
#define KEYBOARD_MAP fr

but actually more and more system are UEFI compliant
despite our fr config in console.h qwerty config remains and slash image cannot load (we have a blue screen instead)
simpleefi$ cat console.h
#define CONSOLE_PCBIOS /* Default BIOS console */
#define CONSOLE_VESAFB /* VESA framebuffer console */
#undef KEYBOARD_MAP
#define KEYBOARD_MAP fr

any ideas.......
(2017-03-10 15:23)roland.felnhofer@chello.at Wrote: [ -> ]I think for UEFI you need to enable

#define CONSOLE_EFI

Which is the default when building a efi binary.

My suggestion first check that it works in legacy, it might very well be that keymap support was not implemented in efi (yet)
Hello,

I have the same issue, i don't get French Keyboard map working in the UEFI console.
It's always US - even if I have

#undef KEYBOARD_MAP
#define KEYBOARD_MAP fr

Any one find a solution for this issue ?

Thanks in advance !
(2017-03-10 19:31)NiKiZe Wrote: [ -> ]
(2017-03-10 15:23)roland.felnhofer@chello.at Wrote: [ -> ]I think for UEFI you need to enable

#define CONSOLE_EFI

Which is the default when building a efi binary.

My suggestion first check that it works in legacy, it might very well be that keymap support was not implemented in efi (yet)

Hello NiKiZe,

I confirm, I have this issue only in EFI mode .
No problem with legacy mode.

Regards,
Badar
(2018-01-09 09:41)badar Wrote: [ -> ]I confirm, I have this issue only in EFI mode .
No problem with legacy mode.

Does your keyboard act as a French keyboard if you boot straight into the UEFI shell (without using iPXE in any way)?

Michael
(2018-01-12 11:49)mcb30 Wrote: [ -> ]
(2018-01-09 09:41)badar Wrote: [ -> ]I confirm, I have this issue only in EFI mode .
No problem with legacy mode.

Does your keyboard act as a French keyboard if you boot straight into the UEFI shell (without using iPXE in any way)?

Michael

No, it act as Us keyboard.

Badar
(2018-01-15 16:23)badar Wrote: [ -> ]
(2018-01-12 11:49)mcb30 Wrote: [ -> ]Does your keyboard act as a French keyboard if you boot straight into the UEFI shell (without using iPXE in any way)?
No, it act as Us keyboard.

OK. The UEFI build of iPXE assumes that you are using the localisation capabilities of your platform firmware. Is there anywhere in your UEFI BIOS setup screen that allows you to change the keyboard layout?

Michael
(2018-01-15 18:32)mcb30 Wrote: [ -> ]OK. The UEFI build of iPXE assumes that you are using the localisation capabilities of your platform firmware. Is there anywhere in your UEFI BIOS setup screen that allows you to change the keyboard layout?

Michael

Is there anything preventing iPXE from implementing the same keyboard map in EFI as in pcbios? - I think it is rare to have options in the bios/firmware to set layout.
(2018-01-15 20:01)NiKiZe Wrote: [ -> ]
(2018-01-15 18:32)mcb30 Wrote: [ -> ]OK. The UEFI build of iPXE assumes that you are using the localisation capabilities of your platform firmware. Is there anywhere in your UEFI BIOS setup screen that allows you to change the keyboard layout?

Michael

Is there anything preventing iPXE from implementing the same keyboard map in EFI as in pcbios? - I think it is rare to have options in the bios/firmware to set layout.

I didn't find any option to change my UEFI keyboard layout ( I'm using ProLiant DL380 Gen9 )
In Legacy boot mode, in which ipxe works fine for me, UEFI shell keyboard is also US. I think there is no relation between UEFI shell keyboard and ipxe keyboard. Could you please explain why the change made in console.h is ignored in UEFI boot mode ?

Thanks in advance !
Reference URL's