Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
b4n4n4j03
Level 1
Level 1
Posts: 6
Joined: Thu Aug 10, 2023 9:49 am

Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by b4n4n4j03 »

Hey Guys,

I would not ask here, if I did not researched a ton before. I am pretty new to Linux and ran into the following problem, all common solutions in other threads did not work. It is an Ideapad Slim 3.

in BIOS the keyboard and touchpad are working fine. external USB Keyboard and mouse is working fine as well. The only keys that work on the integrated keyboard are F5 and F6 which are there for regulating the screen light. You can see that the keys react and show up on the desktop, but the screen light does not switch at all, even if it shows that it should. Also the Fn Lock key light is working when turned on.

I know its a common issue and I tried adding lots of things to the GRUB_CMDLINE, nothing worked for me.
I also tried with another distro, ubuntu. Same issues.

Now more information on my Laptop and Hardware, i dont know if this is helpful, but let us see.

Thanks in advance.

lshw

Code: Select all

  description: Computer
    width: 64 bits
    capabilities: smp vsyscall32
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 15GiB
     *-cpu
          product: AMD Ryzen 5 7520U with Radeon Graphics
          vendor: Advanced Micro Devices [AMD]
          physical id: 1
          bus info: cpu@0
          version: 23.160.0
          size: 3672MHz
          capacity: 6734MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sme sev sev_es cpufreq
          configuration: microcode=144703496
     *-pci:0
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 02
          width: 32 bits
          clock: 33MHz
        *-generic UNCLAIMED
             description: IOMMU
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 0.2
             bus info: pci@0000:00:00.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: latency=0
        *-pci:0
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.2
             bus info: pci@0000:00:02.2
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:26 memory:c0600000-c06fffff
           *-nvme
                description: NVMe device
                product: SKHynix_HFS512GEJ4X112N
                vendor: SK hynix
                physical id: 0
                bus info: pci@0000:01:00.0
                logical name: /dev/nvme0
                version: 51030C31
                serial: 4YC4T00031CB74N3S
                width: 64 bits
                clock: 33MHz
                capabilities: nvme nvm_express bus_master cap_list
                configuration: driver=nvme latency=0 nqn=nqn.2023-04.com.skhynix:nvme:nvm-subsystem-sn-4YC4T00031CB74N3S state=live
                resources: irq:43 memory:c0600000-c0603fff
              *-namespace:0
                   description: NVMe disk
                   physical id: 0
                   logical name: hwmon3
              *-namespace:1
                   description: NVMe disk
                   physical id: 2
                   logical name: /dev/ng0n1
              *-namespace:2
                   description: NVMe disk
                   physical id: 1
                   bus info: nvme@0:1
                   logical name: /dev/nvme0n1
                   configuration: wwid=eui.0000000000000000ace42e003a4d5c03
        *-pci:1
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.3
             bus info: pci@0000:00:02.3
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:27 ioport:480200000(size=2097152)
           *-network
                description: Wireless interface
                product: MT7921 802.11ax PCI Express Wireless Network Adapter
                vendor: MEDIATEK Corp.
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: wlp2s0
                version: 00
                serial: 74:97:79:ec:48:47
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=mt7921e driverversion=5.15.0-78-generic firmware=____010000-20220209150915 ip=192.168.178.51 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                resources: iomemory:40-3f iomemory:40-3f iomemory:40-3f irq:80 memory:480200000-4802fffff memory:480300000-480303fff memory:480304000-480304fff
        *-pci:2
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.4
             bus info: pci@0000:00:02.4
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:28 memory:c0500000-c05fffff
           *-generic
                description: MMC Host
                product: SD/MMC Card Reader Controller
                vendor: O2 Micro, Inc.
                physical id: 0
                bus info: pci@0000:03:00.0
                logical name: mmc0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=sdhci-pci latency=0
                resources: irq:32 memory:c0501000-c0501fff memory:c0500000-c05007ff
        *-pci:3
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.1
             bus info: pci@0000:00:08.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:29 ioport:1000(size=4096) memory:c0100000-c04fffff ioport:470000000(size=270532608)
           *-display UNCLAIMED
                description: VGA compatible controller
                product: Advanced Micro Devices, Inc. [AMD/ATI]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:04:00.0
                version: c1
                width: 64 bits
                clock: 33MHz
                capabilities: vga_controller bus_master cap_list
                configuration: latency=0
                resources: iomemory:40-3f iomemory:40-3f memory:470000000-47fffffff memory:480000000-4801fffff ioport:1000(size=256) memory:c0400000-c047ffff
           *-multimedia:0
                description: Audio device
                product: Advanced Micro Devices, Inc. [AMD/ATI]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0.1
                bus info: pci@0000:04:00.1
                logical name: card0
                logical name: /dev/snd/controlC0
                logical name: /dev/snd/hwC0D0
                logical name: /dev/snd/pcmC0D3p
                logical name: /dev/snd/pcmC0D7p
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:82 memory:c04c8000-c04cbfff
              *-input:0
                   product: HD-Audio Generic HDMI/DP,pcm=3
                   physical id: 0
                   logical name: input12
                   logical name: /dev/input/event11
              *-input:1
                   product: HD-Audio Generic HDMI/DP,pcm=7
                   physical id: 1
                   logical name: input13
                   logical name: /dev/input/event12
           *-generic
                description: Encryption controller
                product: VanGogh PSP/CCP
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:04:00.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=ccp latency=0
                resources: irq:24 memory:c0300000-c03fffff memory:c04cc000-c04cdfff
           *-usb:0
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.3
                bus info: pci@0000:04:00.3
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:33 memory:c0100000-c01fffff
           *-usb:1
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.4
                bus info: pci@0000:04:00.4
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:42 memory:c0200000-c02fffff
           *-multimedia:1 UNCLAIMED
                description: Multimedia controller
                product: Raven/Raven2/FireFlight/Renoir Audio Processor
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.5
                bus info: pci@0000:04:00.5
                version: 6f
                width: 32 bits
                clock: 33MHz
                capabilities: cap_list
                configuration: latency=0
                resources: memory:c0480000-c04bffff
           *-multimedia:2
                description: Audio device
                product: Family 17h (Models 10h-1fh) HD Audio Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.6
                bus info: pci@0000:04:00.6
                logical name: card1
                logical name: /dev/snd/controlC1
                logical name: /dev/snd/hwC1D0
                logical name: /dev/snd/pcmC1D0c
                logical name: /dev/snd/pcmC1D0p
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:83 memory:c04c0000-c04c7fff
              *-input:0
                   product: HD-Audio Generic Mic
                   physical id: 0
                   logical name: input14
                   logical name: /dev/input/event13
              *-input:1
                   product: HD-Audio Generic Headphone
                   physical id: 1
                   logical name: input15
                   logical name: /dev/input/event14
        *-pci:4
             description: PCI bridge
             product: Advanced Micro Devices, Inc. [AMD]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.3
             bus info: pci@0000:00:08.3
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:30 memory:c0000000-c00fffff
           *-usb
                description: USB controller
                product: Advanced Micro Devices, Inc. [AMD]
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:05:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:53 memory:c0000000-c00fffff
        *-serial
             description: SMBus
             product: FCH SMBus Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 71
             width: 32 bits
             clock: 66MHz
             configuration: driver=piix4_smbus latency=0
             resources: irq:0
        *-isa
             description: ISA bridge
             product: FCH LPC Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 51
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
           *-pnp00:00
                product: PnP device PNP0c02
                physical id: 0
                capabilities: pnp
                configuration: driver=system
           *-pnp00:01
                product: PnP device PNP0b00
                physical id: 1
                capabilities: pnp
                configuration: driver=rtc_cmos
           *-pnp00:02
                product: PnP device PNP0303
                physical id: 2
                capabilities: pnp
                configuration: driver=i8042 kbd
           *-pnp00:03
                product: PnP device PNP0c02
                physical id: 3
                capabilities: pnp
                configuration: driver=system
           *-pnp00:04
                product: PnP device PNP0c01
                physical id: 4
                capabilities: pnp
                configuration: driver=system
           *-input
                product: Ideapad extra buttons
                physical id: 5
                logical name: input10
                logical name: /dev/input/event9
                capabilities: platform
     *-pci:1
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 101
          bus info: pci@0000:00:01.0
          version: 02
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 102
          bus info: pci@0000:00:02.0
          version: 02
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 103
          bus info: pci@0000:00:08.0
          version: 02
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 104
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:5
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 105
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:6
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 106
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:7
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 107
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:8
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 108
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:9
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 109
          bus info: pci@0000:00:18.5
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:10
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10a
          bus info: pci@0000:00:18.6
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:11
          description: Host bridge
          product: Advanced Micro Devices, Inc. [AMD]
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10b
          bus info: pci@0000:00:18.7
          version: 00
          width: 32 bits
          clock: 33MHz
  *-graphics
       product: EFI VGA
       physical id: 1
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1920,1080
  *-input:0
       product: Lid Switch
       physical id: 2
       logical name: input0
       logical name: /dev/input/event0
       capabilities: platform
  *-input:1
       product: Power Button
       physical id: 3
       logical name: input1
       logical name: /dev/input/event1
       capabilities: platform
  *-input:2
       product: SZH usb keyboard
       physical id: 4
       logical name: input16
       logical name: /dev/input/event6
       logical name: input16::capslock
       logical name: input16::numlock
       logical name: input16::scrolllock
       capabilities: usb
  *-input:3
       product: SZH usb keyboard Consumer Control
       physical id: 5
       logical name: input17
       logical name: /dev/input/event7
       capabilities: usb
  *-input:4
       product: SZH usb keyboard System Control
       physical id: 6
       logical name: input18
       logical name: /dev/input/event8
       capabilities: usb
  *-input:5
       product: Video Bus
       physical id: 7
       logical name: input3
       logical name: /dev/input/event2
       capabilities: platform
  *-input:6
       product: Areson Gaming II
       physical id: 8
       logical name: input4
       logical name: /dev/input/event3
       logical name: /dev/input/mouse0
       capabilities: usb
  *-input:7
       product: Areson Gaming II Mouse
       physical id: 9
       logical name: input5
       logical name: /dev/input/event4
       logical name: /dev/input/mouse1
       capabilities: usb
  *-input:8
       product: Areson Gaming II Keyboard
       physical id: a
       logical name: input6
       logical name: /dev/input/event5
       capabilities: usb
