All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Re: Linux USB audio driver - sample code / link / documentation
Date: Thu, 25 Nov 2010 12:23:15 -0800	[thread overview]
Message-ID: <4CEEC5B3.3040506@gmail.com> (raw)
In-Reply-To: <AANLkTi=R_2dPhOGCB+5Dv_KUG3PrESg+Z+x1A_bhiTjr@mail.gmail.com>

On 11/25/2010 01:51 AM, Ramya Desai wrote:
> I did not find a document for writing a USB audio driver under Linux
> environment. Please let me know any sample driver / link / document
> which describes about the USB audio driver under Linux environment.

As Clemens wrote, examining existing drivers in the kernel repository
(under sound/usb) might help you most. Just have a look how they
communicate with the hardware and how they set up the ALSA components
inside the kernel.

Is there any documentation for the chip you're writing the driver for,
about the USB protocol it uses etc? Are you sure it does not follow the
USB audio class specifications? Posting the output of 'lsusb -v' might
also help.


Daniel

  reply	other threads:[~2010-11-25 20:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25  9:51 Linux USB audio driver - sample code / link / documentation Ramya Desai
2010-11-25 20:23 ` Daniel Mack [this message]
2010-11-26  9:12   ` Ramya Desai
2010-11-26  7:51 ` Clemens Ladisch
2010-11-26  9:30   ` Ramya Desai
2010-11-26  9:55     ` Clemens Ladisch
2010-11-26 10:00       ` Ramya Desai

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=4CEEC5B3.3040506@gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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.