2

So I have to use a command every time I boot my laptop in order to my wireless to work.

the command is:

sudo modprobe -r acer-wmi

I found that this is a common type of question but I didn't find a pattern in the answers.

Braiam
  • 69,112

2 Answers2

5

I suggest you blacklist the module so it never loads at all:

sudo -i
echo "blacklist acer-wmi"  >>  /etc/modprobe.d/blacklist.conf
exit

Reboot and test.

chili555
  • 61,330
2

You have to add a configuration file in /etc/modprobe.d/

Blacklisting modules

In your case since you don't want to load acer-wmi module automatically, you have to blacklist it.

First try this command:

sudo sh -c 'echo blacklist acer-wmi >> /etc/modprobe.d/blacklist.conf'

In the case where the module is still being load, it means that there is another module that depends on acer-wmi. So a workaround is to use:

sudo sh -c 'echo install acer-wmi /bin/false >> /etc/modprobe.d/blacklist.conf'

Sources: Ubuntu Wiki, Arch Wiki

Edit: Rectification according to chili555's answer.

David Foerster
  • 36,890
  • 56
  • 97
  • 151