diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 5f270d2d..5c771485 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -2784,6 +2784,10 @@ use vars qw(@cpu_ids); name => "AMD Family 16h power sensors", driver => "fam15h_power", detect => sub { amd_pci_detect('1534', '1584') }, + }, { + name => "Hygon Family 18h thermal sensors", + driver => "k10temp", + detect => sub { hygon_pci_detect('1463') }, }, { name => "Intel digital thermal sensor", driver => "coretemp", @@ -7048,6 +7052,15 @@ sub amd_pci_detect return undef; } +sub hygon_pci_detect +{ + my $dev_id; + while (defined($dev_id = shift)) { + return 9 if exists $pci_list{"1d94:$dev_id"}; + } + return undef; +} + sub fam10h_pci_detect { return unless exists $pci_list{'1022:1203'};