On Thu, Aug 30, 2012 at 02:48:33PM -0300, Marcos Souza wrote: > Hi people, > > I'm changing an application to get the min and max frequency of a > processor. The device is using cpufreq, and it will show the user the > min and max frequency that we can overclock. > > There is a way to get these values, instead of reading the /sys files, > or is this the solution?
What's wrong with using: /sys/devices/system/cpu/cpu<N>/cpufreq/scaling_available_frequencies ? -- Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/