[alsa-devel] [Q] Writing an alsa module for usb audio & video capture device

Ezequiel Garcia elezegarcia at gmail.com
Wed Jun 6 18:40:48 CEST 2012


Hi again,

On Mon, Jun 4, 2012 at 6:50 PM, Ezequiel Garcia <elezegarcia at gmail.com> wrote:
> Hi everyone,
>
> I'm writing a driver for stk1160 usb bridge (audio & video capture device).
> The video part is almost done [1] and now I've started the alsa part.
>
> As the driver replaces an in-tree staging driver I could just grab the alsa part
> from the original driver (called easycap), or look into em28xx sources.
>
[snipped myself]

I also would like to know (if anyone is reading this):

1. Why do I need to write another module for my device? Is it not
possible to make it work
with snd-usb-audio?
2. The device uses ac97 chip, could I use some ac97 common code
instead of rewriting it myself?

Currently, v4l drivers that must support alsa rewrites a lot of stuff.
I'm not sure this is the *right thing*.

Thanks,
Ezequiel.


More information about the Alsa-devel mailing list