Medion notebook dual boot: Azerty built-in keyboard not working

Questions about hardware, drivers and peripherals
Forum rules
Before you post please read how to get help
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Medion notebook dual boot: Azerty built-in keyboard not working

Post by toma1970 »

Hi,
My first time asking for help. Till now always found solutions on this forum (thx for that!) or on the net. Apologies for my English, no native speaker.
Keyboard is working fine in Win10 and Grub, but once in Mint 20, only touchpad and on-screen keyboard are working.
Since more than a week trying to make it work, but still no solution found.
I just did an upgrade to Mint 20.1, but still built-in keyboard not working...

Thx in advance for the time and the help!

Tomas

Code: Select all

tomas@tomas-comp:~$ inxi -Fxxxrz
System:
  Kernel: 5.8.0-36-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 4.8.5 wm: muffin 4.8.0 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: MEDION product: S15450 v: N/A serial: <filter> 
  Chassis: type: 10 serial: <filter> 
  Mobo: MEDION model: M15T serial: <filter> UEFI: American Megatrends LLC. 
  v: 207 date: 11/10/2020 
Battery:
  ID-1: BAT0 charge: 42.2 Wh condition: 42.2/41.6 Wh (101%) volts: 12.9/11.4 
  model: M153137 type: Li-ion serial: <filter> status: Full 
CPU:
  Topology: Quad Core model: 11th Gen Intel Core i5-1135G7 bits: 64 
  type: MT MCP arch: Tiger Lake rev: 1 L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 38707 
  Speed: 1299 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 1246 2: 1203 
  3: 1208 4: 1208 5: 1204 6: 1203 7: 1226 8: 1211 
Graphics:
  Device-1: Intel driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:9a49 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel driver: sof-audio-pci bus ID: 00:1f.3 chip ID: 8086:a0c8 
  Sound Server: ALSA v: k5.8.0-36-generic 
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: 3000 bus ID: 00:14.3 
  chip ID: 8086:a0f0 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 9.53 GiB (2.0%) 
  ID-1: /dev/sda model: S11-512G-PHISON-DVS-B27 size: 476.94 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: J1.3 scheme: GPT 
Partition:
  ID-1: / size: 27.38 GiB used: 9.50 GiB (34.7%) fs: ext4 dev: /dev/sda7 
Sensors:
  System Temperatures: cpu: 38.0 C mobo: 27.8 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 251 Uptime: 47m Memory: 7.52 GiB used: 1.22 GiB (16.2%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
 
Last edited by toma1970 on Wed Jun 09, 2021 1:49 am, edited 3 times in total.
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by hglee »

What does the following terminal command report?

Code: Select all

mokutil --sb-state
SecureBoot should be disabled in the UEFI/BIOS configuration.
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

Hi hglee,
thx for your reply....

Code: Select all

tomas@tomas-comp:~$ mokutil --sb-state
SecureBoot disabled 
Built-in keyboard still not working, only on screen keyboard.
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by hglee »

What's the output of the following terminal command?...

Code: Select all

xinput --list
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

Code: Select all

tomas@tomas-comp:~$ xinput --list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ FTCS1000:00 2808:0101 Touchpad          	id=10	[slave  pointer  (2)]
⎜   ↳ FTCS1000:00 2808:0101 Mouse             	id=11	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD         	id=9	[slave  keyboard (3)] 
Is there any possibility that the 11th gen intel core i5-1135G7 or the intel Iris Xe is not supported yet? I read on this forum that some kernels don't support it yet. Although mine installed and active is the 5.8.0-36.
A few days ago I even installed manually kernel 5.10, but no effect on the built-in keyboard.

When I log in in Win 10, then keyboard works fine...as well on the Grub menu.
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by hglee »

Well, xinput confirms that the kernel has a problem recognizing how the keyboard is interfaced.

For what it's worth, this particular keyboard problem with the Medion S15450 laptop has been reported under Ubuntu 20.x, so it's something that Mint has inherited.

Is the keyboard layout non-English?

May we see the output of the following two terminal commands?...

Code: Select all

cat /etc/default/keyboard
dmesg | egrep -i i2c
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

Code: Select all

tomas@tomas-comp:~$ cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

Code: Select all

tomas@tomas-comp:~$ dmesg | egrep -i i2c
[    0.692299] i2c /dev entries driver
[    0.871548] i2c i2c-0: 2/2 memory slots populated (from DMI)
[    0.872097] i2c i2c-0: Successfully instantiated SPD at 0x50
[    0.877064] i2c_hid i2c-FTCS1000:00: supply vdd not found, using dummy regulator
[    0.877077] i2c_hid i2c-FTCS1000:00: supply vddl not found, using dummy regulator
[    1.209392] input: FTCS1000:00 2808:0101 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-FTCS1000:00/0018:2808:0101.0001/input/input5
[    1.209542] input: FTCS1000:00 2808:0101 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-FTCS1000:00/0018:2808:0101.0001/input/input6
[    1.209685] hid-generic 0018:2808:0101.0001: input,hidraw0: I2C HID v1.00 Mouse [FTCS1000:00 2808:0101] on i2c-FTCS1000:00
[    3.532491] input: FTCS1000:00 2808:0101 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-FTCS1000:00/0018:2808:0101.0001/input/input9
[    3.532568] input: FTCS1000:00 2808:0101 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-FTCS1000:00/0018:2808:0101.0001/input/input10
[    3.532639] hid-multitouch 0018:2808:0101.0001: input,hidraw0: I2C HID v1.00 Mouse [FTCS1000:00 2808:0101] on i2c-FTCS1000:00
Just for my info (to learn something ;-) ) How can you see in the previous post that the kernel has a problem recognising the keyboard interface?

