Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Laptop toetsenbord werk niet bij Ubuntu  (gelezen 1813 keer)

Offline Waldo

  • Lid
Laptop toetsenbord werk niet bij Ubuntu
« Gepost op: 2023/10/14, 22:56:15 »
Op de laptop  draait Windows 11 en dan werkt het intern toetsenbord. Maar al tijdens de installatie van Ubuntu  werkte het toetsenbord vd laptop niet meer.
Indien terug wordt opgestart in windows 11 werkt het toetsenbord vd laptop  wel. Een extern usb toetsenbord werkt wel in zowel windows  als Ubuntu.
Iemand die ons kan helpen?

Offline DeBaas

  • Lid
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #1 Gepost op: 2023/10/14, 23:28:13 »
De kernel parameter i8042
https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html
schijnt daar iets mee te kunnen doen.
https://www.linux.org/threads/keyboard-not-functional-on-boot.43386/#post-180098
Helaas kan ik daar zelf niet mee testen.
Met Google, linux keyboard i8042 , kom je mogelijk de juiste oplossing tegen.
        i8042.debug     [HW] Toggle i8042 debug mode
        i8042.unmask_kbd_data
                        [HW] Enable printing of interrupt data from the KBD port
                             (disabled by default, and as a pre-condition
                             requires that i8042.debug=1 be enabled)
        i8042.direct    [HW] Put keyboard port into non-translated mode
        i8042.dumbkbd   [HW] Pretend that controller can only read data from
                             keyboard and cannot control its state
                             (Don't attempt to blink the leds)
        i8042.noaux     [HW] Don't check for auxiliary (== mouse) port
        i8042.nokbd     [HW] Don't check/create keyboard port
        i8042.noloop    [HW] Disable the AUX Loopback command while probing
                             for the AUX port
        i8042.nomux     [HW] Don't check presence of an active multiplexing
                             controller
        i8042.nopnp     [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
                             controllers
        i8042.notimeout [HW] Ignore timeout condition signalled by controller
        i8042.reset     [HW] Reset the controller during init, cleanup and
                             suspend-to-ram transitions, only during s2r
                             transitions, or never reset
                        Format: { 1 | Y | y | 0 | N | n }
                        1, Y, y: always reset controller
                        0, N, n: don't ever reset controller
                        Default: only on s2r transitions on x86; most other
                        architectures force reset to be always executed
        i8042.unlock    [HW] Unlock (ignore) the keylock
        i8042.kbdreset  [HW] Reset device connected to KBD port
« Laatst bewerkt op: 2023/10/14, 23:35:41 door DeBaas »
Ik beantwoord GEEN hulpvragen via PB en/of MAIL

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #2 Gepost op: 2023/10/15, 00:03:38 »
Wat zegt:
inxi -Fxxxpmrz

Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #3 Gepost op: 2023/10/15, 09:20:55 »
Dag,

Om welke laptop gaat het.
Merk en type.

Wel heel vreemd.
Tijdens de installatie kan men kiezen welke landinstelling, taal en toetsenbord indeling ...
En ook deze keuze testen.
Werkt het hier in deze fase van de installatie?
MvG,
MauRice
Registered Linux user: 473556

Offline Waldo

  • Lid
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #4 Gepost op: 2023/10/15, 20:39:57 »
Wat zegt:
inxi -Fxxxpmrz

Dit krijg ik als ik jouw command ingeef in de terminal.
System:
  Kernel: 6.2.0-34-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.9
    tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0
    Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA507NU_FA507NU
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: FA507NU v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: FA507NU.310 date: 06/19/2023
Battery:
  ID-1: BAT1 charge: 80.2 Wh (94.6%) condition: 84.8/90.2 Wh (94.0%)
    volts: 17.4 min: 15.9 model: ASUS A32-K55 type: Li-ion serial: N/A
    status: Charging
  Device-1: hid-FNP727700H1HLVY18-battery
    model: Apple Inc. Magic Keyboard with Numeric Keypad serial: N/A
    charge: N/A status: Discharging
Memory:
  RAM: total: 14.86 GiB used: 2.14 GiB (14.4%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 8-core model: AMD Ryzen 7 7735HS with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 3 rev: 1 cache: L1: 512 KiB L2: 4 MiB
    L3: 16 MiB
  Speed (MHz): avg: 1789 high: 3200 min/max: 1600/4828 boost: enabled
    cores: 1: 3200 2: 1600 3: 1600 4: 1600 5: 1600 6: 1600 7: 1600 8: 1600
    9: 1600 10: 3200 11: 1432 12: 1600 13: 1600 14: 1600 15: 1600 16: 1600
    bogomips: 102208
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA vendor: ASUSTeK driver: N/A pcie: speed: 16 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:28e1 class-ID: 0300
  Device-2: AMD Rembrandt vendor: ASUSTeK driver: amdgpu v: kernel pcie:
    speed: 16 GT/s lanes: 16 ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6, DP-7, DP-8 bus-ID: 35:00.0
    chip-ID: 1002:1681 class-ID: 0300
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-4:2 chip-ID: 13d3:56a2 class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.1
    compositor: gnome-shell driver: X: loaded: ati,vesa
    unloaded: fbdev,modesetting,radeon gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: AU Optronics B156HAN15.H res: 1920x1080 dpi: 142
    size: 344x193mm (13.5x7.6") diag: 394mm (15.5") modes: max: 1920x1080
    min: 640x480
  OpenGL:
    renderer: REMBRANDT (rembrandt LLVM 15.0.7 DRM 3.49 6.2.0-34-generic)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22be class-ID: 0403
  Device-2: AMD driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 35:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: ASUSTeK driver: snd_pci_acp6x v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 35:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 35:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k6.2.0-34-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 3-3:3 chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.2 sub-v: 2202 hci-v: 5.2 rev: 915
Drives:
  Local Storage: total: 476.94 GiB used: 12.66 GiB (2.7%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 2400 MTFDKBA512QFM
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: V3MA003 temp: 34.9 C scheme: GPT
Partition:
  ID-1: / size: 45.86 GiB used: 12.59 GiB (27.5%) fs: ext4
    dev: /dev/nvme0n1p6
  ID-2: /boot/efi size: 256 MiB used: 65.1 MiB (25.4%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: amdgpu temp: 43.0 C
  Fan Speeds (RPM): cpu: 2400
Repos:
  Packages: 1656 apt: 1644 snap: 12
  Active apt repos in: /etc/apt/sources.list
    1: deb cdrom:[Ubuntu 22.04.3 LTS _Jammy Jellyfish_ - Release amd64 (20230807.2)]/ jammy main restricted
    2: deb http://be.archive.ubuntu.com/ubuntu/ jammy main restricted
    3: deb http://be.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
    4: deb http://be.archive.ubuntu.com/ubuntu/ jammy universe
    5: deb http://be.archive.ubuntu.com/ubuntu/ jammy-updates universe
    6: deb http://be.archive.ubuntu.com/ubuntu/ jammy multiverse
    7: deb http://be.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
    8: deb http://be.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
    9: deb http://security.ubuntu.com/ubuntu jammy-security main restricted
    10: deb http://security.ubuntu.com/ubuntu jammy-security universe
    11: deb http://security.ubuntu.com/ubuntu jammy-security multiverse
Info:
  Processes: 374 Uptime: 22m wakeups: 21418 Init: systemd v: 249 runlevel: 5
  Compilers: gcc: N/A Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13

Moderator edit: Code tags geplaatst.
« Laatst bewerkt op: 2023/10/16, 10:20:04 door Ron »

Offline Waldo

  • Lid
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #5 Gepost op: 2023/10/15, 20:42:08 »
Dag,

Om welke laptop gaat het.
Merk en type.

Wel heel vreemd.
Tijdens de installatie kan men kiezen welke landinstelling, taal en toetsenbord indeling ...
En ook deze keuze testen.
Werkt het hier in deze fase van de installatie?

Mijn laptop is een ASUS TUF Gaming A15 FA507NU_FA507NU.
Het toetsenbord heeft nooit gewerkt tijdens of na de installatie, ik gebruik momenteel een extern toetsenbord.

Offline Waldo

  • Lid
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #6 Gepost op: 2023/10/15, 20:44:24 »
De kernel parameter i8042
https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html
schijnt daar iets mee te kunnen doen.
https://www.linux.org/threads/keyboard-not-functional-on-boot.43386/#post-180098
Helaas kan ik daar zelf niet mee testen.
Met Google, linux keyboard i8042 , kom je mogelijk de juiste oplossing tegen.
        i8042.debug     [HW] Toggle i8042 debug mode
        i8042.unmask_kbd_data
                        [HW] Enable printing of interrupt data from the KBD port
                             (disabled by default, and as a pre-condition
                             requires that i8042.debug=1 be enabled)
        i8042.direct    [HW] Put keyboard port into non-translated mode
        i8042.dumbkbd   [HW] Pretend that controller can only read data from
                             keyboard and cannot control its state
                             (Don't attempt to blink the leds)
        i8042.noaux     [HW] Don't check for auxiliary (== mouse) port
        i8042.nokbd     [HW] Don't check/create keyboard port
        i8042.noloop    [HW] Disable the AUX Loopback command while probing
                             for the AUX port
        i8042.nomux     [HW] Don't check presence of an active multiplexing
                             controller
        i8042.nopnp     [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
                             controllers
        i8042.notimeout [HW] Ignore timeout condition signalled by controller
        i8042.reset     [HW] Reset the controller during init, cleanup and
                             suspend-to-ram transitions, only during s2r
                             transitions, or never reset
                        Format: { 1 | Y | y | 0 | N | n }
                        1, Y, y: always reset controller
                        0, N, n: don't ever reset controller
                        Default: only on s2r transitions on x86; most other
                        architectures force reset to be always executed
        i8042.unlock    [HW] Unlock (ignore) the keylock
        i8042.kbdreset  [HW] Reset device connected to KBD port

Waar moet ik deze code invullen? Kan je extra uitleg geven over jou oplossing?

Offline DeBaas

  • Lid
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #7 Gepost op: 2023/10/15, 22:24:51 »
!!!Voorbeeld!!! uit de eerder vermelde links
GRUB_CMDLINE_LINUX_DEFAULT="i8042.dumbkbd"
GRUB_CMDLINE_LINUX="rhgb quiet i8042.dumbkbd=1"
in de file /etc/default/grub
gevolgd door terminal sudo update-grub

Je zult zelf moeten zoeken naar de juiste oplossing zoals eerder aangegeven, google geeft de beste zoekresultaten, mogelijk vind je een oplossing op maat voor jouw machine.
Ik beantwoord GEEN hulpvragen via PB en/of MAIL

Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #8 Gepost op: 2023/10/15, 23:23:49 »
Wat is de uitvoer van
cat /etc/default/grub?

Dan kunnen we op basis daarvan aanraden hoe de regels zouden moeten worden met de extra parameter i8042.dumbkbd

Offline h2o

  • Lid
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #9 Gepost op: 2023/10/16, 07:36:09 »
Ook hier interessante kost. Ik heb een chromebook die ik via Mrchromebook.tech geschikt heb gemaakt om er chromeos flex of linux op te draaien.
Tot nu toe krijg ik die dingen met Debian niet goed werkend. Geen touchpad en pauzestand.
Alleen Siduction doet het wel, maar dan hetzelfde probleem als de topicstarter. Alleen met een extern usb toetsenbord werken.
Het is dus een probleem wat vaker voor komt.
Werk laptops + werkstation: Debian Testing
Privé laptops: Debian Testing/Unstable
Test laptop: Diverse andere Linux distribities
Chromebooks: ChromeOS Flex

Offline Waldo

  • Lid
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #10 Gepost op: 2023/10/16, 21:13:19 »
Zou ik onderstaande code kunnen ingeven om het toetsenbord te laten werken ? :
Wat als het niet lukt kan ik nog terug ?

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=”i8042.dumbkbd”
GRUB_CMDLINE_LINUX=”” ”rhgb quiet i8042.dumbkbd=1”
sudo update-grub
« Laatst bewerkt op: 2023/10/17, 13:21:59 door Waldo »

Offline Waldo

  • Lid
Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #11 Gepost op: 2023/10/17, 20:59:02 »
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #12 Gepost op: 2023/10/17, 23:21:33 »
Je zou deze regel:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"Kunnen vervangen door:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.dumbkbd"
Hierna
sudo update-grub

Re: Laptop toetsenbord werk niet bij Ubuntu
« Reactie #13 Gepost op: 2023/10/18, 05:32:44 »
Dag,

Ik vrees dat het een nieuwe kernel compileren wordt....

https://askubuntu.com/questions/1470529/asus-tuf-a15-2023-keyboard-not-working

Tenzij dit al is verwerkt in de laatste kernel versie.
MvG,
MauRice
Registered Linux user: 473556