From: Takashi Iwai <tiwai@suse.de>
To: Peter Chapman <x6pe9syq02@sneakemail.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: module_init fails with OEM SoundBlaster Live!
Date: Mon, 03 Nov 2003 19:12:47 +0100 [thread overview]
Message-ID: <s5hznfdtj6o.wl@alsa2.suse.de> (raw)
In-Reply-To: <20031103155606.GA17691@gondolin.homeip.net>
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
At Mon, 3 Nov 2003 15:56:06 +0000,
Peter Chapman wrote:
>
> On Mon, Nov 03, 2003 at 03:45:52PM +0100, Takashi Iwai tiwai-at-suse.de |alsa-devel| wrote:
> > At Mon, 3 Nov 2003 13:20:12 +0000,
> > Peter Chapman wrote:
> > >
> > > Is this what you mean?
> > > $ cat /proc/asound/card0/codec97#0/ac97#0-0
> > > 0-0/0: Cirrus Logic CS4297A rev 4
> > >
> > > Capabilities : -headphone out-
> > > DAC resolution : 20-bit
> > > ADC resolution : 18-bit
> > > 3D enhancement : Crystal Semi 3D Stereo Enhancement
> > >
> > > Current setup
> > > Mic gain : +0dB [+0dB]
> > > POP path : pre 3D
> > > Sim. stereo : off
> > > 3D enhancement : off
> > > Loudness : off
> > > Mono output : MIX
> > > Mic select : Mic1
> > > ADC/DAC loopback : off
> > > Extended ID : codec=0 rev=0 AMAP DSA=0
> > > Extended status :
> > > SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
> > >
> > > I can't find any mention of IEC958, but then I don't really know what
> > > I'm doing! I can check the chips on the card itself when I get home, if
> > > that will help.
> >
> > IEC958 is aka SPDIF. you see it in the above too :)
> >
> > does the board have spdif i/o?
> >
> >
> > Takashi
>
> Oh, I see! :) Yes, there is an spdif connector on the card, however I've
> never managed to make it work, either under Linux or Windows. Not even
> using Dell's own Windows drivers.
> I've always suspected that I had a crippled version of the card from
> Dell, but maybe it's just defective?
no idea. but you can try the attached patch.
it disables the ac97's spdif control but it still keeps the emu10k1's
one. if you have an spdif receiver, give it a try.
Takashi
[-- Attachment #2: dell-emu10k1-fix.dif --]
[-- Type: application/octet-stream, Size: 841 bytes --]
Index: alsa-kernel/pci/emu10k1/emumixer.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/emu10k1/emumixer.c,v
retrieving revision 1.16
diff -u -r1.16 emumixer.c
--- alsa-kernel/pci/emu10k1/emumixer.c 23 Oct 2003 17:00:15 -0000 1.16
+++ alsa-kernel/pci/emu10k1/emumixer.c 3 Nov 2003 18:09:48 -0000
@@ -540,6 +540,11 @@
return -ENOMEM;
if ((err = snd_ctl_add(card, kctl)))
return err;
+ if ((kctl = ctl_find(card, SNDRV_CTL_NAME_IEC958("",PLAYBACK,DEFAULT))) != NULL) {
+ /* already defined by ac97, remove it */
+ /* FIXME: or do we need both controls? */
+ remove_ctl(card, SNDRV_CTL_NAME_IEC958("",PLAYBACK,DEFAULT));
+ }
if ((kctl = snd_ctl_new1(&snd_emu10k1_spdif_control, emu)) == NULL)
return -ENOMEM;
if ((err = snd_ctl_add(card, kctl)))
next prev parent reply other threads:[~2003-11-03 18:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-02 11:46 module_init fails with OEM SoundBlaster Live! Peter Chapman
2003-11-03 12:20 ` Takashi Iwai
2003-11-03 13:20 ` Peter Chapman
2003-11-03 14:45 ` Takashi Iwai
2003-11-03 15:56 ` Peter Chapman
2003-11-03 18:12 ` Takashi Iwai [this message]
2003-11-03 21:40 ` Peter Chapman
2003-11-04 15:22 ` Takashi Iwai
2003-11-03 16:28 ` James Courtier-Dutton
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=s5hznfdtj6o.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=x6pe9syq02@sneakemail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox