From: Paul Vojta <vojta@Math.Berkeley.EDU>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: another device for opl3sa2
Date: Tue, 3 Jul 2007 19:24:23 -0700 [thread overview]
Message-ID: <20070704022423.GA2012@math.berkeley.edu> (raw)
In-Reply-To: <s5hfy45ajk1.wl%tiwai@suse.de>
On Tue, Jul 03, 2007 at 12:05:50PM +0200, Takashi Iwai wrote:
> At Mon, 2 Jul 2007 17:27:39 -0700,
> Paul Vojta wrote:
> >
> > 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 */
> > };
> >
>
> Thanks, could you give your sign-off?
Description:
Add Neomagic MagicWave 3D to list of supported devices for opl3sa2
driver.
Signed-off by: Paul Vojta <vojta at math.berkeley.edu>
> > (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.)
>
> What do you mean "doesn't work"? The module wasn't loaded or
> malfunctional?
The driver was malfunctional the first time after reboot or rmmod+modprobe.
aplay would give all appearances of working, and waited the proper amount
of time, but did not produce sound. It was as if the sound was played at
volume zero.
Second and subsequent invocations of aplay worked properly.
> > I don't know whether snd_opl3sa2_pnpbiosids[] should also be changed.
>
> The table you changed is for ISA-PnP, while *_pnpbiosids[] is for PnP
> BIOS. There are slight differences. And, "NMX2210" is already
> there.
Oops, sorry.
> > 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.
>
> Patch please? Also, it'd be better to fix ALSA-Configuration.txt,
> too...
ALSA-Configuration.txt already mentions opl3sa2.
For nm256.c:
Description:
Adds mention of opl3sa2 driver to a diagnostic message for
NeoMagic nm256 driver.
Signed-off by: Paul Vojta <vojta at math.berkeley.edu>
--- a/sound/pci/nm256/nm256.c 2007-06-11 11:37:06.000000000 -0700
+++ b/sound/pci/nm256/nm256.c 2007-07-03 13:00:11.000000000 -0700
@@ -1533,7 +1533,8 @@
printk(KERN_ERR " force the driver to load by "
"passing in the module parameter\n");
printk(KERN_ERR " force_ac97=1\n");
- printk(KERN_ERR " or try sb16 or cs423x drivers instead.\n");
+ printk(KERN_ERR " or try sb16, opl3sa2, or "
+ "cs423x drivers instead.\n");
err = -ENXIO;
goto __error;
}
Sincerely,
Paul Vojta
vojta@math.berkeley.edu
next prev parent reply other threads:[~2007-07-04 2:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-03 0:27 another device for opl3sa2 Paul Vojta
2007-07-03 10:05 ` Takashi Iwai
2007-07-04 2:24 ` Paul Vojta [this message]
2007-07-04 8:53 ` Takashi Iwai
2007-07-05 8:03 ` Paul Vojta
2007-07-05 14:38 ` Takashi Iwai
2007-07-06 7:41 ` Paul Vojta
2007-07-06 9:45 ` Takashi Iwai
2007-07-08 8:02 ` Paul Vojta
2007-07-09 12:42 ` Takashi Iwai
2007-07-09 18:14 ` Paul Vojta
2007-07-27 7:55 ` Paul Vojta
2007-07-27 10:22 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070704022423.GA2012@math.berkeley.edu \
--to=vojta@math.berkeley.edu \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.