[alsa-devel] snd-hda-intel support for SPDIF-in wiht vt1708 card?

John Stile john at stilen.com
Tue Jan 8 08:35:22 CET 2008


Wow.  Thank you.  
These steps built just fine, and I can play audio files
  cd /usr/src
  rm -rf alsa-driver
  hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver
  cd alsa-driver
  hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel
  ./hgcompile
  make install
  alsaconfig
  aplay /usr/share/sounds/alsa/Front_Center.wav

I can see the following running: alsamixer -Vall
 ┌──┐
 │OO│
L└──┘R
CAPTUR
IEC958
 
arecord -L shows
  iec958:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, VT1708 Digital
    IEC958 (S/PDIF) Digital Audio Output null
    Discard all samples (playback) or generate zero samples (capture)

arecord -D iec958 -fDAT |aplay
  ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM IEC958
  arecord: main:546: audio open error: No such file or directory
  aplay: playback:2019: read error

My obstacle is getting the proper syntax for reading from spdif, as I
have never done it successfully.  Advice?

On Mon, 2008-01-07 at 18:40 +0000, Darryl House wrote:
> Ok, here's the current state of affairs... both the compilation and driver seem to work well now, though I haven't tested SPDIF yet. I don't know why both John Stile and I were getting ioctl errors, perhaps if it is still happening to him he can elucidate, but it isn't happening to me any more with the latest build.
> 
> I obtained and built a clean mercurial clone this morning (07 Jan 08):
> 
> %> cd /usr/src
> %> rm -rf alsa-driver
> %> hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver
> %> cd alsa-driver
> %> hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel
> %> hgcompile
> 
> [...] compilation proceeds cleanly...
> 
> %> make install
> 
> %> alsaconf
> [...] select card and configure it via alsamixer
> 
> Lo and belold, it all worked! I have a clean compilation and good response from aplay and other user space tools.
> 
> I haven't applied any patches, and I haven't been able to test SPDIF input yet but I'm betting John Stile should be able to report that faster than I can get to it...
> 
> Thank you very much for your help with this and for all of the work you and the ALSA team do!
> 
> -- Darryl
> 
>  -------------- Original message ----------------------
> From: Takashi Iwai <tiwai at suse.de>
> > At Wed, 02 Jan 2008 22:31:19 +0000,
> > Darryl House wrote:
> > > 
> > > 
> > >  -------------- Original message ----------------------
> > > [...]
> > > > > I'd like to get this card's spdif working.  What else can I do to help?
> > > > > Although the driver loads, the user space tools can't use the card any
> > > > > more.  Thank you.
> > > > > 
> > > > Should I assume at this point no more work will be done on the
> > > > snd-hda-intel driver to fixing SPDIF-in for the vt1708 sound card?
> > > > Thank you for all your work so far.
> > > > 
> > > 
> > > I think it is a bit early to make that assumption. There isn't a lot
> > > of demand for this particular card, but it doesn't seem that it
> > > will take too much work to get it going again... after all, it did
> > > basically work before the last patch, and I am hoping that Takashi
> > > will find some time soon to address the issues.
> > 
> > Hm, I see no obvious error in the patch.  Are you sure that the latest
> > HG driver works properly if you don't apply the patch?
> > 
> > Let's begin with that.
> > 
> > 
> > Takashi
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel at alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 



More information about the Alsa-devel mailing list