[alsa-devel] how do you people debug ALSA?

Takashi Iwai tiwai at suse.de
Wed Jan 23 12:09:34 CET 2008

Just covering the things that are still missing...

At Mon, 21 Jan 2008 20:25:37 +0000,
mazarick at bellsouth.net wrote:
> 3.   Are there tools that are almost always used when writing a
> sound card driver like gdb, ddd, etc? 

Don't forget strace.  It's quite useful to track down strange behavior
or the driver.

> 4.   Since it's easy to do, is an interface into the proc file
> system useful from the start? 
> http://www.alsa-project.org/~tiwai/writing-an-alsa-driver/c1493.htm

You can implement a proc write for debugging.  It's useful for
changing the register value on the fly.


More information about the Alsa-devel mailing list