dm8168+gv7601的音视频采集
环境:ubuntu10.04+dvrrdk4.0.2
现在移植gv7601的音频采集驱动,
遇到问题,请问哪位朋友有gv7601的demo驱动吗?
谢谢
这是所有声卡的信息
root@HDMTerm:/mnt/work/test_dev/gv7601/gv7601_audio# arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: SOUND0 [TI81XX SOUND0], device 0: AIC3X tlv320aic3x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SOUND0 [TI81XX SOUND0], device 1: GV7601 gv7601-hifi-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root@HDMTerm:/mnt/work/test_dev/gv7601/gv7601_audio# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SOUND1 [TI81XX SOUND1], device 0: hdmi HDMI-DAI-CODEC-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SOUND0 [TI81XX SOUND0], device 0: AIC3X tlv320aic3x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root@HDMTerm:/mnt/work/test_dev/gv7601/gv7601_audio#
遇到的问题:
root@HDMTerm:/opt/hdmeeting/script# arecord -Dhw:1,1 -r8000 -f cd | aplay -Dhw:1,0 -r8000 -v -V stereoRecording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Warning: rate is not accurate (requested = 44100Hz, got = 16000Hz)
please, try the plug pluginPlaying WAVE 'stdin' : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
Hardware PCM card 1 'TI81XX SOUND0' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 16000
exact rate : 16000 (16000/1)
msbits : 16
buffer_size : 8000
period_size : 2000
period_time : 125000
tstamp_mode : NONE
period_step : 1
avail_min : 2000
period_event : 0
start_threshold : 8000
stop_threshold : 8000
silence_threshold: 0
silence_size : 0
boundary : 2097152000
appl_ptr : 0
hw_ptr : 0
arecord: pcm_read:1801: read error: Input/output error
+00%|00%+
Chris Meng:
Liang,
PINMUX配置正确了么?
https://e2e.ti.com/support/arm/sitara_arm/f/791/t/388471
sir sanmaoljh:
回复 Chris Meng:
我gv7601的i2s数据流都接到MCA1相应的管脚上,并且MCA1都不是复用脚,所以默认配置就可以了吧
sir sanmaoljh:
回复 sir sanmaoljh:
同时,我也读取了MCA2与aic3101芯片的pin值都是0,与MCA1相关的pin一样,都是0,所以应该可以排除了pinmux的问题