I have Debian 10 installed on my Acer Aspire 5315. I boot, the fan doesn't work; I reboot, it works perfectly. So I always have to boot twice for the fan to work. In my attempts to solve this problem, I have installed tlp, acpi, thermald, following recommendations from this site:
https://itsfoss.com/reduce-overheating-laptops-linux/
but it doesn't work.
While the bootloader is on, the fan is working all right; it is at the exact moment when the bootloader hands over control to the kernel that the fan stops. On the first boot, the kernel fails to turn on the fan; after reboot, then the kernel turns on the fan when it takes over from the bootloader. This is a mystery that I cannot figure out how to solve.
Can anybody please help me? I would be immensely grateful.