Open ruhatch opened 1 year ago
What happens if you execute i8kctl fan1 2
manually?
It tries to ramp up the fan then drops back down
It doesn't seem like even the SET_FAN
and GET_FAN
codes are working on there, because when I run dellfan 2
it just says:
sudo dellfan 2
Setting speed to: 2
Speed is now at: 163
It doesn't seem to affect the current speed and is reporting inaccurately.
Any ideas how I might be able to adjust the codes? I was trying the probecodes()
function, but that's only searching for the disable method and relies on the set and get working already!
You have to execute dellfan 2 1
.
Also, could you send me the output of acpidump
on your machine?
Ok, it seems dellfan
is somehow broken. Does dell-bios-fan-control
print any error messages or does it work? Because according to the arch wiki entry, dell-bios-fan-control
should enable manual fan control on your machine.
Did you make sure to disable secure boot before running dell-bios-fan-control
?
Maybe a BIOS update (if available) could help.
dell-bios-fan-control
doesn't give any errors, so claims to be succeeding, but the results suggest otherwise. I've looked through the code of both and dell-bios-fan-control
is basically a simplified version of dellfan
anyway, so I don't see how dell-bios-fan-control
could work while dellfan
doesn't.
Yes, I'm secure booted. I'll try a BIOS update and let you know. In the meantime, do you have an hints on debugging why the BIOS call might not be getting through?
Secure boot will prevent both tools from working, try to disable secure boot and test if one of the two works.
Sorry, I meant I've disabled secure boot
Are you running a 32 bit or a 64 bit operating system? Because both tools will likely not work when compiled as 32 bit programs (if they compile at all).
I'm on a 64bit system.
I upgraded the BIOS and reset it to factory and still no luck. Can you think of a simple test to see if any of the BIOS codes in dellfan
are working? Are there any known codes that I can test it with? How likely is it that the assembly code for sending the BIOS calls is broken or outdated?
Can you send me the output of dmidecode
on your machine?
I can then give you a modified version of the dell-smm-hwmon
driver which would whitelist your machine for disabling BIOS fan control. If the driver itself cannot do this, then nothing else can.
Can you build the kernel module inside dell-smm-hwmon.zip with make
and load it with sudo insmod dell-smm-hwmon.ko
(unload dell-smm-hwmon
first)?
Are you now able to control the fans after executing i8kctl mode1 manual
?
Any progress?
Hi @Wer-Wolf,
Thank you for creating this fork of i8kutils!
I'm trying to use in on my XPS 15 9550 and I've got everything installed. I want to make sure it was working by using a config that should have the fans running on full power at all times. This doesn't seem to be working though, and instead cycles between high and nothing. I'm guessing that it's because the BIOS is still controlling the fans. I am running 'dell-bios-fan-control 0' before running the service, but I'm not using this line
ExecStartPre=/usr/bin/i8kctl mode1 manual
, because it didn't work on my system.The config is:
Any ideas?