: Intel HDA (C-Media 9880) SPDIF Out
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=848>
======================================================================
Reported By: 1g0R
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 848 Category: PCI - azx Reproducibility: always Severity: feature Priority: normal Status: new Distribution: Fedora Core 3 Kernel Version: 2.6.8-ac8 ====================================================================== Date Submitted: 01-25-2005 15:28 CET Last Modified: 02-04-2005 15:02 CET
======================================================================
Summary: Intel HDA (C-Media 9880) SPDIF Out
Description:
When i set in modprobe.conf the options snd-xxx model=full_dig, there is no output signal on SPDIF (Coax).
I try:
aplay -D hw:0,1 (<--digital out) else.wav
the command run normally, but no output on spdif out.the same with xmms (with ALSA, on hw:0,1).
======================================================================
----------------------------------------------------------------------
1g0R - 01-28-05 19:01
----------------------------------------------------------------------
I want to use coaxial spdif out.
Here is my cat /proc/asound/card0/codec#0. I get no error message, but no sound too on spdif.
[igor@skynet VIDEO_TS]$ cat /proc/asound/card0/codec#0
Codec: C-Media CMI9880
Address: 0
Vendor Id: 0x434d4980
Subsystem Id: 0x0
Revision Id: 0x90002
Default PCM: rates 0x540, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: 0x00 0x00
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: 0x00 0x00
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: 0x00 0x00
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: 0x00 0x00
Node 0x07 [Audio Output] wcaps 0x615: Stereo Digital Amp-Out
Amp-Out caps: N/A
Amp-Out vals: 0x80 0x80
PCM: rates 0x000, bits 0x00, types 0x5
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x1e, stepsize=0x05, mute=1 Amp-In vals: 0x80 0x80
PCM: rates 0x160, bits 0x02, types 0x0
Connection: 9
0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x1f 0x20
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x1e, stepsize=0x05, mute=1 Amp-In vals: 0x80 0x80
PCM: rates 0x160, bits 0x02, types 0x0
Connection: 9
0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x1f 0x20
Node 0x0a [Audio Input] wcaps 0x100791: Stereo Digital
PCM: rates 0x160, bits 0x0e, types 0x0
Connection: 1
0x13Node 0x0b [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x0833f: IN OUT HP
Pin Default 0x01014010: Line Out at Ext Rear
Conn = 1/8, Color = Green
Pin-ctls: 0xc0: OUT HP
Connection: 1
0x03
Node 0x0c [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x0833f: IN OUT HP
Pin Default 0x01813000: Line In at Ext Rear
Conn = 1/8, Color = Blue
Pin-ctls: 0x20: IN
Connection: 1
0x04
Node 0x0d [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x0833f: IN OUT HP
Pin Default 0x01a19000: Mic at Ext Rear
Conn = 1/8, Color = Pink
Pin-ctls: 0x24: IN
Connection: 1
0x05
Node 0x0e [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x081033f: IN OUT HP
Pin Default 0x01011014: Line Out at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0xc0: OUT HP
Connection: 1
0x06
Node 0x0f [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x0833f: IN OUT HP
Pin Default 0x82214100: HP Out at Ext Front
Conn = 1/8, Color = Green
Pin-ctls: 0xc0: OUT HP
Connection: 4
0x03 0x04 0x05 0x06
Node 0x10 [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x0833f: IN OUT HP
Pin Default 0x82a19100: Mic at Ext Front
Conn = 1/8, Color = Pink
Pin-ctls: 0x24: IN
Connection: 4
0x03 0x04 0x05 0x06
Node 0x11 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0863: IN
Pin Default 0x19330000: CD at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x00:
Node 0x12 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x01450000: SPDIF Out at Ext Rear
Conn = Optical, Color = Unknown
Pin-ctls: 0x40: OUT
Connection: 1
0x07
Node 0x13 [Pin Complex] wcaps 0x400281: Stereo Digital
Pincap 0x0830: IN OUT
Pin Default 0x01c50000: SPDIF In at Ext Rear
Conn = Optical, Color = Unknown
Pin-ctls: 0x00:
Node 0x14 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x18 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x19 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1a [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1d [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1f [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0833f: IN OUT HP
Pin Default 0x01016012: Line Out at Ext Rear
Conn = 1/8, Color = Orange
Pin-ctls: 0xc0: OUT HP
Connection: 4
0x03 0x04 0x05 0x06
Node 0x20 [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0833f: IN OUT HP
Pin Default 0x01012016: Line Out at Ext Rear
Conn = 1/8, Color = Grey
Pin-ctls: 0xc0: OUT HP
Connection: 4
0x03 0x04 0x05 0x06
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x23 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1 Amp-Out vals: 0x05
[igor@skynet VIDEO_TS]$
----------------------------------------------------------------------
tiwai - 02-04-05 15:02
----------------------------------------------------------------------
Don't use "hw:x,y" directly. As default, the normal PCM output should be routed to SPDIF, too. Make sure "IEC958 Playback Switch" is set, and run normally like
% aplay foo.wav
This won't work with AC3 output. For AC3 output, use "iec958" or "spdif" instead.
Anyway, the value of IEC958 Playback Default looks strange. Could you try iecset program in alsa-utils to set up the SPDIF status properly?
Issue History
Date Modified Username Field Change
======================================================================
01-25-05 15:28 1g0R New Issue 01-25-05 15:28 1g0R Distribution => Fedora Core 3 01-25-05 15:28 1g0R Kernel Version => 2.6.8-ac8 01-25-05 18:04 jbrsubscribe Note Added: 0003408 01-25-05 18:05 jbrsubscribe Issue Monitored: jbrsubscribe 01-25-05 18:14 jbrsubscribe Note Added: 0003409 01-28-05 02:56 nc Issue Monitored: nc 01-28-05 03:07 nc Note Added: 0003423 01-28-05 19:01 1g0R Note Added: 0003434 02-04-05 15:02 tiwai Note Added: 0003507
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl