How to load dell_smm_hwmon automatically at boot?

I created

echo ‘options dell-smm-hwmon ignore_dmi=1 restricted=0’ > /etc/modprobe.d/dell-smm-hwmon.conf

as boot, but I found that after rebooting the system the system still can’t detect the fan and I still need to load it manually.

  1. You can make these settings permanent by adding the following to /etc/modprobe.d/dell.conf:

options dell-smm-hwmon ignore_dmi=1

  1. And also by making the the HWMON_MODULES variable appears like so in /etc/conf.d/lm_sensors:

HWMON_MODULES=“coretemp dell-smm-hwmon”

https://wiki.archlinux.org/title/Dell_XPS_15_9560#Sensor_kernel_module_and_configuration

Perhaps the step 2 is needed as well?

I’ve read many articles that don’t mention part 2, I’ll give it a try, thanks for your help.

I tried the method in the wiki, but it still won’t start automatically. I don’t know what’s wrong.
By default there is no lm_sensors in /etc/conf.d/, so you need to create it manually.

1 Like

I wonder if adding the module to your mkinitcpio.conf would make any difference. But don’t quote me on that! I am speculating :blush:

I have a full backup and snapshot of my system, so if something goes wrong, I restore it and it’s very fast. :ok_hand:

So if you want to try, add the module inside the parenthesis in this line:

MODULES=( )

and the run

sudo mkinitcpio -P

@pebcak The first method works, but the order is wrong. You need to load the driver first and then run sensors-detect, then add configuration in /etc/modprobe.d/, then modify the parameters inside /etc/conf.d/lm_sensors, and after reboot you can detect the fan and speed.

1 Like

Thank you for your advice. :blush:

1 Like

Now the next step is to set the automatic speed control to follow the temperature.

Good luck!
:enos:

Thanks

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.