Thx a lot for your help!
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

Sorry, forgotten...
Keyboard is Azerty layout...Belgian...
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by hglee »

For a laptop, I expect xinput to show "AT Translated Set 2" slave keyboard or something similar. Yours isn't showing this.

With Windows and GRUB happy, this can't be a hardware problem. Have you tried manually configuring your keyboard layout?

With dual boot you can use Windows 10 to glean specifications about your keyboard which may be useful to configure Mint. In Windows search for msinfo32 and click on System Information. Under System Summary, select Components -> Input -> Keyboard.

To configure the keyboard language/layout in Linux Mint, click on the Mint panel (taskbar) logo and type keyboard into the search box, then tap [Keyboard] from the list to open the configuration window. At the top of the window, select [Layouts]; then at the bottom-left tap the [+] plus symbol to add a layout. A list of input sources for language/layout will appear; scroll down or just start typing a language name. There are several for Belgium, including with AZERTY; and also other language/layout combinations, e.g. French with AZERTY. Select one and then tap the [Preview] button to review the physical keyboard diagram, which should resemble your actual keyboard. If it's one you want, tap [Add]. A country flag icon will appear at the righthand side of the Mint panel. Whenever you tap on that flag, it will display a list of all the languages/layouts that you've enabled. Tap on whichever one you want immediately enabled. The currently displayed flag is a visible reminder.

Reboot, to make sure everything you've done sticks.

With the non-English layout selected, does your keyboard now work as expected?

Activate the non-English language/layout, then again post the output of the following terminal commands...

Code: Select all

cat /etc/default/keyboard
xinput --list
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

I tried several times to manually configure my keyboard.
Going in System Settings - Keyboard, then the TAB 'Layouts', I only have 'Belgian' selected. I deleted 'US'. I even tried the French layout because I know it's an Azerty layout.
What is strange as well, when I boot into Mint, the on-screen keyboard ( for entering password) appears in Qwerty, and on that same screen, upper right corner, a small keyboard icon is shown with only 'US' as option.
The problem is (I think) that my physical keyboard layout is one without a separate numeric keypad, and I can't find such one in System Settings - Keyboard, Tab 'Layouts'.
Even the on-screen keyboard is Qwerty (even with Belgian selected).
So, the output of the commands you ask are the same as posted above.

Code: Select all

tomas@tomas-comp:~$ cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

Code: Select all

tomas@tomas-comp:~$ xinput --list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ FTCS1000:00 2808:0101 Mouse             	id=10	[slave  pointer  (2)]
⎜   ↳ FTCS1000:00 2808:0101 Touchpad          	id=11	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD         	id=9	[slave  keyboard (3)]
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by hglee »

Methinks keyboard layout is the issue here.

Hmm, the GRUB and GRUB2 guides say, "The US keyboard layout is the only one available at boot time". So perhaps don't entirely remove all US English layouts from your options.

Is your Belgian AZERTY keyboard locale for Dutch, French, German, or Walloon?

What does Windows say about your keyboard? From System Information, under System Summary, to Components -> Input -> Keyboard. Click on "Item", then Ctrl-A to select all text, then Ctrl-C to copy all -- then Ctrl-V in Notepad to paste into a text file.

On my Dell 2-in-1 notebook it looks like this...

Code: Select all

Description	Standard PS/2 Keyboard
Name	Enhanced (101- or 102-key)
Layout	00020409
PNP Device ID	ACPI\DLLK09E3\4&1224AAD4&0
Number of Function Keys	12
I/O Port	0x00000060-0x00000060
I/O Port	0x00000064-0x00000064
IRQ Channel	IRQ 1
Driver	C:\WINDOWS\SYSTEM32\DRIVERS\I8042PRT.SYS (10.0.18362.1, 116.50 KB (119,296 bytes), 2019-03-18 11:43 PM)
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

This is what I found in windows, systems layout:
Description Standard PS/2 Keyboard
Name Enhanced (101- or 102-key)
Layout 00000809
PNP Device ID ACPI\MSFT0001\0
Number of Function Keys 12
I/O Port 0x00000060-0x00000060
I/O Port 0x00000064-0x00000064
IRQ Channel IRQ 1
Driver C:\WINDOWS\SYSTEM32\DRIVERS\I8042PRT.SYS (10.0.19041.1, 115.50 KB (118,272 bytes), 07/12/2019 10:07)
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

