use the real name of cpu
Kay Sievers
kay.sievers at vrfy.org
Mon Apr 17 08:12:28 PDT 2006
On Sun, Apr 16, 2006 at 01:37:10PM -0400, David Zeuthen wrote:
> On Fri, 2006-04-07 at 17:15 +0200, Kay Sievers wrote:
> > Patch from: Jim Krehl <jimmyk at novell.com> to export the real name of the
> > cpu instead of just "Processor".
>
> <snip>
>
> > + if (g_file_get_contents ("/proc/cpuinfo", & contents, NULL, & error)) {
>
> IIRC /proc/cpuinfo looks different depending on what processor you have,
> but I guess this is fine for now as we can always add more checks /
> replace it with something from sysfs in the future. Since it's purely
> cosmetic at this point it's OK with me to do this for now.
A sysfs export was in the works a while ago but wasn't finished, it needs
a bit of work until we can merge that. So I've comitted this for now, which
looks very nice in the device manager. :)
Thanks,
Kay
More information about the hal
mailing list