xinput

Code: Select all

$ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Areson Gaming II                        	id=8	[slave  pointer  (2)]
⎜   ↳ Areson Gaming II Mouse                  	id=9	[slave  pointer  (2)]
⎜   ↳ Areson Gaming II Keyboard               	id=10	[slave  pointer  (2)]
⎜   ↳ SZH usb keyboard Consumer Control       	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)]
    ↳ Ideapad extra buttons                   	id=15	[slave  keyboard (3)]
    ↳ Areson Gaming II Keyboard               	id=16	[slave  keyboard (3)]
    ↳ SZH usb keyboard Consumer Control       	id=12	[slave  keyboard (3)]
    ↳ SZH usb keyboard                        	id=13	[slave  keyboard (3)]
    ↳ SZH usb keyboard System Control         	id=14	[slave  keyboard (3)]
OS information

Code: Select all

$ cat /etc/os-release
NAME="Linux Mint"
VERSION="21.1 (Vera)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.1"
VERSION_ID="21.1"
Kernel

Code: Select all

$ uname -r
5.15.0-78-generic
Last edited by LockBot on Sat Feb 10, 2024 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 30604
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by SMG »

b4n4n4j03 wrote: Thu Aug 10, 2023 10:11 amNow more information on my Laptop and Hardware, i dont know if this is helpful, but let us see.
Welcome to the forum, b4n4n4j03.

