Add cpufreq-style commands, and detection logic. Needs some testing love.