13 Nov
2008
13 Nov
'08
5:02 p.m.
At Thu, 13 Nov 2008 10:59:42 -0500, Andrei Tanas wrote:
Is there some "official" method of debugging this: is it possible to see what the driver is doing with the data stream fed to it (other than inserting a bunch of printk's in the code)?
You can use hda-verb program to access the codec verbs directly. Also you can use the hda-emulator for debugging. But you have the real hardware, so it's maybe better to use your own hardware.
The programs can be found in ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/
My /dev/snd only has these: controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p pcmC0D2c timer Should there be hw* nodes?
Build with CONFIG_SND_HDA_HWDEP=y.
Takashi