Skip to main content
Bounty Ended with 150 reputation awarded by shivams
added 12 characters in body formatting, grammar
Source Link
tukan
  • 5.7k
  • 8
  • 20

Since now is theThe question, how now stands on "how to disable a kernel module.module" I'll answer it:

  • You will write into file - /etc/modprobe.d/blacklist.conf

First option:

  • type on separate line blacklist hid_sensor_accel_3d

Second option:

If the blacklisted module still remains after the reboot then you need to do a "fake" install of the module. You can check it with lsmod.

Second option:

  • type on separate line install hid_sensor_accel_3d /bin/true

Next for both options do:

  • regenerate initramfs - update-initramfs -u
  • reboot

Since now is the question, how to disable a kernel module.

  • You will write into file - /etc/modprobe.d/blacklist.conf

First option:

  • type on separate line blacklist hid_sensor_accel_3d

If the blacklisted module still remains after the reboot then you need to do a "fake" install of the module. You can check it with lsmod.

Second option:

  • type on separate line install hid_sensor_accel_3d /bin/true

Next for both options do:

  • regenerate initramfs - update-initramfs -u
  • reboot

The question now stands on "how to disable a kernel module" I'll answer it:

  • You will write into file - /etc/modprobe.d/blacklist.conf

First option:

  • type on separate line blacklist hid_sensor_accel_3d

Second option:

If the blacklisted module still remains after the reboot then you need to do a "fake" install of the module. You can check it with lsmod.

  • type on separate line install hid_sensor_accel_3d /bin/true

Next for both options do:

  • regenerate initramfs - update-initramfs -u
  • reboot
Source Link
tukan
  • 5.7k
  • 8
  • 20

Since now is the question, how to disable a kernel module.

  • You will write into file - /etc/modprobe.d/blacklist.conf

First option:

  • type on separate line blacklist hid_sensor_accel_3d

If the blacklisted module still remains after the reboot then you need to do a "fake" install of the module. You can check it with lsmod.

Second option:

  • type on separate line install hid_sensor_accel_3d /bin/true

Next for both options do:

  • regenerate initramfs - update-initramfs -u
  • reboot