Microphone not recording audio

Hi! I have been following the installation and setup guide but when I try to test the mics, I cannot record any audio. I have tried using Pyaudio and arecord, but none of them work. All I get is this on the terminal:



[DEBUG:2021-11-04 02:13:16,383] rhasspyserver_hermes: -> AudioGetDevices(modes=[<AudioDeviceMode.INPUT: 'input'>], site_id='default', id='1a1845fd-159a-4eaa-8483-15e15e37d1a0', test=True)
[DEBUG:2021-11-04 02:13:16,385] rhasspyserver_hermes: Publishing 101 bytes(s) to rhasspy/audioServer/getDevices
[DEBUG:2021-11-04 02:13:16,394] rhasspymicrophone_cli_hermes: <- AudioGetDevices(modes=[<AudioDeviceMode.INPUT: 'input'>], site_id='default', id='1a1845fd-159a-4eaa-8483-15e15e37d1a0', test=True)
[DEBUG:2021-11-04 02:13:16,395] rhasspymicrophone_cli_hermes: ['arecord', '-L']
[DEBUG:2021-11-04 02:13:16,466] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'default', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
[DEBUG:2021-11-04 02:13:16,636] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'sysdefault', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:16,668] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround21', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:16,702] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround40', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:16,735] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround41', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:16,771] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround50', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:16,812] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround51', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:16,854] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'null', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
[DEBUG:2021-11-04 02:13:16,886] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'samplerate', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:16,919] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'speexrate', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:16,957] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'jack', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
arecord: main:852: audio open error: No such file or directory
[DEBUG:2021-11-04 02:13:17,011] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'oss', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
arecord: main:852: audio open error: Invalid argument
[DEBUG:2021-11-04 02:13:17,040] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'pulse', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
[DEBUG:2021-11-04 02:13:17,212] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'upmix', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,250] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'vdownmix', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,275] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'sysdefault:CARD=I82801AAICH', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,299] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'front:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,334] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround21:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,366] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround40:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,397] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround41:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,430] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround50:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,461] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'surround51:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,478] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'iec958:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,506] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'dmix:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
arecord: main:852: audio open error: Invalid argument
[DEBUG:2021-11-04 02:13:17,525] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'dmix:CARD=I82801AAICH,DEV=1', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
arecord: main:852: audio open error: Invalid argument
[DEBUG:2021-11-04 02:13:17,551] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'dsnoop:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,575] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'dsnoop:CARD=I82801AAICH,DEV=1', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: set_params:1374: Channels count non available
[DEBUG:2021-11-04 02:13:17,619] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'hw:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,668] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'hw:CARD=I82801AAICH,DEV=1', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: set_params:1374: Channels count non available
[DEBUG:2021-11-04 02:13:17,710] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'plughw:CARD=I82801AAICH,DEV=0', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
arecord: main:852: audio open error: Device or resource busy
[DEBUG:2021-11-04 02:13:17,743] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-D', 'plughw:CARD=I82801AAICH,DEV=1', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw']
[DEBUG:2021-11-04 02:13:17,929] rhasspymicrophone_cli_hermes: -> AudioDevices(devices=[AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='default', name='default', description='Playback/recording through the PulseAudio sound server*', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='sysdefault', name='sysdefault', description='Default Audio Device', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround21', name='surround21', description='2.1 Surround output to Front and Subwoofer speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround40', name='surround40', description='4.0 Surround output to Front and Rear speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround41', name='surround41', description='4.1 Surround output to Front, Rear and Subwoofer speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround50', name='surround50', description='5.0 Surround output to Front, Center and Rear speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround51', name='surround51', description='5.1 Surround output to Front, Center, Rear and Subwoofer speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='null', name='null', description='Discard all samples (playback) or generate zero samples (capture)', working=True), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='samplerate', name='samplerate', description='Rate Converter Plugin Using Samplerate Library', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='speexrate', name='speexrate', description='Rate Converter Plugin Using Speex Resampler', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='jack', name='jack', description='JACK Audio Connection Kit', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='oss', name='oss', description='Open Sound System', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='pulse', name='pulse', description='PulseAudio Sound Server', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='upmix', name='upmix', description='Plugin for channel upmix (4,6,8)', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='vdownmix', name='vdownmix', description='Plugin for channel downmix (stereo) with a simple spacialization', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='sysdefault:CARD=I82801AAICH', name='sysdefault:CARD=I82801AAICH', description='Default Audio Device', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='front:CARD=I82801AAICH,DEV=0', name='front:CARD=I82801AAICH,DEV=0', description='Front speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround21:CARD=I82801AAICH,DEV=0', name='surround21:CARD=I82801AAICH,DEV=0', description='2.1 Surround output to Front and Subwoofer speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround40:CARD=I82801AAICH,DEV=0', name='surround40:CARD=I82801AAICH,DEV=0', description='4.0 Surround output to Front and Rear speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround41:CARD=I82801AAICH,DEV=0', name='surround41:CARD=I82801AAICH,DEV=0', description='4.1 Surround output to Front, Rear and Subwoofer speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround50:CARD=I82801AAICH,DEV=0', name='surround50:CARD=I82801AAICH,DEV=0', description='5.0 Surround output to Front, Center and Rear speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='surround51:CARD=I82801AAICH,DEV=0', name='surround51:CARD=I82801AAICH,DEV=0', description='5.1 Surround output to Front, Center, Rear and Subwoofer speakers', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='iec958:CARD=I82801AAICH,DEV=0', name='iec958:CARD=I82801AAICH,DEV=0', description='IEC958 (S/PDIF) Digital Audio Output', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='dmix:CARD=I82801AAICH,DEV=0', name='dmix:CARD=I82801AAICH,DEV=0', description='Direct sample mixing device', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='dmix:CARD=I82801AAICH,DEV=1', name='dmix:CARD=I82801AAICH,DEV=1', description='Direct sample mixing device', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='dsnoop:CARD=I82801AAICH,DEV=0', name='dsnoop:CARD=I82801AAICH,DEV=0', description='Direct sample snooping device', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='dsnoop:CARD=I82801AAICH,DEV=1', name='dsnoop:CARD=I82801AAICH,DEV=1', description='Direct sample snooping device', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='hw:CARD=I82801AAICH,DEV=0', name='hw:CARD=I82801AAICH,DEV=0', description='Direct hardware device without any conversions', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='hw:CARD=I82801AAICH,DEV=1', name='hw:CARD=I82801AAICH,DEV=1', description='Direct hardware device without any conversions', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='plughw:CARD=I82801AAICH,DEV=0', name='plughw:CARD=I82801AAICH,DEV=0', description='Hardware device with all software conversions', working=False), AudioDevice(mode=<AudioDeviceMode.INPUT: 'input'>, id='plughw:CARD=I82801AAICH,DEV=1', name='plughw:CARD=I82801AAICH,DEV=1', description='Hardware device with all software conversions', working=False)], site_id='default', id='1a1845fd-159a-4eaa-8483-15e15e37d1a0')
[DEBUG:2021-11-04 02:13:17,930] rhasspymicrophone_cli_hermes: Publishing 4965 bytes(s) to rhasspy/audioServer/devices
[DEBUG:2021-11-04 02:13:17,974] rhasspyserver_hermes: Handling AudioDevices (topic=rhasspy/audioServer/devices, id=86b9064f-02f4-4227-9c97-d42d671cc06c)

Are you running other processes that use the mike? Because that is what the error means.