It took a while (10s?) before.
Now I get this immediately:
evices: 1/1
Subdevice #0: subdevice #0
pi@cam-09:~ $ arecord -f cd -d 10 --device="hw:2,0" /tmp/test-mic.wav
Recording WAVE '/tmp/test-mic.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: set_params:1407: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (125011 125012)
PERIOD_SIZE: 5513
PERIOD_BYTES: 22052
PERIODS: 4
BUFFER_TIME: (500045 500046)
BUFFER_SIZE: 22052
BUFFER_BYTES: 88208
TICK_TIME: 0
This most recent one (after a reboot that changed the card $) laste the full 30 seconds and showed the mixer EQ at the bottom. That was pegged at 99% the whole time.
I need to move the file to see if I can hear anything but it looks like it died the same way.
pi@cam-09:~ $ arecord --device="hw:2,0" -c2 -r 48000 -f S32_LE -t wav -V stereo -d 30 -v file_stereo.wav
Recording WAVE 'file_stereo.wav' : Signed 32 bit Little Endian, Rate 48000 Hz, Stereo
Hardware PCM card 2 'audioinjector-ultra' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 24000
period_size : 6000
period_time : 125000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 6000
period_event : 0
start_threshold : 1
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 1572864000
appl_ptr : 0
hw_ptr : 0
+################################# 99%|99%##################################+ arecord: pcm_read:2152: read error: Input/output error