Note that with old cpu (Piv q9550) the cpufreq subdir does not exist (with or without cpufreq* installed). So checking that path will always fails.
ls /sys/devices/system/cpu/cpu0/ cache driver microcode subsystem uevent crash_notes firmware_node node0 thermal_throttle crash_notes_size hotplug power topology
Note that with old cpu (Piv q9550) the cpufreq subdir does not exist (with or without cpufreq* installed).
So checking that path will always fails.
ls /sys/devices/ system/ cpu/cpu0/
cache driver microcode subsystem uevent
crash_notes firmware_node node0 thermal_throttle
crash_notes_size hotplug power topology