Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: John Stile <john@stilen.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Darryl House <forumjunk@comcast.net>, alsa-devel@alsa-project.org
Subject: Re: snd-hda-intel	support	for	SPDIF-in	wiht	vt1708	card?
Date: Tue, 08 Jan 2008 08:38:48 -0800	[thread overview]
Message-ID: <1199810328.10421.55.camel@genx.localdomain> (raw)
In-Reply-To: <1199780495.10421.32.camel@genx.localdomain>

On Tue, 2008-01-08 at 00:21 -0800, John Stile wrote:
> On Tue, 2008-01-08 at 08:42 +0100, Takashi Iwai wrote: 
> > Do you have any ~/.asoundrc or /etc/asound.conf or whatever?
> > Remove this once.
> > 
> I had a /etc/conf.d/alsasound which I removed, but no ~/.asoundrc
> or /etc/asound.conf.
Thank you for all this help.

Is the problem with recording digital-in because both digital and analog
capture devices have the same identity (i.e. both are hw:0,1)?

Below, /proc/asound/card0/pcm1c/info is the digtial capture device, but
can it be referenced via a '-D' parameter to arecord.

cat /proc/asound/cards
 0 [VT82xx         ]: HDA-Intel - HDA VIA VT82xx
                      HDA VIA VT82xx at 0x9fffc000 irq 20
cat /proc/asound/devices
  0: [ 0]   : control
  1:        : sequencer
  4: [ 0- 0]: hardware dependent
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 24: [ 0- 0]: digital audio capture
 25: [ 0- 1]: digital audio capture
 33:        : timer
cat /proc/asound/pcm
  00-01: VT1708 Digital : VT1708 Digital : playback 1 : capture 1
  00-00: VT1708 Analog : VT1708 Analog : playback 1 : capture 2

NOTE: I don't see a pcm device i can play from

ls -alF /proc/asound/card0
   total 0
   dr-xr-xr-x 6 root root 0 Jan  8 08:23 ./
   dr-xr-xr-x 5 root root 0 Jan  8 08:19 ../
   -r--r--r-- 1 root root 0 Jan  8 08:23 codec#0
   -r--r--r-- 1 root root 0 Jan  8 08:23 id
   -rw-r--r-- 1 root root 0 Jan  8 08:23 oss_mixer
   dr-xr-xr-x 4 root root 0 Jan  8 08:23 pcm0c/
   dr-xr-xr-x 3 root root 0 Jan  8 08:23 pcm0p/
   dr-xr-xr-x 3 root root 0 Jan  8 08:23 pcm1c/
   dr-xr-xr-x 3 root root 0 Jan  8 08:23 pcm1p/

I need to reference either pcm0c or pcm1c, I think.
cat pcm1c/info
   card: 0
   device: 1
   subdevice: 0
   stream: CAPTURE
   id: VT1708 Digital
   name: VT1708 Digital
   subname: subdevice #0
   class: 0
   subclass: 0
   subdevices_count: 1
   subdevices_avail: 1

This is the analog capture device:
cat /proc/asound/card0/pcm0c/info
   card: 0
   device: 0
   subdevice: 0
   stream: CAPTURE
   id: VT1708 Analog
   name: VT1708 Analog
   subname: subdevice #0
   class: 0
   subclass: 0
   subdevices_count: 2
   subdevices_avail: 2

This is the digital capture device:
cat /proc/asound/card0/pcm1c/info
   card: 0
   device: 1
   subdevice: 0
   stream: CAPTURE
   id: VT1708 Digital
   name: VT1708 Digital
   subname: subdevice #0
   class: 0
   subclass: 0
   subdevices_count: 1
   subdevices_avail: 1

  reply	other threads:[~2008-01-08 16:38 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 18:40 snd-hda-intel support for SPDIF-in wiht vt1708 card? Darryl House
2008-01-08  7:35 ` John Stile
2008-01-08  7:42   ` Takashi Iwai
2008-01-08  8:21     ` John Stile
2008-01-08 16:38       ` John Stile [this message]
2008-01-08 16:50         ` Takashi Iwai
2008-01-08 17:57           ` John Stile
2008-01-09  7:39             ` Takashi Iwai
     [not found]               ` <1199873213.9681.50.camel@genx.localdomain>
2008-01-09 16:29                 ` Takashi Iwai
2008-01-09 17:49                   ` John Stile
  -- strict thread matches above, loose matches on Subject: below --
2008-01-02 22:31 Darryl House
2008-01-02 22:38 ` John Stile
2008-01-07 13:43 ` Takashi Iwai
2007-12-21 22:59 Darryl House
2007-12-21 19:09 Darryl House
2007-12-20 19:17 forumjunk
2007-12-20  0:37 forumjunk
2007-12-20 11:09 ` Takashi Iwai
2007-12-20 20:13   ` John Stile
     [not found]   ` <1198174409.8838.2.camel@genx.localdomain>
2007-12-21  9:08     ` Takashi Iwai
2007-12-21 17:57       ` John Stile
2007-12-21 20:03         ` John Stile
2007-12-22 18:35           ` John Stile
2007-12-24 19:22             ` John Stile
2008-01-02 20:41               ` John Stile
2007-12-17 18:27 John Stile
2007-12-18 13:04 ` Takashi Iwai
2007-12-18 16:28   ` John Stile
2007-12-18 15:05     ` Takashi Iwai
2007-12-19  4:49       ` John Stile
2007-12-19  9:30         ` Takashi Iwai
2007-12-19 16:21           ` John Stile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1199810328.10421.55.camel@genx.localdomain \
    --to=john@stilen.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=forumjunk@comcast.net \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox