Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UEFI keyboard config
2017-02-24, 18:22
Post: #1
UEFI keyboard config
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.......
Find all posts by this user
Quote this message in a reply
2017-03-10, 15:23
Post: #2
RE: UEFI keyboard config
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.......
Find all posts by this user
Quote this message in a reply
2017-03-10, 19:31
Post: #3
RE: UEFI keyboard config
(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)

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-01-05, 11:50
Post: #4
RE: UEFI keyboard config
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 !
Find all posts by this user
Quote this message in a reply
2018-01-09, 09:41
Post: #5
RE: UEFI keyboard config
(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
Find all posts by this user
Quote this message in a reply
2018-01-12, 11:49
Post: #6
RE: UEFI keyboard config
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-01-15, 16:23
Post: #7
RE: UEFI keyboard config
(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
Find all posts by this user
Quote this message in a reply
2018-01-15, 18:32
Post: #8
RE: UEFI keyboard config
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-01-15, 20:01
Post: #9
RE: UEFI keyboard config
(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.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-01-16, 09:36
Post: #10
RE: UEFI keyboard config
(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 !
Find all posts by this user
Quote this message in a reply
2019-11-13, 16:15
Post: #11
RE: UEFI keyboard config
Hello all,

I know this is an old thread.
I have the same issue than cervicad (and roland and badar):
users authenticate against LDAP (and have an azerty Keyboard)
-console.h is configured:
#define KEYBOARD_MAP fr
- It works in legacy mode.
- UEFI keyboard layout is US (and no options to change the layout).

Did anyone have an answer to the question NikiZe asked:
Is there anything preventing iPXE from implementing the same keyboard map in EFI as in pcbios?

Thanks in advance.

Chris
Find all posts by this user
Quote this message in a reply
2019-11-13, 16:42
Post: #12
RE: UEFI keyboard config
(2019-11-13 16:15)chr Wrote:  Did anyone have an answer to the question NikiZe asked:
Is there anything preventing iPXE from implementing the same keyboard map in EFI as in pcbios?

This is something that mcb30 knows most about.
And just for reference mcb30; I don't think I have ever seen the option to change keymap in any EFI implementation, sometimes language, but not seen that change any thing other then the EFI UI.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2019-11-16, 14:24
Post: #13
RE: UEFI keyboard config
(2019-11-13 16:42)NiKiZe Wrote:  
(2019-11-13 16:15)chr Wrote:  Did anyone have an answer to the question NikiZe asked:
Is there anything preventing iPXE from implementing the same keyboard map in EFI as in pcbios?

This is something that mcb30 knows most about.
And just for reference mcb30; I don't think I have ever seen the option to change keymap in any EFI implementation, sometimes language, but not seen that change any thing other then the EFI UI.

Hello NiKiZe,

Thanks for your answer.
Maybe it's just a question of time or it is a constraint induced by uefi specs. My understanding of uefi is not good , I have to dig into specs to understand what can I do with Boot services and Runtime services... firmware uefi interfaces provided by vendors indeed do not provide any way to set keyboard layout (in my case Dell 7460 AIO).
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)