[alsa-devel] Linux USB audio driver - sample code / link / documentation

Daniel Mack zonque at gmail.com
Thu Nov 25 21:23:15 CET 2010


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


More information about the Alsa-devel mailing list