mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-02 15:25:38 +00:00
Print DMI system/product version if available. On some laptops, the
actual model name is in this string. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5992 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -4,6 +4,7 @@ lm-sensors CHANGES file
|
||||
SVN HEAD
|
||||
sensors-detect: Stop calling for PIIX5 SMBus testers
|
||||
Improve filtering of fake DMI data
|
||||
Print DMI system/product version if available
|
||||
|
||||
3.3.1 (2011-07-21)
|
||||
isadump: Add support for word (16-bit) and long (32-bit) reads
|
||||
|
@@ -2767,6 +2767,7 @@ sub initialize_dmi_data
|
||||
'system manufacturer' => 1,
|
||||
'system product name' => 1,
|
||||
'system name' => 1,
|
||||
'system version' => 1,
|
||||
);
|
||||
my $dmi_id_dir;
|
||||
|
||||
@@ -2811,6 +2812,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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user