All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Shirkey <pshirkey@boosthardware.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Experimental USB audio support
Date: Mon, 03 Jun 2002 14:52:57 +0900	[thread overview]
Message-ID: <3CFB0439.8E0367E7@boosthardware.com> (raw)
In-Reply-To: s5hadqgh1yt.wl@alsa2.suse.de

Takashi Iwai wrote:
> 
> At Fri, 31 May 2002 20:55:01 +0900,
> Patrick Shirkey wrote:
> >
> > Takashi Iwai wrote:
> > >
> > > now a new version is cvs.  it dumps the descriptor at
> > > /proc/asound/cardX/descriptor.  if the cvs servers is not sync'ed,
> > > please let me know.  i'll send you a patch.
> > >
> >
> > With this patch there is *alot * more info in lsusb. Excellent work.
> 
> as you already know, it's not me but the update of usb modules :)
> 
> anyway, could you check again whether the driver works?
> just taking a look at the lsusb output, the device has no mixer units.
> there are only input/output terminals.
> so, don't be bothered even if you see no mixer controls.
> 
> Takashi

So far I cannot get sound out using

 cat /bin/bash > dev/dsp2
 aplay -D hw:2,0 -f cd some.wav

both return with device does not exist or similar

The same for recording.

arecord -D hw:2,0 -f cd  -d 10 /art/code/alsa/test.wav
ALSA lib pcm_hw.c:797:(snd_pcm_hw_open) open /dev/snd/pcmC2D0c failed:
No such file or directory
arecord: main:447: audio open error: No such file or directory

---
 ls /dev/snd/
controlC0  controlC3  midiC0D0   pcmC0D1p   pcmC1D0c   
controlC1  controlC4  pcmC0D0c   pcmC0D2c   pcmC1D0p   
controlC2  hwC0D0     pcmC0D0p   pcmC0D2p   timer  
---

Are the pcm devices created by the mixer code? If so then can you use
the descriptor info to hardcode them in?

On a side note I would really like to know how you use the descriptor
info to write a driver. You asked me for the same thing when you were
doing the cmipci driver. It would be a valuable additon to the
developers documentation.

Something like "Using the information provided in /proc/asound to write
a driver". 

If you/Paul/Jaroslav/Abramo or anyone else who grok it could write up
some quick notes I will gladly incorporate them into the online docs.

I am going to write up some info now on the installing the usb-audio
driver and add it to the wiki.


-- 
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.boosthardware.com/LAU/guide/
=======================================================================

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

  reply	other threads:[~2002-06-03  5:52 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <s5hy9e2hk02.wl@alsa2.suse.de>
2002-05-30  4:12 ` Experimental USB audio support Patrick Shirkey
2002-05-30  4:16 ` Patrick Shirkey
2002-05-31  8:45   ` Takashi Iwai
2002-05-30  5:15 ` Patrick Shirkey
2002-05-31  8:03   ` Takashi Iwai
2002-05-31  9:23     ` Patrick Shirkey
2002-05-31  9:38       ` Takashi Iwai
2002-05-31 10:51         ` Takashi Iwai
2002-05-31 11:09           ` Patrick Shirkey
2002-05-31 11:55           ` Patrick Shirkey
2002-05-31 13:38             ` Takashi Iwai
2002-06-03  5:52               ` Patrick Shirkey [this message]
2002-06-03 15:35                 ` Takashi Iwai
2002-05-31 12:02           ` Patrick Shirkey
2002-05-31 12:07           ` Patrick Shirkey
2002-05-31  9:31     ` Patrick Shirkey
2002-05-31  9:41       ` Takashi Iwai
2002-05-31 10:48         ` Takashi Iwai
2002-05-31 11:14           ` Patrick Shirkey
2002-05-31 13:44             ` Takashi Iwai
2002-05-30  5:49 ` Patrick Shirkey
2002-05-30  8:17 ` tpeltone
     [not found] ` <001401c20747$642f5050$57c05c90@Witter>
2002-05-31  8:47   ` [Alsa-user] " Takashi Iwai
     [not found]     ` <1022849629.589.2.camel@coldpack>
2002-05-31 17:33       ` Takashi Iwai
2002-05-29 18:44 Takashi Iwai

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=3CFB0439.8E0367E7@boosthardware.com \
    --to=pshirkey@boosthardware.com \
    --cc=alsa-devel@lists.sourceforge.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.