Skip to main content
Topic: How can I disable the keyboard on my Notebook? (Read 879 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: How can I disable the keyboard on my Notebook?

Reply #15
I am very worried that the fast boot will lead me into a dead end so that I can no longer access my boot menu with my handycap. I am having difficulty navigating the boot menu. The keyboard constantly spams the right or tab key and switches me to the next menu bar every second. Do you have a terminal command to list the devices first. Then I need a command to turn off the selected driver.

I have already done this and could not start the notebook afterwards. The power button is on the keyboard next to the * symbol.
I dropped water on the keyboard since then I have the problems.

>>Do you have a terminal command to list the devices first. Then I need a command to turn off the selected driver.

Since the driver is a kernel module, you have to use lsmod to list all the modules the kernel and has loaded, find the driver for your laptop keyboard and blacklist it.

Since module names aren't exactly descriptive, you have to use modinfo to see their description.

You can use this little command to get a list of descriptions of all the kernel modules:
Code: [Select]
lsmod | grep -v '^Module' | cut -d' ' -f1 | while read -r module; do printf 'module: %s\n%s\n\n' "$module" "$(modinfo $module | grep description)"; done

See which module matches the description for your internal keyboard and blacklist it.

 

Re: How can I disable the keyboard on my Notebook?

Reply #16
This is how it looks to me. Question for the pros. What is the name of the module for the internal keyboard? I have now hoped that it contains atkbd or kbd in the name. How can I blacklist the module then?

Code: [Select]
lsmod
Module                  Size  Used by
cmac                   16384  2
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 32768  6 algif_hash,algif_skcipher
bnep                   20480  2
snd_usb_audio         323584  0
snd_usbmidi_lib        36864  1 snd_usb_audio
snd_rawmidi            36864  1 snd_usbmidi_lib
tun                    61440  0
ccm                    20480  6
af_packet              53248  8
ipv6                  565248  32
crc_ccitt              16384  1 ipv6
msr                    16384  0
wl                   6463488  0
ath10k_pci             49152  0
ath10k_core           425984  1 ath10k_pci
ath                    36864  1 ath10k_core
uvcvideo              118784  0
mac80211              618496  1 ath10k_core
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         32768  1 uvcvideo
btusb                  57344  0
videobuf2_common       53248  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
btbcm                  20480  1 btusb
sg                     45056  0
btmtk                  16384  1 btusb
btrtl                  20480  1 btusb
btintel                40960  1 btusb
videodev              233472  3 videobuf2_v4l2,uvcvideo,videobuf2_common
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
bluetooth             581632  29 btrtl,btmtk,btintel,btbcm,bnep,btusb
cfg80211              434176  4 wl,ath,mac80211,ath10k_core
mc                     53248  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
ecdh_generic           16384  1 bluetooth
mei_hdcp               20480  0
mei_pxp                16384  0
i2c_i801               24576  0
intel_rapl_msr         16384  0
ecc                    40960  1 ecdh_generic
i2c_smbus              16384  1 i2c_i801
processor_thermal_device_pci_legacy    16384  0
sr_mod                 28672  0
processor_thermal_device    16384  1 processor_thermal_device_pci_legacy
r8169                  98304  0
realtek                24576  1
cdrom                  40960  1 sr_mod
mdio_devres            16384  1 r8169
libphy                147456  3 r8169,mdio_devres,realtek
intel_lpss_pci         28672  0
libarc4                16384  1 mac80211
processor_thermal_rfim    16384  1 processor_thermal_device
intel_lpss             16384  1 intel_lpss_pci
mei_me                 28672  2
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
idma64                 20480  0
mei                    98304  5 mei_hdcp,mei_pxp,mei_me
processor_thermal_rapl    16384  1 processor_thermal_device
intel_rapl_common      24576  2 intel_rapl_msr,processor_thermal_rapl
int340x_thermal_zone    16384  1 processor_thermal_device
intel_soc_dts_iosf     16384  1 processor_thermal_device_pci_legacy
intel_pch_thermal      16384  0
snd_hda_codec_hdmi     69632  1
snd_ctl_led            24576  0
snd_hda_codec_realtek   151552  1
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_ctl_led,snd_hda_codec_generic
snd_hda_intel          40960  3
snd_intel_dspcfg       28672  1 snd_hda_intel
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_hda_codec         147456  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           86016  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_intel8x0           45056  0
snd_ac97_codec        159744  1 snd_intel8x0
ac97_bus               16384  1 snd_ac97_codec
snd_pcm               143360  7 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_intel8x0,snd_ac97_codec,snd_hda_core
binfmt_misc            16384  1
nls_iso8859_1          16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    86016  1 vfat
hid_uclogic            20480  0
snd_seq                77824  0
snd_seq_device         16384  2 snd_seq,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                   106496  22 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_intel8x0,snd_timer,snd_ac97_codec,snd_pcm,snd_rawmidi
soundcore              16384  2 snd_ctl_led,snd
hid_multitouch         28672  0
fuse                  143360  1
crypto_user            16384  0
ideapad_laptop         28672  0
loop                   32768  0
sparse_keymap          16384  1 ideapad_laptop
platform_profile       16384  1 ideapad_laptop
intel_wmi_thunderbolt    16384  0
wmi_bmof               16384  0
dm_mod                139264  0
i2c_hid_acpi           16384  0
i2c_hid                28672  1 i2c_hid_acpi
pinctrl_cannonlake     36864  0
elan_i2c               45056  0
wmi                    28672  3 intel_wmi_thunderbolt,wmi_bmof,ideapad_laptop
int3400_thermal        16384  0
acpi_thermal_rel       16384  1 int3400_thermal
acpi_tad               16384  0
acpi_pad               20480  0
evdev                  24576  41
joydev                 24576  0
i915                 2478080  14
i2c_algo_bit           16384  1 i915
drm_buddy              20480  1 i915
video                  53248  2 ideapad_laptop,i915
drm_dp_helper         143360  1 i915
drm_kms_helper        184320  2 drm_dp_helper,i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
cec                    65536  2 drm_dp_helper,i915
ttm                    77824  1 i915
drm                   581632  10 drm_dp_helper,drm_kms_helper,drm_buddy,i915,ttm

Code: [Select]
lsmod | grep -v '^Module' | cut -d' ' -f1 | while read -r module; do printf 'module: %s\n%s\n\n' "$module" "$(modinfo $module | grep description)"; done
module: uas


module: usb_storage
description:    USB Mass Storage driver for Linux

module: cmac
description:    CMAC keyed hash algorithm

module: algif_hash


module: algif_skcipher


module: af_alg


module: bnep
description:    Bluetooth BNEP ver 1.3

module: snd_usb_audio
description:    USB Audio

module: snd_usbmidi_lib
description:    USB Audio/MIDI helper module

module: snd_rawmidi
description:    Midlevel RawMidi code for ALSA.

module: tun
description:    Universal TUN/TAP device driver

module: ccm
description:    Counter with CBC MAC

module: af_packet


module: ipv6
description:    IPv6 protocol stack for Linux

module: crc_ccitt
description:    CRC-CCITT calculations

module: msr
description:    x86 generic MSR driver

module: wl


module: ath10k_pci
description:    Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB devices

module: ath10k_core
description:    Core module for Qualcomm Atheros 802.11ac wireless LAN cards.

module: ath
description:    Shared library for Atheros wireless LAN cards.

module: uvcvideo
description:    USB Video Class driver

module: mac80211
description:    IEEE 802.11 subsystem

module: videobuf2_vmalloc
description:    vmalloc memory handling routines for videobuf2

module: videobuf2_memops
description:    common memory handling routines for videobuf2

module: videobuf2_v4l2
description:    Driver helper framework for Video for Linux 2

module: btusb
description:    Generic Bluetooth USB driver ver 0.8

module: videobuf2_common
description:    Media buffer core framework

module: btbcm
description:    Bluetooth support for Broadcom devices ver 0.1

module: sg
description:    SCSI generic (sg) driver

module: btmtk
description:    Bluetooth support for MediaTek devices ver 0.1

module: btrtl
description:    Bluetooth support for Realtek devices ver 0.1

module: btintel
description:    Bluetooth support for Intel devices ver 0.1

module: videodev
description:    Video4Linux2 core driver

module: iTCO_wdt
description:    Intel TCO WatchDog Timer Driver

module: iTCO_vendor_support
description:    Intel TCO Vendor Specific WatchDog Timer Driver Support

module: bluetooth
description:    Bluetooth Core ver 2.22

module: cfg80211
description:    wireless configuration support

module: mc
description:    Device node registration for media drivers

module: ecdh_generic
description:    ECDH generic algorithm

module: mei_hdcp
description:    MEI HDCP

module: mei_pxp
description:    MEI PXP

module: i2c_i801
description:    I801 SMBus driver

module: intel_rapl_msr
description:    Driver for Intel RAPL (Running Average Power Limit) control via MSR interface

module: ecc


module: i2c_smbus
description:    SMBus protocol extensions support

module: processor_thermal_device_pci_legacy
description:    Processor Thermal Reporting Device Driver

module: sr_mod
description:    SCSI cdrom (sr) driver

module: processor_thermal_device
description:    Processor Thermal Reporting Device Driver

module: r8169
description:    RealTek RTL-8169 Gigabit Ethernet driver

module: realtek
description:    Realtek PHY driver

module: cdrom


module: mdio_devres


module: libphy
description:    PHY library

module: intel_lpss_pci
description:    Intel LPSS PCI driver

module: libarc4


module: processor_thermal_rfim


module: intel_lpss
description:    Intel LPSS core driver

module: mei_me
description:    Intel(R) Management Engine Interface

module: processor_thermal_mbox


module: idma64
description:    iDMA64 core driver

module: mei
description:    Intel(R) Management Engine Interface

module: processor_thermal_rapl


module: intel_rapl_common
description:    Intel Runtime Average Power Limit (RAPL) common code

module: int340x_thermal_zone
description:    Intel INT340x common thermal zone handler

module: intel_soc_dts_iosf


module: intel_pch_thermal
description:    Intel PCH Thermal driver

module: snd_hda_codec_hdmi
description:    HDMI HD-audio codec

module: snd_ctl_led
description:    ALSA control interface to LED trigger code.

module: snd_hda_codec_realtek
description:    Realtek HD-audio codec

module: snd_hda_codec_generic
description:    Generic HD-audio codec parser

module: ledtrig_audio
description:    LED trigger for audio mute control

module: snd_hda_intel
description:    Intel HDA driver

module: snd_intel_dspcfg
description:    Intel DSP config driver

module: snd_intel_sdw_acpi
description:    Intel Soundwire ACPI helpers

module: snd_hda_codec
description:    HDA codec core

module: snd_hda_core
description:    HD-audio bus

module: snd_hwdep
description:    Hardware dependent layer

module: snd_intel8x0
description:    Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7012; Ali 5455

module: snd_ac97_codec
description:    Universal interface for Audio Codec '97

module: ac97_bus


module: snd_pcm
description:    Midlevel PCM code for ALSA.

module: binfmt_misc


module: nls_iso8859_1


module: nls_cp437


module: vfat
description:    VFAT filesystem support

module: fat


module: hid_uclogic


module: snd_seq
description:    Advanced Linux Sound Architecture sequencer.

module: snd_seq_device
description:    ALSA sequencer device management

module: snd_timer
description:    ALSA timer interface

module: snd
description:    Advanced Linux Sound Architecture driver for soundcards.

module: soundcore
description:    Core sound module

module: hid_multitouch
description:    HID multitouch panels

module: fuse
description:    Filesystem in Userspace

module: crypto_user
description:    Crypto userspace configuration API

module: ideapad_laptop
description:    IdeaPad ACPI Extras

module: loop


module: sparse_keymap
description:    Generic support for sparse keymaps

module: platform_profile


module: intel_wmi_thunderbolt
description:    Intel WMI Thunderbolt force power driver

module: wmi_bmof
description:    WMI embedded Binary MOF driver

module: dm_mod
description:    device-mapper driver

module: i2c_hid_acpi
description:    HID over I2C ACPI driver

module: i2c_hid
description:    HID over I2C core driver

module: pinctrl_cannonlake
description:    Intel Cannon Lake PCH pinctrl/GPIO driver

module: elan_i2c
description:    Elan I2C/SMBus Touchpad driver

module: wmi
description:    ACPI-WMI Mapping Driver

module: int3400_thermal
description:    INT3400 Thermal driver

module: acpi_thermal_rel
description:    Intel acpi thermal rel misc dev driver

module: acpi_tad


module: acpi_pad
description:    ACPI Processor Aggregator Driver

module: evdev
description:    Input driver event char devices

module: joydev
description:    Joystick device interfaces

module: i915
description:    Intel Graphics

module: i2c_algo_bit
description:    I2C-Bus bit-banging algorithm

module: drm_buddy
description:    DRM Buddy Allocator

module: video
description:    ACPI Video Driver

module: drm_dp_helper
description:    DRM DisplayPort helper

module: drm_kms_helper
description:    DRM KMS helper

module: syscopyarea
description:    Generic copyarea (sys-to-sys)

module: sysfillrect
description:    Generic fill rectangle (sys-to-sys)

module: sysimgblt
description:    1-bit/8-bit to 1-32 bit color expansion (sys-to-sys)

module: fb_sys_fops
description:    Generic file read (fb in system RAM)

module: cec
description:    Device node registration for cec drivers

module: ttm
description:    TTM memory manager subsystem (for DRM device)

module: drm
description:    DRM shared core routines
description:    DRM bridge infrastructure
description:    DRM panel infrastructure