Older Dell Latitude 5580HQ 
Now fan quiet. Temp 129F RPM 2485

With issue machine noise and fan often showing 0 rpm?

Google AI tried a number of things, but this was final fix.

cat /usr/local/bin/dell-fan-loop.sh 
#!/usr/bin/env bash

# Lock out BIOS fan handling completely
/usr/bin/dell-bios-fan-control 0

# Target our verified controller node
HWMON_DIR="/sys/class/hwmon/hwmon6"

while true; do
    # Read the current CPU temperature in millidegrees Celsius and 
convert to whole degrees
    TEMP_RAW=$(cat /sys/class/hwmon/hwmon5/temp1_input)
    TEMP=$((TEMP_RAW / 1000))
    
    # Ensure manual control state stays activated
    echo 1 > "${HWMON_DIR}/pwm1_enable"

    if [ "$TEMP" -ge 65 ]; then
        # Blast the fan to maximum (4393 RPM) if past 65°C
        echo 255 > "${HWMON_DIR}/pwm1"
    elif [ "$TEMP" -ge 50 ]; then
        # Medium speed (approx 3685-3817 RPM) between 50°C and 
65°C
        echo 150 > "${HWMON_DIR}/pwm1"
    else
        # Low, quiet idle speed below 50°C
        echo 80 > "${HWMON_DIR}/pwm1"
    fi

    # Check the temperature every 3 seconds
    sleep 3
done

Have already ordered new fan (had a 5580 Fan, but it was from 
5580U not the 5580HQ) Google AI says issue between kernel and 
Dell. 

So, may not able to others. 
For Info.

+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)     
 mailto:[email protected]                            
 mailto:[email protected]
 mailto:[email protected]
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+



-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to