Henri <[EMAIL PROTECTED]> writes:

> Concerning this sound chip, i had a pb with upgrade from 9.0 to
> 9.1rc2 : the driver was name snd-via8233 in 9.0, and it is named
> snd-82xx in rc2. The upgrade didn't made any change about this, so
> that sound does not work when booting on the new kernel. when
> lauching draksound, it says "error, the driver << >> is not in the
> list" !!!

right!

this should fix it (try it as "patch -p0 < /where/it/is/via.diff" in
/usr/lib/libDrakX):
Index: modules.pm
===================================================================
RCS file: /cooker/gi/perl-install/modules.pm,v
retrieving revision 1.309
diff -u -p -r1.309 modules.pm
--- modules.pm	24 Feb 2003 14:09:00 -0000	1.309
+++ modules.pm	13 Mar 2003 14:45:57 -0000
@@ -219,6 +219,12 @@ sub read_conf {
 	    push @{$c{$name}{probeall} ||= []}, delete $c{$alias}{alias};
 	}
     }
+    foreach my $driver qw(snd-via686 snd-via8233) {
+        $c{'snd-via82xx'}{above} = delete $c{$driver}{above} if $c{$driver}{above};
+    }
+    foreach my $alias (sort keys %c) {
+        $c{$alias}{alias} = 'snd-via82xx' if $c{$alias}{alias} =~ /^snd-via686|^snd-via8233/;
+    }
 
     \%c;
 }

Reply via email to