I have a device that uses Qualcomm Atheros drivers that I have reinstalled. In order to use the device properly, I need to load the modules with options:
sudo modprobe -r ath10k_pci # remove module sudo modprobe -r ath10k_core # remove module sudo modprobe ath10k_core rawmode=1 cryptmode=1 sudo modprobe ath10k_pci I can validate that the modules have been properly loaded by using the command systool -v -m ath10k_core:
Module = "ath10k_core" Attributes: coresize = "503808" initsize = "0" initstate = "live" refcnt = "1" srcversion = "8846560394C80047DEEC13F" taint = "" uevent = <store method only> Parameters: coredump_mask = "3" cryptmode = "1" debug_mask = "0" fw_diag_log = "N" rawmode = "Y" skip_otp = "N" uart_print = "N" Sections: Now I would like to automate this at boot time. I used this post: systemd: automate modprobe command at boot time
and I created a file /etc/modules-load.d/ath10k_core.conf with:
options ath10k_core rawmode=1 cryptmode=1 But when I boot, the result of systool -v -m ath10k_core is:
Module = "ath10k_core" Attributes: coresize = "503808" initsize = "0" initstate = "live" refcnt = "1" srcversion = "8846560394C80047DEEC13F" taint = "" uevent = <store method only> Parameters: coredump_mask = "3" cryptmode = "0" debug_mask = "0" fw_diag_log = "N" rawmode = "N" skip_otp = "N" uart_print = "N" Sections: So the module is not loaded properly and I need to run it manually.
The result of the command journalctl -u systemd-modules-load.service is:
déc. 07 17:07:18 ubuntu-machine systemd-modules-load[263]: Failed to find module 'options ath10k_core rawmode=1 cryptmode=1' I'm running Ubuntu 20.04. What is wrong with my configuration?