diff --git a/CHANGES b/CHANGES index a8feee06..993c8ce5 100644 --- a/CHANGES +++ b/CHANGES @@ -28,7 +28,7 @@ SVN-HEAD The SMSC LPC47M233 isn't currently supported Support upcoming sysfs path to i2c adapters Rename the modprobe configuration file to lm_sensors.conf - Only report AMD Family 10h CPU with model > 2 + Only report AMD Family 10h CPU with working sensors Add detection for AMD Family 11h thermal sensors Add detection for Intel Atom thermal sensors Add detection for National Semiconductor LM73 diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 07a027b6..4e538130 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -5396,10 +5396,13 @@ sub fam10h_pci_detect next unless $probecpu->{vendor_id} eq 'AuthenticAMD' && $probecpu->{'cpu family'} == 0x10; - next if $probecpu->{model} == 2; # DR-B* - next if $probecpu->{model} == 4 && - $probecpu->{stepping} <= 2; # RB-C2 + next if $probecpu->{model} < 4; # DR-B* next if $probecpu->{model} == 8; # HY-D0 + if ($probecpu->{model} == 4) { # RB-C* + my @dram_cfg = split /\n/, `setpci -d 1022:1202 94.L 2>/dev/null`; + next unless @dram_cfg >= 1; + next unless hex($dram_cfg[0]) & 0x00000100; # DDR3 + } return 9; }