There is two usb sound card(kinet) on my TK1, and I want to record mono audio input on the rt5639 with arecord,but it fail。
ubuntu@tegra-ubuntu:~$ arecord -Dplughw:1,0 -c1 -r44100 -fS16_LE test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
arecord: pcm_read:2031: read error: Input/output error
The list of sound cards like this:
ubuntu@tegra-ubuntu:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: tegrart5639 [tegra-rt5639], device 0: rt5639 PCM rt5639-aif1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrart5639 [tegra-rt5639], device 2: BT SCO PCM dit-hifi-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrart5639 [tegra-rt5639], device 3: VOICE CALL PCM rt5639-aif1-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrart5639 [tegra-rt5639], device 4: BT VOICE CALL PCM dit-hifi-4 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrart5639 [tegra-rt5639], device 5: offload-pcm (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: tegrart5639 [tegra-rt5639], device 7: offload-pcm-capture snd-soc-dummy-dai-7 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Device [PrimeSense Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
The list device names:
ubuntu@tegra-ubuntu:~$ arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Playback/recording through the PulseAudio sound server
music
demixer
voice
aux_plug
music_and_voice
sysdefault:CARD=tegrart5639
tegra-rt5639,
Default Audio Device
dmix:CARD=tegrart5639,DEV=0
tegra-rt5639,
Direct sample mixing device
dmix:CARD=tegrart5639,DEV=2
tegra-rt5639,
Direct sample mixing device
dmix:CARD=tegrart5639,DEV=3
tegra-rt5639,
Direct sample mixing device
dmix:CARD=tegrart5639,DEV=4
tegra-rt5639,
Direct sample mixing device
dmix:CARD=tegrart5639,DEV=5
tegra-rt5639,
Direct sample mixing device
dmix:CARD=tegrart5639,DEV=7
tegra-rt5639,
Direct sample mixing device
dsnoop:CARD=tegrart5639,DEV=0
tegra-rt5639,
Direct sample snooping device
dsnoop:CARD=tegrart5639,DEV=2
tegra-rt5639,
Direct sample snooping device
dsnoop:CARD=tegrart5639,DEV=3
tegra-rt5639,
Direct sample snooping device
dsnoop:CARD=tegrart5639,DEV=4
tegra-rt5639,
Direct sample snooping device
dsnoop:CARD=tegrart5639,DEV=5
tegra-rt5639,
Direct sample snooping device
dsnoop:CARD=tegrart5639,DEV=7
tegra-rt5639,
Direct sample snooping device
hw:CARD=tegrart5639,DEV=0
tegra-rt5639,
Direct hardware device without any conversions
hw:CARD=tegrart5639,DEV=2
tegra-rt5639,
Direct hardware device without any conversions
hw:CARD=tegrart5639,DEV=3
tegra-rt5639,
Direct hardware device without any conversions
hw:CARD=tegrart5639,DEV=4
tegra-rt5639,
Direct hardware device without any conversions
hw:CARD=tegrart5639,DEV=5
tegra-rt5639,
Direct hardware device without any conversions
hw:CARD=tegrart5639,DEV=7
tegra-rt5639,
Direct hardware device without any conversions
plughw:CARD=tegrart5639,DEV=0
tegra-rt5639,
Hardware device with all software conversions
plughw:CARD=tegrart5639,DEV=2
tegra-rt5639,
Hardware device with all software conversions
plughw:CARD=tegrart5639,DEV=3
tegra-rt5639,
Hardware device with all software conversions
plughw:CARD=tegrart5639,DEV=4
tegra-rt5639,
Hardware device with all software conversions
plughw:CARD=tegrart5639,DEV=5
tegra-rt5639,
Hardware device with all software conversions
plughw:CARD=tegrart5639,DEV=7
tegra-rt5639,
Hardware device with all software conversions
sysdefault:CARD=Device
PrimeSense Device, USB Audio
Default Audio Device
front:CARD=Device,DEV=0
PrimeSense Device, USB Audio
Front speakers
surround40:CARD=Device,DEV=0
PrimeSense Device, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
PrimeSense Device, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
PrimeSense Device, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
PrimeSense Device, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
PrimeSense Device, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
PrimeSense Device, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Device,DEV=0
PrimeSense Device, USB Audio
Direct sample mixing device
dsnoop:CARD=Device,DEV=0
PrimeSense Device, USB Audio
Direct sample snooping device
hw:CARD=Device,DEV=0
PrimeSense Device, USB Audio
Direct hardware device without any conversions
plughw:CARD=Device,DEV=0
PrimeSense Device, USB Audio
Hardware device with all software conversions
What the problem it is? ths