Hi all,

I'm trying to write a driver for my (marginally documented) Gadget Labs
Wave/4 card. I'm an analog EE and this is my first driver, so it's going a
little slow. But I think I understand the card well enough now, I'm trying
to figure out ALSA.

I've got the card initialized, and programmed (software PLA). It's the PCM
part that confuses me.

I've looked through all the header files, and I think I understand the 
structs OK. I'm just not very clear what the kernel takes care of and
what my driver's responsibilities are.

Don't know where to begin, but if someone could answer these questions I'd
much appreciate:
        
What do the callbacks do in snd_pcm_ops_t:
        open
        close
        ioctl
        hw_params
        hw_free
        prepare
        trigger
        pointer

More importantly, how are they conceptually related? What does the driver
need to do in each case?

Also, is there a driver that uses ISA programmed I/O that I could
examine? All the ones I've looked at use DMA. Is there some way to use the
alsa-kernel DMA stuff without having a DMA channel?

Thanks to anybody who can help.

If I can figure this out, you can add another oddball, obsolete card to
the supported list! (the Gadget Labs actually have excellent converters
and are well worth supporting for the hi-fi/recording folks.)

Regards,
Mark Rages
[EMAIL PROTECTED]

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to