another device for opl3sa2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Folks:

Here's a patch to add support for an (admittedly old) device:


--- linux-2.6.21.5/sound/isa/opl3sa2.c.orig	2007-06-11 11:37:06.000000000 -0700
+++ linux-2.6.21.5/sound/isa/opl3sa2.c	2007-06-30 23:29:43.000000000 -0700
@@ -165,6 +165,8 @@
 	{ .id = "YMH0801", .devs = { { "YMH0021" } } },
 	/* NeoMagic MagicWave 3DX */
 	{ .id = "NMX2200", .devs = { { "YMH2210" } } },
+	/* NeoMagic MagicWave 3D */
+	{ .id = "NMX2200", .devs = { { "NMX2210" } } },
 	/* --- */
 	{ .id = "" }	/* end */
 };


(There may be a bug in the initialization code, though -- it doesn't work
the first time after booting, just the second and subsequent times.
For example, the first time I try running "aplay file.wav" it'll sit there
silently instead of playing the file, but if I type "aplay file.wav" again
then it'll play.)

I don't know whether snd_opl3sa2_pnpbiosids[] should also be changed.

Also, why does nm256.c direct users to the cs423x drivers and not opl3sa2?
If it had mentioned opl3sa2 it would have saved me many hours.

Sincerely,


Paul Vojta
vojta@xxxxxxxxxxxxxxxxx
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux