: No option to enable SP/DIF in Fedora Core 2
The following bug has been CLOSED
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000315
======================================================================
Reported By: sehh Assigned To: tiwai ====================================================================== Project: ALSA - driver Bug ID: 315 Category: PCI - via82xx Reproducibility: always Severity: feature Priority: normal Status: closed Distribution: Fedora Core 2 Kernel Version: 2.6.5-1.358 ====================================================================== Date Submitted: 05-30-2004 17:10 CEST Last Modified: 09-24-2004 13:37 CEST
======================================================================
Summary: No option to enable SP/DIF in Fedora Core 2
Description:
We can't find any way to enable SP/DIF in Fedora Core 2.
We are using the Asus A7V600 with the AD1980 chipset.
======================================================================
----------------------------------------------------------------------
tiwai - 06-30-2004 15:47 CEST
----------------------------------------------------------------------
There is no module option for spdif.
You just need to specify the correct PCM name "iec958" or "spdif".
----------------------------------------------------------------------
sehh - 07-01-2004 05:39 CEST
----------------------------------------------------------------------
There is no 'spdif' pcm name, but there are a few "IEC958" which have no effect here, even though they seem to be enabled and with volume at 100%:
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Output',0
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Capabilities: volume volume-joined Playback channels: Mono
Limits: 0 - 3
Mono: 3 [100%]
Simple mixer control 'IEC958 Playback Source',0
Capabilities:
Mono:
Any suggestions please on how to enable spdif output?
Thank you.
----------------------------------------------------------------------
tiwai - 07-16-2004 12:05 CEST
----------------------------------------------------------------------
You seem to be confused.
On ALSA, you need to access to the certain PCM for accessing the SPDIF properly, for example,
% aplay -Diec958 foo.wav
You don't need to touch 'IEC958*' stuff on the mixer in general.
----------------------------------------------------------------------
sehh - 07-17-2004 11:10 CEST
----------------------------------------------------------------------
Indeed, the command you suggested played some wav files of mine on the SPDIF.
Though two problems:
1) aplay played the wav files at four times their speed (probably didn't use the right frequency)
2) i dont use aplay, i want to use XMMS, Gaim, and loads of other applications
and games. How am i going to make them play over SPDIF when only aplay has
this special option???
I need something system-wide that will play everything on the SPDIF, not just aplay.
Thank you for you patience so far with my questions :]
----------------------------------------------------------------------
tiwai - 07-24-2004 02:37 CEST
----------------------------------------------------------------------
The SPDIF out has likely the fixed rate 48k, thus needs sample rate conversion.
Try to play via 'plug:iec958' to do SRC.
You can specify the output PCM name explicitly with XMMS ALSA plugin. If the games use SDL, you can run them over ALSA native mode by configuring via the enviornment variable. I forgot the detail now...
Alternatively, you can use the ALSA OSS emulation library, if the apps don't support ALSA natively.
----------------------------------------------------------------------
sehh - 07-24-2004 04:26 CEST
----------------------------------------------------------------------
Understood.
We may close this bug.
Thank you for all the help.
----------------------------------------------------------------------
tiwai - 07-30-2004 17:10 CEST
----------------------------------------------------------------------
Ok closing now.
Bug History
Date Modified Username Field Change
======================================================================
05-30-04 17:10 sehh New Bug 05-30-04 17:10 sehh Distribution => Fedora Core 2 05-30-04 17:10 sehh Kernel Version => 2.6.5-1.358 06-30-04 15:47 tiwai Bugnote Added: 0001352 06-30-04 15:47 tiwai Assigned To => tiwai 06-30-04 15:47 tiwai Resolution open => not a bug 06-30-04 15:47 tiwai Status new => resolved 07-01-04 05:39 sehh Bugnote Added: 0001368 07-01-04 05:39 sehh Resolution not a bug => reopened 07-01-04 05:39 sehh Status resolved => feedback 07-16-04 12:05 tiwai Bugnote Added: 0001445 07-17-04 11:10 sehh Bugnote Added: 0001456 07-24-04 02:37 tiwai Bugnote Added: 0001469 07-24-04 04:26 sehh Bugnote Added: 0001470 07-30-04 17:10 tiwai Bugnote Added: 0001496 07-30-04 17:10 tiwai Resolution reopened => not a bug 07-30-04 17:10 tiwai Status feedback => resolved 09-24-04 13:37 tiwai Status resolved => closed
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php