diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index ea00b29d..d6f88ca4 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -4822,7 +4822,8 @@ sub generate_modprobes } elsif ($chip->{driver} eq "use-isa-instead") { $modprobes .= "# no I2C driver for $chip->{detected}[0]{chipname} use ISA driver instead\n"; } elsif ($chip->{driver} ne "not-a-sensor") { - open(local *INPUTFILE, "modprobe -l $chip->{driver} 2>/dev/null |"); + # need the * for 2.4 kernels, won't necessarily be an exact match + open(local *INPUTFILE, "modprobe -l $chip->{driver}\\* 2>/dev/null |"); local $_; my $modulefound = 0; while () {