|
opendir MODDIR, "/lib/modules/2.4.20/kernel/drivers/sound/";
while($mod = readdir MODDIR){
next if $mod =~ /^\.{1,2}$/;
$mod =~ s/\.o$//;
system "modprobe $mod > /dev/null 2>&1";
last if -e "/dev/sound/dsp";
system "rmmod $mod > /dev/null 2>&1";
}
closedir MODDIR;
据介绍是在加载audio card的驱动模块,,
哪位能详细解释一下,越细致越好,最好能让我外婆也听的懂 |
|