On Thu, Feb 20, 2014 at 8:19 AM, Puneet B <[email protected]> wrote: > Hi Jon, > > if i select i2s codec and spdif codec , i am not getting any node file in > /dev/snd/ > > only have sunxi-codec and sndhdmi node file. > > ls /dev/snd/ > > by-path controlC0 controlC1 pcmC0D0c pcmC0D0p pcmC1D0p timer >
You have to write the 'machine driver' that binds the codec to the i2s controller. That is the final bit of the ALSA registration process. It is just a tiny driver. There are lots of examples in the kernel tree. ./atmel/atmel_wm8904.c ./atmel/sam9g20_wm8731.c ./atmel/sam9x5_wm8731.c ./tegra/tegra_wm8753.c ./tegra/tegra_wm9712.c ./tegra/tegra_wm8903.c ./samsung/neo1973_wm8753.c ./samsung/smdk_wm9713.c ./samsung/smdk_wm8580pcm.c ./samsung/goni_wm8994.c ./samsung/smdk_wm8994pcm.c ./samsung/jive_wm8750.c ./samsung/smdk2443_wm9710.c ./samsung/smartq_wm8987.c ./samsung/smdk_wm8994.c ./samsung/smdk_wm8580.c ./pxa/e740_wm9705.c ./pxa/e750_wm9705.c ./pxa/e800_wm9712.c ./pxa/mioa701_wm9713.c > > Regards > Punith > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- Jon Smirl [email protected] -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
