[Arm-netbook] A10 i2s rx(capture) is not exist.
김종원
cyclon at enter-tech.com
Fri May 18 02:19:00 BST 2012
hi, everyone.
i'm compile linux kernel, check menuconfig below
Device Driver > Sound card support > Advanced Linux Sound Architecture >
ALSA for Soc Audio support > Soc i2s interface for the AllWinner SUN4I chips
[ 3.450000] No device for DAI sun4i-i2s
[ 3.450000] No device for DAI codecchip
[ 3.460000] asoc: codecchip <-> sun4i-i2s mapping ok
[ 3.460000] usbcore: registered new interface driver snd-usb-audio
[ 3.470000] usbcore: registered new interface driver snd-ua101
[ 3.480000] usbcore: registered new interface driver snd-usb-caiaq
[ 3.480000] ALSA device list:
[ 3.490000] #0: sun4i-CODEC Audio Codec
[ 3.490000] #1: SUN4I_SNDHDMI (SNDHDMI)
[ 3.500000] #2: SUN4I_codecchip (codecchip)
and check /proc/asound
# ls -l /proc/asound
lrwxrwxrwx root root 2010-01-01 08:04 SUN4Icodecchip ->
card2
dr-xr-xr-x root root 2010-01-01 08:04 card2
lrwxrwxrwx root root 2010-01-01 08:04 SUN4ISNDHDMI -> card1
dr-xr-xr-x root root 2010-01-01 08:04 card1
lrwxrwxrwx root root 2010-01-01 08:04 sun4icodec -> card0
dr-xr-xr-x root root 2010-01-01 08:04 card0
# ls -l /dev/snd
crw-rw---- system audio 116, 64 2010-01-01 08:00 controlC2
crw-rw---- system audio 116, 80 2010-01-01 08:00 pcmC2D0p
crw-rw---- system audio 116, 32 2010-01-01 08:00 controlC1
crw-rw---- system audio 116, 48 2010-01-01 08:00 pcmC1D0p
crw-rw---- system audio 116, 0 2010-01-01 08:00 controlC0
crwxrwxrwx system system 116, 24 2010-01-01 08:00 pcmC0D0c
crwxrwxrwx system system 116, 16 2010-01-01 08:00 pcmC0D0p
but i can not found i2s rx(capture) device => pcmC2D0c is not exist!!!
i am check i2s device driver from linux kernel source.
sound/soc/sun5i/i2s/sndi2s.c
sound/soc/sun4i/i2s/sndi2s.c
struct snd_soc_dai_driver sndi2s_dai = {
.name = "sndi2s",
/* playback capabilities */
.playback = {
.stream_name = "Playback",
.channels_min = 1,
.channels_max = 2,
.rates = sndi2s_RATES,
.formats = sndi2s_FORMATS,
},
/* pcm operations */
.ops = &sndi2s_dai_ops,
.symmetric_rates = 1,
};
EXPORT_SYMBOL(sndi2s_dai);
.capture is not exist.
HELP ME!!! PLEASE!!!
regards,
jw-kim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20120518/7e2686c1/attachment.html
More information about the arm-netbook
mailing list