d79bae1ad3
sensors-detect if i2c bus numbering is not sequential. - lm_sensors-r5883-W83667HG-B-is-supported.patch: The W83667HG-B is supported by the w83627ehf driver since kernel 2.6.36. - lm_sensors-r5886-default-config-W83627THF.patch: Add a default configuration section for the Winbond W83627THF. - lm_sensors-r5887-typo-in-sensors-conf-5.patch: Fixed typo in lib/sensors.conf.5. - lm_sensors-r5889-default-config-SCH5127.patch: Add a default configuration section for the SMSC SCH5127. - lm_sensors-r5905-fix-coretemp-detection.patch: Implement universal detection for Intel digital thermal sensors. OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=32
19 lines
643 B
Diff
19 lines
643 B
Diff
Upstream changeset: r5870
|
|
Fix error seen in sensors-detect if i2c bus numbering is not
|
|
sequential.
|
|
|
|
---
|
|
prog/detect/sensors-detect | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- lm_sensors-3.2.0.orig/prog/detect/sensors-detect
|
|
+++ lm_sensors-3.2.0/prog/detect/sensors-detect
|
|
@@ -5933,6 +5933,7 @@ sub generate_modprobes
|
|
# the adapter drivers so that the numbers will be the same. If not, then
|
|
# we only load the adapter drivers which are useful.
|
|
foreach $adap (@i2c_adapters) {
|
|
+ next unless defined $adap;
|
|
next if $adap->{autoload};
|
|
next if $adap->{driver} eq 'UNKNOWN';
|
|
next if not defined $configfile and not $adap->{used};
|