Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: bitstreamout and 2.6.8-rc3 ?



On Tue, Aug 10, 2004 at 12:13:09AM +0200, Gregoire Favre wrote:
> Hello,
> 
> just tried to play a DVD with 2.6.8-rc3 and I don't get any sound...
> and an error message :
> ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D2p failed:No such device

Hmmm ... which ALSA version is used by this kernel or do you use an other
one?  Which sound card do you use?

> 
> Is it working with that kernel or not ?
> 
> amixer controls | grep IEC
> numid=28,iface=MIXER,name='IEC958 Coaxial Capture Switch'
> numid=27,iface=MIXER,name='IEC958 Coaxial Capture Volume'
> numid=26,iface=MIXER,name='IEC958 Coaxial Playback Volume'
> numid=22,iface=MIXER,name='IEC958 LiveDrive Capture Switch'
> numid=21,iface=MIXER,name='IEC958 LiveDrive Capture Volume'
> numid=20,iface=MIXER,name='IEC958 LiveDrive Playback Volume'
> numid=35,iface=MIXER,name='IEC958 Optical Raw Playback Switch'
> numid=19,iface=MIXER,name='IEC958 TTL Capture Switch'
> numid=18,iface=MIXER,name='IEC958 TTL Capture Volume'
> numid=17,iface=MIXER,name='IEC958 TTL Playback Volume'
> numid=171,iface=MIXER,name='IEC958 Playback Default'
> numid=172,iface=MIXER,name='IEC958 Playback Default',index=1
> numid=173,iface=MIXER,name='IEC958 Playback Default',index=2
> numid=174,iface=MIXER,name='IEC958 Playback Default',index=3
> numid=167,iface=MIXER,name='IEC958 Playback Mask'
> numid=168,iface=MIXER,name='IEC958 Playback Mask',index=1
> numid=169,iface=MIXER,name='IEC958 Playback Mask',index=2
> numid=170,iface=MIXER,name='IEC958 Playback Mask',index=3

Maybe you should detect which device is valid for replaying
PCM through the S/P-DIF out of the sound card.

For the first card this would be

     find /proc/asound/card0 -name info | xargs grep IEC958

... then you may try to configure bitstreamout within the
plugin menu of VDR. Default is first card (number 0) and
third device (number 2). But your card may use an other
device for _raw_ PCM out.  Nevertheless bitstreamout tries
to use the autodetection of ALSA for the _raw_ PCM out and if
this fails it tries the device #2.  It seems that both fail
with your card.

       Werner

-- 
AC3 loop through sound card http://bitstreamout.sourceforge.net/
Howto http://www.vdr-portal.de/board/thread.php?threadid=1958
------------------------------------------------------------------
 "Having a smoking section in a restaurant is like having
         a  peeing section in a swimming pool." -- Edward Burr




Home | Main Index | Thread Index