On Mon, 11 Feb 2008, Bernhard Praschinger wrote: > I have my new MAC beside me, and cpuinfo from the uitls directory tells
Congratulations! > me that: > vendor_id : GenuineIntel > cpu family : 6 the cpu family value looks OK. > model : 7 Hmmm, that seems low and is a Pentium-3 as you have noticed. My Core2 notebook says: ./cpuinfo vendor_id : GenuineIntel cpu family : 6 model : 15 stepping : 6 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cflsh ds acpi mmx fxsr sse sse2 ss tm cpu MHz : 0.000 model name : Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz > So I have a little problem because the script thinks that I only have a > Pentium 3 running at 2.8 GHz, well the script does not know that I have That will work. > I have Suse 10.3 installed in a virtual machine on the OSX and there > /proc/cpu tells me that I have: > cpu family 6 > model 23 > stepping 8 That's interesting. 23 would seem to be more reasonable than 7 > Does anyone know how I change the cpuinfo program so I get the correct > value for the model ? The cpu probe logic in cpuinfo was borrowed from MPlayer. Take a look at how MPlayer or ffmpeg probes for the cpu type. The 'cpuid' instruction was used, as I recall, to get the info - I would have thought that would work the same for all Intel cpus. Cheers, Steven ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users