- psensor = psensor_create(id, label, type, values_max_length);
+ if (!strcmp(chip->prefix, "coretemp"))
+ cname = strdup(_("Intel CPU"));
+ else if (!strcmp(chip->prefix, "k10temp")
+ || !strcmp(chip->prefix, "k8temp")
+ || !strcmp(chip->prefix, "fam15h_power"))
+ cname = strdup(_("AMD CPU"));
+ else if (!strcmp(chip->prefix, "nouveau"))
+ cname = strdup(_("NVIDIA GPU"));
+ else if (!strcmp(chip->prefix, "via-cputemp"))
+ cname = strdup(_("VIA CPU"));
+ else
+ cname = strdup(chip->prefix);
+
+ psensor = psensor_create(id, label, cname, type, values_max_length);