Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0001495]: nForce2 IEC958 output is working when IEC958 control is muted.
Date: Mon, 16 Jan 2006 17:11:02 +0100	[thread overview]
Message-ID: <97526da3e6032e10e10e084eccd538a0@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1495> 
======================================================================
Reported By:                damscot
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1495
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               Gentoo
Kernel Version:             2.6.12-gentoo-r1
======================================================================
Date Submitted:             10-24-2005 00:16 CEST
Last Modified:              01-16-2006 17:11 CET
======================================================================
Summary:                    nForce2 IEC958 output is working when IEC958 control
is muted.
Description: 
Good evening,

I'am using my MSI MEGA 180 under linux.
I'am using ALSA 1.0.9 Embedded inside the Linux ALSA kernel system.

***************************
*** USEFULL INFORMATION ***
***************************

<< lspci
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97
Audio Controler (MCP) (rev a1)
        Subsystem: Micro-Star International Co., Ltd.: Unknown device
7960
        Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 22
        I/O ports at d400 [size=256]
        I/O ports at d800 [size=128]
        Memory at e1087000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2


<< cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9rc2  (Thu Mar 24
10:33:39 2005 UTC).

<< cat /proc/asound/cards
0 [nForce2        ]: NFORCE - NVidia nForce2
                     NVidia nForce2 with ALC650F at 0xe1087000, irq 22
1 [Modem          ]: ICH-MODEM - NVidia nForce2 Modem
                     NVidia nForce2 Modem at 0xe1080000, irq 22

<< cat /proc/asound/devices
 18: [0- 2]: digital audio playback
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
  1:       : sequencer
 33:       : timer
 48: [1- 0]: digital audio playback
 56: [1- 0]: digital audio capture
 32: [1- 0]: ctl

<< cat /proc/asound/pcm
00-00: Intel ICH : NVidia nForce2 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : NVidia nForce2 - MIC ADC : capture 1
00-02: Intel ICH - IEC958 : NVidia nForce2 - IEC958 : playback 1
01-00: Intel ICH - Modem : NVidia nForce2 Modem - Modem : playback 1 :
capture 1

<< cat /proc/asound/card0/codec97#0/ac97#0-0
0-0/0: Realtek ALC650F

Capabilities     :
DAC resolution   : 20-bit
ADC resolution   : 18-bit
3D enhancement   : Realtek 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : on
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID      : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status  : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC    : 44100Hz
PCM Surr DAC     : 44100Hz
PCM LFE DAC      : 44100Hz
PCM ADC          : 44100Hz
SPDIF Control    : Consumer PCM Copyright Category=0x2 Generation=1
Rate=48kHz
SPDIF In Status  : Not Locked

<< amixer | grep -A 5 IEC958
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 3
  Mono: 3 [100%]
Simple mixer control 'Analog to IEC958 Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]

***************************

My SPDIF output is referenced as hw:0,2, the chipset is a nForce2 (then i
use the snd-intel8x0 driver), the AC97 device seems to be a Realtek
ALC650F.

while using a basic application to send samples to the spdif output ex:

<< aplay -f dat -c 2 -D hw:0,2 anybigfile.gz

I need to mute the IEC958 control in order to ear something from my
DTS/Digital decoder/amplifier.

It seems that the control function is inverted. The problem is that all
application, xmms (for each playing file), mplayer, xine try to unmute the
IEC958 control before starting to play. Then, I have to manually mute the
IEC958 control after lauching the media application to ear the sound.

======================================================================

----------------------------------------------------------------------
 fearofcarpet - 01-16-06 17:11 
----------------------------------------------------------------------
On the RealTek ALC950 the IEC958 settings correspond to "0: PCM, 1: Rear,
2: Center/LFE, 3: PCM/Modem" where 0 is 0 volume, 1 is 33% volume, etc.
Perhaps this is the case with the ALC650F also?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-24-05 00:16 damscot        New Issue                                    
10-24-05 00:16 damscot        Distribution              => Gentoo          
10-24-05 00:16 damscot        Kernel Version            => 2.6.12-gentoo-r1
01-16-06 17:11 fearofcarpet   Note Added: 0007689                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

             reply	other threads:[~2006-01-16 16:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-16 16:11 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-07 17:45 [ALSA - driver 0001495]: nForce2 IEC958 output is working when IEC958 control is muted bugtrack
2006-04-02 22:48 bugtrack
2005-10-23 22:16 bugtrack

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=97526da3e6032e10e10e084eccd538a0@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /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