At Mon, 02 Apr 2007 13:41:21 +0200, Andreas Happe wrote: > > On Mon, 2007-04-02 at 13:27 +0200, Takashi Iwai wrote: > > Still wondering why setting AC97-SPSA to 0 doesn't work in this > > case. Try the following: > > > > - plug to the analog output on docking station > > - set "IEC958 Playback AC97-SPSA" to zero via alsamixer or whatever > > - set "IEC958 Playback Switch" on > > - run > > % aplay -Ddefault foo.wav > > | aplay -Ddefault shutdown.wav > Playing WAVE 'shutdown.wav' : Signed 16 bit Little Endian, Rate 44100 > Hz, Stereo > > -> Silence > > | aplay -Dspdif startup.wav > aplay: main:550: audio open error: Device or resource busy > > -> I got the totem player open in the background, it didn't produce any > sounds but seems to lock the pcm channel. > > After closing totem player: > > | arcs@storm:/usr/share/sounds$ aplay -Dspdif startup.wav > Playing WAVE 'startup.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, > Stereo > > -> played sound > > | aplay -Ddefault startup.wav > Playing WAVE 'startup.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, > Stereo > > -> still no sound > > hoped that helped. Make sure that AC97-SPSA is reset to zero before you play via default PCM. Also, you can compare ac97 regsiters by dumping the proc file /proc/asound/card0/codec97#0/*-0+regs file between playing "spdif" and "default" PCMs. Then you can see at least whether any ac97 register is changed. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel