kevinlekiller / amdctl

Set P-State voltages and clock speeds on recent AMD CPUs on Linux.
GNU General Public License v3.0
243 stars 22 forks source link

AMD Kabini doesn't pass /proc/cpuinfo sanity check #5

Closed huell3 closed 8 years ago

huell3 commented 8 years ago

Starting amdctl on an AMD 5350 fails, even before showing usage, as the check at the end of gathering info from /proc/cpuinfo enumerates as false, as this CPU indeed has a model number of zero(well, at least mine does).

to verify, I commented it's line 359-361 out and it shows somewhat okay info in the pstates dump.

kevinlekiller commented 8 years ago

That's interesting, I hadn't thought of that, I'll change the default to -1, thanks

huell3 commented 8 years ago

Looks good, thank you.