All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carsten Koch <Carsten.Koch@icem.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: optical SPDIF output on Abit NF7 nforce2 main board. (Summary)
Date: Sat, 27 Sep 2003 20:00:09 +0200	[thread overview]
Message-ID: <3F75D029.60502@icem.com> (raw)
In-Reply-To: <3F53B38B.6070307@icem.com>

Hi,

here is a summary of my adventures with Alsa sound through SPDIF
on my Abit NF7 nforce2 main board.

First I want to thank Takashi and James for their friendly and
sedulous help.
Without them, I would have gotten no sound to work through the SPDIF
output at all.

In the end, we got almost everything to work, except for the loop-through
from SPDIF in to SPDIF out. Unfortunately, this is a requirement
for me, so I gave up and now installed an additional C-Media PCI CMI8738
sound card on my PC, which works perfectly right out of the box.

In particular, with the C-Media PCI CMI8738, alsamixer provides me
with a "IEC958 Loop" switch, which I need to loop the digital sound
output of my DVB card to the sound card output which is connected
to my HiFi equipment.

Other things that I find *much* user-friendlier about Alsa with the
CMI8738 compared to Alsa with the on-board nforce 2 sound include:

*  The CMI8738 default device (hw:0.0) plays through both the
    analog output and the SPDIF output at the same time. No need
    to tweak defaults through a .asoundrc file.
    The nforce2 default device (hw:0.0) only plays through the
    analog output.

*  All programs I tested (mpg123, alsaplayer, mpg321, kde desktop
    sound) simply worked with the CMI8738. No tweaking, no special
    parameters, no quirks.
    With nforce2 sound, I needed a different tweak for each
    of them (if one was available at all) and some were causing
    strange effects. See the previous mails in this thread.

So far my general remarks from a user perspective.

 From a technical perspective, the nforce2 provides the following 8 IEC958 controls:

% amixer controls | fgrep IEC958
numid=50,iface=MIXER,name='IEC958 Input Monitor'
numid=36,iface=MIXER,name='IEC958 Playback Con Mask'
numid=37,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=40,iface=MIXER,name='IEC958 Playback AC97-SPSA'
numid=38,iface=MIXER,name='IEC958 Playback Default'
numid=39,iface=MIXER,name='IEC958 Playback Switch'
numid=48,iface=MIXER,name='IEC958 Capture Switch'
numid=49,iface=MIXER,name='Analog to IEC958 Output'

While the CMI8738 provides the following 11 IEC958 controls:
% amixer controls | fgrep IEC958
numid=30,iface=MIXER,name='IEC958 5V'
numid=29,iface=MIXER,name='IEC958 Copyright'
numid=32,iface=MIXER,name='IEC958 In Monitor'
numid=37,iface=MIXER,name='IEC958 In Phase Inverse'
numid=38,iface=MIXER,name='IEC958 In Select'
numid=28,iface=MIXER,name='IEC958 In Valid'
numid=31,iface=MIXER,name='IEC958 Loop'
numid=36,iface=MIXER,name='IEC958 Mix Analog'
numid=34,iface=MIXER,name='IEC958 Playback Con Mask',device=2
numid=27,iface=MIXER,name='IEC958 Output Switch'
numid=33,iface=PCM,name='IEC958 Playback Default',device=2

note in particular that the IEC958 Loop is missing on the nforce2.
Also, on the CMI8738, SPDIF out is available through hw:0,0 (the default
for most programs), while the nforce2 only gave me access to the
SPDIF out via hw:0,1 - and that was only 48kHz (a hardware attribute of the
chip), so I had to use plughw:0,1 which caused other problems.

So, for now my problem is solved by installing an additional sound card -
unfortunately at the expense of a precious PCI slot. :-(

Any work on Alsa that will make the nforce2 driver as good as the cmipci
driver will be highly appreciated.

Cheers,

Carsten.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  parent reply	other threads:[~2003-09-27 18:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-01 11:28 optical SPDIF output on Abit NF7 nforce2 main board Carsten Koch
2003-09-01 12:56 ` Takashi Iwai
2003-09-01 13:42   ` James Courtier-Dutton
2003-09-01 13:51     ` Takashi Iwai
2003-09-01 13:45   ` Carsten Koch
2003-09-01 14:11     ` Takashi Iwai
2003-09-01 14:40       ` Carsten Koch
2003-09-01 15:17         ` Takashi Iwai
2003-09-01 15:58           ` Carsten Koch
2003-09-01 16:39             ` Takashi Iwai
2003-09-01 17:57               ` Carsten Koch
2003-09-01 18:40                 ` Takashi Iwai
2003-09-01 19:13                   ` Carsten Koch
2003-09-01 21:00                     ` Carsten Koch
2003-09-02 13:06                       ` Takashi Iwai
2003-09-27 18:00                       ` Carsten Koch [this message]
2003-09-28 19:41                         ` optical SPDIF output on Abit NF7 nforce2 main board. (Summary) Carsten Koch
2003-09-28 20:31                           ` James Courtier-Dutton
2003-09-28 20:41                           ` optical SPDIF output on Abit NF7 nforce2 main board.(Summary) Gerald Raaf
2003-09-02 13:21                     ` optical SPDIF output on Abit NF7 nforce2 main board Takashi Iwai
2003-09-02 20:31                       ` Carsten Koch
2003-09-03  8:35                         ` 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=3F75D029.60502@icem.com \
    --to=carsten.koch@icem.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.