What you listed shows you have AMD Ryzen 5 7520U which means you should be using a 6 series kernel.

Instructions for upgrading to the 6.2 kernel:
  • Open Update Manager.
  • Select View > Linux Kernels and click Continue.
  • Make sure 6.2 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear.
  • Install the kernel and then reboot for it to become active.
After installing that kernel and rebooting, please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your hardware.
b4n4n4j03 wrote: Thu Aug 10, 2023 10:11 amI know its a common issue and I tried adding lots of things to the GRUB_CMDLINE, nothing worked for me.
Hopefully, you have removed everything you tried which did not work.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
b4n4n4j03
Level 1
Level 1
Posts: 6
Joined: Thu Aug 10, 2023 9:49 am

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by b4n4n4j03 »

Hey SMG!

Thank you so much for reaching out.
I followed your advice, but keyboard and touchpad are still not working.
suddenly the screenlight is working in the right way! but nothing else

Here is what system report shows

Code: Select all

[code]
System:
  Kernel: 6.2.0-26-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.6.8 tk: GTK 3.24.33
    wm: muffin dm: LightDM Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 82XN v: IdeaPad Slim 3 14AMN8 serial: <superuser required>
    Chassis: type: 10 v: IdeaPad Slim 3 14AMN8 serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required> UEFI: LENOVO
    v: L1CN28WW date: 03/03/2023
Battery:
  ID-1: BAT0 charge: 37.8 Wh (78.3%) condition: 48.3/47.0 Wh (102.8%) volts: 12.2 min: 11.3
    model: SMP L22M3PF2 serial: <filter> status: Discharging
CPU:
  Info: quad core model: AMD Ryzen 5 7520U with Radeon Graphics bits: 64 type: MT MCP arch: Zen
    note: check rev: 0 cache: L1: 256 KiB L2: 2 MiB L3: 4 MiB
  Speed (MHz): avg: 2314 high: 4319 min/max: 900/6735 boost: enabled cores: 1: 4319 2: 900
    3: 1930 4: 900 5: 4277 6: 2234 7: 1928 8: 2029 bogomips: 44714
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD vendor: Lenovo driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports:
    active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:1506
  Device-2: Luxvisions Innotech Integrated Camera type: USB driver: uvcvideo bus-ID: 5-1:2
    chip-ID: 30c9:00a7
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP res: 1920x1080 dpi: 158 diag: 355mm (14")
  OpenGL: renderer: GFX1036 (gfx1036 LLVM 15.0.7 DRM 3.49 6.2.0-26-generic)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 04:00.1 chip-ID: 1002:1640
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
    driver: snd_pci_acp6x v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 04:00.5
    chip-ID: 1022:15e2
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 04:00.6 chip-ID: 1022:15e3
  Sound Server-1: ALSA v: k6.2.0-26-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: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter vendor: Lenovo
    driver: mt7921e v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 14c3:7961
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb v: 0.8 bus-ID: 1-2:2
    chip-ID: 0489:e0cd
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 11.28 GiB (2.4%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS512GEJ4X112N size: 476.94 GiB speed: 63.2 Gb/s
    lanes: 4 serial: <filter> temp: 25.9 C
Partition:
  ID-1: / size: 465.29 GiB used: 10.84 GiB (2.3%) fs: ext4 dev: /dev/dm-1 mapped: vgmint-root
  ID-2: /boot size: 1.61 GiB used: 442.7 MiB (26.9%) fs: ext4 dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 980 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-2
    mapped: vgmint-swap_1
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-2:2 info: Foxconn / Hon Hai Wireless_Device type: Bluetooth driver: btusb rev: 2.1
    speed: 480 Mb/s chip-ID: 0489:e0cd
  Hub-2: 2-0:1 info: Super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 3 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 3-1:2 info: Areson Gaming II type: Mouse driver: hid-generic,usbhid rev: 2.0
    speed: 12 Mb/s chip-ID: ffc0:001f
  Device-2: 3-2:3 info: SZH usb keyboard type: Keyboard,HID driver: hid-generic,usbhid rev: 1.1
    speed: 1.5 Mb/s chip-ID: c0f4:04c0
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 5-1:2 info: Luxvisions Innotech Integrated Camera type: Video driver: uvcvideo
    rev: 2.0 speed: 480 Mb/s chip-ID: 30c9:00a7
  Hub-6: 6-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A gpu: amdgpu temp: 39.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2163
  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 vera main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 323 Uptime: 2m Memory: 14.94 GiB used: 1.68 GiB (11.2%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Unknown python3.10 client inxi: 3.3.13
[/code]
User avatar
SMG
Level 25
Level 25
Posts: 30604
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by SMG »

b4n4n4j03 wrote: Thu Aug 10, 2023 2:44 pmsuddenly the screenlight is working in the right way!
That tends to happen when the kernel is new enough to include the graphics drivers you need. ;)
b4n4n4j03 wrote: Thu Aug 10, 2023 2:44 pmI followed your advice, but keyboard and touchpad are still not working.
Do you know for sure they were working in Windows?

Was the i8042.dumbkbd=1 kernel parameter one of the ones you tried?

Is the output of xinput still the same with the newer kernel?

What is the output of dmesg | grep i2c?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
b4n4n4j03
Level 1
Level 1
Posts: 6
Joined: Thu Aug 10, 2023 9:49 am

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by b4n4n4j03 »

xinput

Code: Select all

$ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Areson Gaming II                        	id=8	[slave  pointer  (2)]
⎜   ↳ Areson Gaming II Mouse                  	id=9	[slave  pointer  (2)]
⎜   ↳ Areson Gaming II Keyboard               	id=10	[slave  pointer  (2)]
⎜   ↳ SZH usb keyboard Consumer Control       	id=12	[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)]
    ↳ SZH usb keyboard                        	id=11	[slave  keyboard (3)]
    ↳ SZH usb keyboard System Control         	id=13	[slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C         	id=14	[slave  keyboard (3)]
    ↳ Ideapad extra buttons                   	id=15	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=16	[slave  keyboard (3)]
    ↳ Areson Gaming II Keyboard               	id=17	[slave  keyboard (3)]
    ↳ SZH usb keyboard Consumer Control       	id=18	[slave  keyboard (3)]
dmesg

Code: Select all

$ dmesg | grep i2c
[    0.276458] i2c_dev: i2c /dev entries driver
Do not know if it works in windows, ordered with no OS and linux is the first one installed. but in BIOS it works fine. Touchpad and keys for sure.

I tried

Code: Select all

i8042.dumbkbd=1
and also added it again now, the grub file looks like this atm

Code: Select all

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
#GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="i8042.dumbkbd=1"
Thanks for your fast replies!!
User avatar
SMG
Level 25
Level 25
Posts: 30604
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by SMG »

b4n4n4j03 wrote: Thu Aug 10, 2023 4:48 pm

Code: Select all

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
#GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="i8042.dumbkbd=1"
Thanks for your fast replies!!
I'm not sure why you have a line commented out.

When you add a kernel parameter, just add a space and add it into the same line.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
would become
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.dumbkbd=1"

If you already tried it and it did not work, then you do not have to try it again. I just did not know what you tried.

The fact they are working in BIOS would seem to indicate the driver is being changed when the operating system loads, but I don't know what driver is being used.

Is the on-screen keyboard working?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
b4n4n4j03
Level 1
Level 1
Posts: 6
Joined: Thu Aug 10, 2023 9:49 am

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by b4n4n4j03 »

Hey good morning and thank you again.

Thanks for the advice with the kernel parameter.

The onscreen keyboard works well.

I am wondering if this could be helpful for me, but I am a beginner as I said. But it looks like this is a driver for my ARESON II Mouse?
Can this help me in any way?

https://linux-hardware.org/?id=usb:ffc0-001f
User avatar
SMG
Level 25
Level 25
Posts: 30604
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by SMG »

b4n4n4j03 wrote: Fri Aug 11, 2023 4:28 amI am wondering if this could be helpful for me, but I am a beginner as I said. But it looks like this is a driver for my ARESON II Mouse?
Can this help me in any way?

https://linux-hardware.org/?id=usb:ffc0-001f
That link is a hardware probe from someone else who installed a Linux-based distro and is using that mouse. The information says the drivers are included in kernel versions 2.6 and newer. You have kernel 6.2 so the mouse should work. Is it not working?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
b4n4n4j03
Level 1
Level 1
Posts: 6
Joined: Thu Aug 10, 2023 9:49 am

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by b4n4n4j03 »

Hey,
the keyboard and touchpad are still not working.
:(
User avatar
SMG
Level 25
Level 25
Posts: 30604
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by SMG »

b4n4n4j03 wrote: Thu Aug 10, 2023 2:44 pm Machine:
Type: Laptop System: LENOVO product: 82XN v: IdeaPad Slim 3 14AMN8 serial: <superuser required>
Chassis: type: 10 v: IdeaPad Slim 3 14AMN8 serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required> UEFI: LENOVO
v: L1CN28WW date: 03/03/2023
If this is the correct link BIOS Update for Windows 11 (64-bit) - V14 G4 AMN, V15 G4 AMN, IdeaPad Slim 3 14AMN8, IdeaPad Slim 3 15AMN8, it appears the latest verison is 32. Maybe this is a known issue and an update will help.

I went through the Product Specs, but did not get any new ideas. Your hardware is very new.

Have you tried searching or asking on the Lenovo community forums? Maybe someone there will have ideas.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
b4n4n4j03
Level 1
Level 1
Posts: 6
Joined: Thu Aug 10, 2023 9:49 am

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by b4n4n4j03 »

Hey. Thanks again for your thoughts.
For the named Update I need to install Windows right? :/
User avatar
SMG
Level 25
Level 25
Posts: 30604
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by SMG »

b4n4n4j03 wrote: Tue Aug 15, 2023 9:03 am Hey. Thanks again for your thoughts.
For the named Update I need to install Windows right? :/
You would have to check with Lenovo to see if there are any options other than using Windows for your model.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
thendays
Level 1
Level 1
Posts: 1
Joined: Sat Aug 26, 2023 2:44 pm

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by thendays »

I'd just like to add that I have the same laptop (Lenovo Ideapad Slim 3 with AMD ryzen 3 15AMN8) and the same issue while installing Ubuntu and Mint Cinnamon.

Keyboard and touch pad work fine in BIOS, Boot device selection and GRUB loader, but as soon as Mint OS boots up, the keyboard and mouse stop working. If I plug in usb mouse/keyboard, they work fine.

I tried with Ubuntu 22.04 installation but the same issue occurs. I have the kernel 6+ and have tried all the same recommended fixes like @b4n4n4j03 mentioned, but with no success.

Edit: Ubuntu 23.04 and Elementary OS same thing
Grusomme
Level 1
Level 1
Posts: 1
Joined: Thu Sep 21, 2023 3:10 pm

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by Grusomme »

Ditto. I have the same class of laptop. Ideapad Slim 3 14AMN8. With a R5. Tried most distros and suggested solutions. There is just no known way to get the track pad and keyboard to work. There is a USB host error while booting up any live distro.
User avatar
SMG
Level 25
Level 25
Posts: 30604
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by SMG »

Grusomme wrote: Thu Sep 21, 2023 3:16 pm Ditto. I have the same class of laptop. Ideapad Slim 3 14AMN8. With a R5. Tried most distros and suggested solutions. There is just no known way to get the track pad and keyboard to work. There is a USB host error while booting up any live distro.
There is a now a 6.5-oem kernel available. (It was not available at the time of the previous post.) However, to test that kernel to see if it works, you would need to install Linux Mint. If you want to do that, you can install the latest 6.5-oem kernel with

Code: Select all

sudo apt-get install linux-oem-22.04d
and reboot.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Noire
Level 1
Level 1
Posts: 1
Joined: Tue Nov 28, 2023 4:33 pm

Re: Keyboard and Touchpad not working on Lenovo Ideapad Slim in Linux Mint Cinammon

Post by Noire »

The solution presented prior will not resolve this issue, as it has something to do with the strange way Lenovo set up the keyboard and touchpad. Fortunately, there is a solution now: using the Mainline Kernels tool (https://code.launchpad.net/~cappelikan/ ... ubuntu/ppa) updating your kernel to 6.6.1+ or 6.5.10+ will solve the issue, as the fix for the 15AMN8 keyboard/touchpad was integrated to them. Since this model of Ideapad Slim is the same line, it should also fix the 14AMN8.

Worked for mine, at least.
Locked

Return to “Hardware Support”