MythTVtalk.com - The MythTV forum
Where the World comes to speak about MythTV !!




Welcome on the MythTV users community forum archive,
9023 users already joined the helping and friendly MythTV community!
What are you waiting to be the next one?

Click HERE to view the official MythTV users community forum

Text-only version:
Go to the original Can't get SPDIF to work. thread.


 
     < Click here to go to the MythTV Forum > 
Can't get SPDIF to work.
gomike
I am using Ubuntu 6.10 and using the onboard SPDIF from a ASUS P1-AH2.

My speaker out works fine, for some reason I can not get SPDIF to work.

I pull up ALSAMIXER and it only shows the option for PCM

Here is my output from aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0

I have read this page through

URL:www.mythtv.org/wiki/index.php/DigitalSoundHowTo

From recent posts it appears we no longer need to modify the .asoundrc file.

I'm not sure where to go from here.

Thanks
Mike

AIM: gomike78
scotte
In alsamixer I had to unmute "IEC958", set "IEC958 Playback AC97-SPSA" to level ZERO, and set "IEC958 Playback Source" to 'PCM'. But I'm not sure why you don't have those outputs in your alsamixer, they should be there if the drivers are working proper.
fromans4
Try using the Gnome Volume application to get to the alsa settings. It allows access to the same functions as alsamixer but the interface is to some a little easier to use.

The info in the last post is correct and SPDIF output won't work till these settings are changed.

Brent
justDIY
please post /proc/asound/pcm and proc/asound/devices

alsa doesn't see any alternative outputs on your card, only device 0,0
gomike
DEVICES

2: : timer
3: [ 0- 0]: digital audio playback
4: [ 0- 0]: digital audio capture
5: [ 0] : control
6: [ 1- 0]: digital audio capture
7: [ 1] : control

PCM

00-00: HDA Generic : HDA Generic : playback 1 : capture 1
01-00: CX88 Digital : CX88 Digital : capture 1
justDIY
as far as linux is concerned, you have no spdif output.

your machine has a very new chipset in it. you have to compile yourself the latest kernel to see if support for that soundcard has been included.

you could check the alsa dev and users mailing lists to see if there is any discussion on that chipset and or soundcard.
simon_bagola
Hi!
Same thing here...

my "aplay -l" result:
Quote: [root@localhost Desktop]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 2: CMI8738-MC6 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
looks OK --> IEC958 (SPDIF is there)

but if i try to
"mplayer -ao alsa:device=hw=0.2 MatchesBox.mp3"
i get:

Quote: MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Sempron(tm) Processor 3000+ (Family: 15, Model: 79, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1


93 audio & 211 video codecs
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not open config files /root/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
You will not be able to use your remote control.

Playing MatchesBox.mp3.
Audio file file format detected.
Clip info:
Title: MatchesBox.mp3
Artist: Holophonic Effects
Album:
Year:
Comment: ������ ���� ����
Genre: Unknown
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
alsa-init: using device hw:0,2
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 56.8 (56.7) of 56.0 (56.0) 0.7%
alsa-uninit: pcm closed

Exiting... (End of file)
looks like playing, but no sound/signal from S/PDIF

FYI, my .soundrc looks like:

Quote: pcm.!default {
type hw
card 0
device 2
}

I'm getting =(/%&//#(/)&=)(*(%$&/#$ :twisted: :evil:
simon_bagola
:D :D
Hi guys!

I managed to get a REAL 5.1 sound form a CMI8**8 card!

Do not know which act, but, i set it like follows:
- the above mentioned settings are OK
- in alsamixer i set:
Quote:
master - full
3d control -unmute
pcm - unmute
synt - unmute
line-mute
cd - unmute
mic - mute
mic-boos - unmute
phone - unmute
iec958 5v - unmute
iec958 c - unmute
iec958 in monitor - unmute
iec958 in phase reverse - mute
iec958 in select - mute
iec958 in valid - mute
iec958 - loop - mute
iec958 output - unmute
pcspeaker - mute
aux - mute
four channel mode - unmute

THEN, i started "soundcard detection" from Fedora GUI

and set the digital output as default...

the sound is great!

hope this helps...

Go to the original "Can't get SPDIF to work." thread
Page 1 of 1
    < Click here to go to the MythTV Forum > 


phpBB Search Engine Indexer © phpRebel :: Powered by phpBB © 2001, 2002 phpBB Group