Changeset 5936

Show
Ignore:
Timestamp:
02/27/11 13:08:43 (15 months ago)
Author:
khali
Message:

Count DMI chassis type 8 as a laptop. Reported by Francis Moreau.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5935 r5936  
    3131                  Add detection of EMC6D103S 
    3232                  Add detection of National Semiconductor LM75A 
     33                  Count DMI chassis type 8 as a laptop 
    3334 
    34353.2.0 (2010-10-10) 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r5935 r5936  
    27312731{ 
    27322732        return 0 unless $dmi{chassis_type}; 
    2733         return 1 if $dmi{chassis_type} =~ m/(Laptop|Notebook|Hand Held)/i; 
    2734         return 1 if $dmi{chassis_type} =~ m/^(9|10|11|14)$/; 
     2733        return 1 if $dmi{chassis_type} =~ m/(Portable|Laptop|Notebook|Hand Held)/i; 
     2734        return 1 if $dmi{chassis_type} =~ m/^(8|9|10|11|14)$/; 
    27352735        return 0; 
    27362736}