This is what I found when typing 'locale' in the terminal

Code: Select all

tomas@tomas-comp:~$ locale
LANG=nl_BE.UTF-8
LANGUAGE=nl_BE
LC_CTYPE="nl_BE.UTF-8"
LC_NUMERIC=nl_BE.UTF-8
LC_TIME=nl_BE.UTF-8
LC_COLLATE="nl_BE.UTF-8"
LC_MONETARY=nl_BE.UTF-8
LC_MESSAGES="nl_BE.UTF-8"
LC_PAPER=nl_BE.UTF-8
LC_NAME=nl_BE.UTF-8
LC_ADDRESS=nl_BE.UTF-8
LC_TELEPHONE=nl_BE.UTF-8
LC_MEASUREMENT=nl_BE.UTF-8
LC_IDENTIFICATION=nl_BE.UTF-8
LC_ALL=

Don't you think I better change the title of this post into "Azerty keyboatd without numeric keypad not working after dual boot win 10 and mint 20".
Maybe this is easier to find for other people with same issue...
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

Even after deleting US keyboard, keeping only the Belgian one, at startup, log-in screen (Mint) and on-screen keyboard (once logged in), the only keyboard available, is the on-screen US keyboard....strange ;-)
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by hglee »

The issue being the layout is only a hunch I'm following at this point, the thread topic is still appropriate for what we actually know at this point.

By the locale of your keyboard I mean what you see when you look at what's printed on the keys. French characters would be different from German, etc. What are the keytops telling us about the language?

I wouldn't entirely delete having the US English option loaded, since this is the only layout that GRUB accepts, and the one that works! It appears to me that something in the kernel is borking the configuration or keycode translation, so I won't yet trust what locale is showing.
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

Doing some research, and if you type "Ergoline 3200503 SET toetsenbord + numeriek" into google, then in images, the picture is similar as my keyboard, but in AZERTY...

I tried as well following commands, but unsuccessful:

dpkg-reconfigure keyboard-configuration
service keyboard-setup restart

I'm not sure I can post following:

"I tried all of the above on an Ubuntu 16.04 and only the temporary solution setxkbmap xx did it for me so I manually included it in the .bashrc profile: sudo nano ~/.bashrc and then type setxkbmap xxreplacing xx with yor language code"

which I found on an 'askubuntu' forum with the title "How to permanently configure keyboard"...but all without success...

Thx again for all the time and effort you are putting in this ;-)
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

@hglee

In the mean time, I reinstalled 20.1 from a live USB, but still the same problem, AZERTY keyboard not working.
Any more ideas ;-)

Thx!
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by hglee »

toma1970 wrote:In the mean time, I reinstalled 20.1 from a live USB, but still the same problem, AZERTY keyboard not working.
Any more ideas ;-)
I'm not giving up on this just yet, but it requires running down a deep rabbit-hole I've not yet explored. A little frustrating without an AZERTY keyboard for hands-on tinkering -- but I actually enjoy this kind of pastime, as a retired electronics engineer with a passion for firmware development.

This exact technical issue has been flagged to Ubuntu developers, and hopefully Medion's engineers get on the ball because Ubuntu-based Linux (including Mint) is among the most widespread. Have you checked into online Ubuntu or Medion communities?

Meanwhile, an external USB or Bluetooth keyboard may be a practical avenue for you?
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
toma1970
Level 1
Level 1
Posts: 37
Joined: Tue Jan 05, 2021 3:02 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by toma1970 »

I've been visiting the fora from Ubuntu and Medion, but not yet actively...
Especially on the askUbuntu forum, I found some people with similar problems, but the solutions & terminal commands & Grub adjustments (like writing codes behind "quiet splash") doesn't work for my keyboard...
Probably as you said, it's a kernel issue...maybe I'll have to post it in the comments of the official "how to upgrade to Linux Mint 20.1" site (blog.linuxmint.com)?
User avatar
hglee
Level 5
Level 5
Posts: 955
Joined: Fri Jun 22, 2018 4:31 pm

Re: Keyboard not working after dual boot win10 and mint 20

Post by hglee »

Did this keyboard issue come up only in an upgrade, from an earlier release? If so, go back to what worked, just for now.

If I were in your position I'd also be booting other, non-Ubuntu-based, Linux distributions. Not necessarily looking to switch camps, but to be able to say whether or not this particular issue is limited to specific branches of the kernel. For example, if Mint LMDE works, which uses the upstream Debian kernel, that could suggest the problem was introduced at Ubuntu.

Did your Mint LiveDVD/USB not show the problem before it was installed onto your HDD?

Try the LiveDVD/USB of other well-supported distributions such as Fedora, openSUSE, Arch, Manjaro, or others high up on the list at Distrowatch. There's also Intel's Clear Linux, which AMD also uses for testing their CPUs.
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0*-hwe, Dell 2-in-1
AMD Ryzen 7 4700U / Renoir GPU - 14" FHD WVA Touchscreen
Intel AX200 WiFi-6 BT-5.1; 32GB DDR4@3200MHz; 2TB XPG NVMe
Post Reply