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.
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.
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.
You have to add a configuration file in /etc/modprobe.d/
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.
man modprobe
command:
This option (-r or --remove) causes modprobe to remove rather than insert a module. If the modules it depends on are also unused, modprobe will try to remove them too.
– LeRieur
Nov 07 '14 at 21:54
I will also mark your answer as the correct, even if chili555 was right because you explained and you placed links to documentation. kudos for both :)
– Fernando Andrade Nov 07 '14 at 22:19