[Alsa-user] Re: c-media: CMI8738 SPDIF problem
Brought to you by:
perex
From: Christoph R. <ch...@mv...> - 2002-01-29 15:56:15
|
Hi Takashi Iwai! Now I tried it with the right command(% aplay -d2 test.wav) but it hangs and I have to close the shell. During the hang my MD-recorder records because it thinks there is a signal (the volume bar fo the MD-recorder says nothing so the signal must be very silent). When I close the shell AFTER the .wav is finished and I want to retry it later the aplay says "Device or resource buys". I used all the different possibiltys (SPDIF Out To DAC, in phase inverse, ...) but the result was the same. Which command shut I use to make the dump during the SPDIF playback? Ciao. Chris. Quoting Takashi Iwai <ti...@su...>: > Hi Chris, > > At Mon, 28 Jan 2002 17:22:01 +0100 (CET), > ch...@mv... wrote: > > > > Hi Takashi Iwai. > > > > I still have a problem with the SPDIF output of my soundcard. > > > -------------------------------------------------------------------------------- > > infos: > > I use ALSA from SUSE 7.3 > > c-media: 8738 > > model number 39 > > vendor: Zoltrix (Nightingale Pro 6) > > dump of /proc/asound/card1/cmipci: > > C-Media PCI > > > > 00: 02 00 00 00 > > 04: 00 0c 00 00 > > 08: 03 00 29 00 > > 0c: 00 00 00 07 > > 10: c0 00 00 40 > > 14: 00 00 20 00 > > 18: 00 00 00 00 > > 1c: cf ad fa fd > > 20: 10 40 e0 00 > > 24: 02 01 00 00 > > 28: ff ff ff ff > > 2c: ff ff ff ff > > 30: 22 64 40 80 > > 34: 00 00 00 00 > > 38: 00 00 00 00 > > 3c: 00 00 00 00 > > > > If you need more infos please ask. > > I guess the registers above were not dumped during spdif playback. > Right? > > > > -------------------------------------------------------------------------------- > > > > When I want to play sound through the SPDIF there isn't a signal. No, > the > > signal (red light) is, but there is no volume. Instead I hear sound on > the > > analog speakers. Here is the log: > > > > > -------------------------------------------------------------------------------- > > %> aplay -dhw:0,2 test.wav > > Aplay: version 0.5.10 by Jaroslav Kysela <pe...@su...> > > Using soundcard 'C-Media PCI CM8738 (model 39) at 0xc400, irq 17' > > Playing WAVE 'test.wav' : Signed 16-bit Little Endian, Rate 44100 Hz, > Stereo > > > -------------------------------------------------------------------------------- > > The syntax of aplay is different between ALSA 0.5.x and 0.9.0. > For 0.5.x, use -d option to specify the device number, i.e. > > % aplay -d2 test.wav > > > > Only when I enable the SPDIF "DAC to OUT" I get a very loud distorted > sound. > > Please turn off "DAC to Out" for the time being. > It's a mixture of analog streams and looks not suitable for the recent > chips. > > At first please try to turn only "SPDIF Output Switch" on and other > SPDIF-related switches off. If still not work, please try to turn on > both "SPDIF Output Switch" and "SPDIF Out To DAC" (not "DAC to > Out"). > > > > p.s. Does SUSE realease RPM updates for alsa or do I have to reinstall > alsa > > after by hand? > > Basically there has no big changes in the 0.5.x serie since SuSE 7.3 > was released. So you can keep it as long as it works :) > > > ciao, > > Takashi > |