You are not logged in.

#1 2020-02-29 03:16:51

ArchLinuxUser1312
Member
Registered: 2020-02-03
Posts: 4

Kernel module parameter not changing

I am trying to change the kernel parameter "i8042.nomux" to 1 from 0. I looked on the wiki page for kernel parameters and found that for GRUB the way to modify the kernel parameters is to edit the file "/etc/default/grub" so that the line starting with "GRUB_CMDLINE_LINUX_DEFAULT" contains your desired configuration then type the command "grub-mkconfig -o /boot/grub/grub.cfg".
I followed these instructions, then rebooted.

The line in "/etc/default/grub" now looks like this:

GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=/dev/nvme0n1p3:volgroup0:allow-discards quiet i8042.nomux=1"

This is the output of "cat /proc/cmdline":

BOOT_IMAGE=/vmlinuz-linux-lts root=/dev/mapper/volgroup0-lv_root rw cryptdevice=/dev/nvme0n1p3:volgroup0:allow-discards quiet i8042.nomux=1

It looks like the kernel option i8042.nomux is still 0, though.

When I try to view kernel parameters with "sysctl -a" the i8042.nomux parameter doesn't show up.

This is the output of "ls -la /sys/module/i8042/parameters":

total 0
-rw------- 1 root root 4096 Feb 29 03:00 debug
-rw------- 1 root root 4096 Feb 29 03:00 unmask_kbd_data

As you can see the "nomux" parameter does not show up.

I am using kernel version 5.4.21-1-lts with GRUB.

Why isn't the kernel parameter changing? Is the method I'm using to change it incorrect? If not, how can I change the parameter?

Offline

#2 2020-02-29 08:09:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,056

Re: Kernel module parameter not changing

The parameter isn't exported to sys (last module_param value is "0")

You used one (of several) proper techniques to alter the parameter that will even apply on modules in the initrc, there's no reason to doubt the success.

Offline

#3 2020-02-29 14:10:41

latalante1
Member
Registered: 2018-08-30
Posts: 111

Re: Kernel module parameter not changing

Look for the message in dmesg.

Otherwise, the effect of i8042.nomux=1 will be the lack of this information:

i8042: Detected active multiplexing controller, rev 1.1

Offline

Board footer

Powered by FluxBB