sensors/lm_sensors-r5992-print-DMI-product-version.patch
Jean Delvare 028107a3c1 - Update to lm_sensors 3.3.1
* Detection of new devices
- lm_sensors-3.1.1-no-ipmisensors-driver.patch: Removed, obsolete.
- lm_sensors-r5991-improve-filtering-of-fake-DMI-data.patch,
  lm_sensors-r5992-print-DMI-product-version.patch: Improve DMI
  product identification.

OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=39
2011-07-22 17:03:35 +00:00

23 lines
589 B
Diff

---
prog/detect/sensors-detect | 2 ++
1 file changed, 2 insertions(+)
--- lm_sensors-3.3.1.orig/prog/detect/sensors-detect
+++ lm_sensors-3.3.1/prog/detect/sensors-detect
@@ -2770,6 +2770,7 @@ sub initialize_dmi_data
'system manufacturer' => 1,
'system product name' => 1,
'system name' => 1,
+ 'system version' => 1,
);
my $dmi_id_dir;
@@ -2814,6 +2815,7 @@ sub print_dmi_summary
if (defined $system) {
print "# System: $system";
+ print " [$dmi{product_version}]" if defined $dmi{product_version};
print " (laptop)" if (is_laptop());
print "\n";
}