Open yerasiprathyusha opened 6 years ago
I am getting the following errors while running on Openwrt :-
root@OpenWrt:/tmp/respeaker_python_library/examples# python offline_voice_assistant.py ERROR:root:PyUSB is required on a Linux Machine ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline _snd_pcm_gcs_io_open: rate = 16000 _snd_pcm_gcs_io_open: channels = 6 gcs_initialize: enter osal_dev_open: open failed: 2ipc_init: dev open failed, ret = -2 pktzr_init: Initialization failed, ret = -2 gcs_init: Failed to initialize IPC packetizer gcs_initialize: gcs_init failed, err = -2 gcs_initialize: leave _snd_pcm_gcs_io_open: gcs_initialize failed -2 gcs_do_mixer_controls: executing the mixer controls amixer: Unable to find simple control 'ADC MUX0',0
amixer: Unable to find simple control 'DMIC MUX0',0
amixer: Unable to find simple control 'ADC MUX1',0
amixer: Unable to find simple control 'DMIC MUX1',0
amixer: Unable to find simple control 'ADC MUX2',0
amixer: Unable to find simple control 'DMIC MUX2',0
amixer: Unable to find simple control 'ADC MUX3',0
amixer: Unable to find simple control 'DMIC MUX3',0
amixer: Unable to find simple control 'ADC MUX4',0
amixer: Unable to find simple control 'DMIC MUX4',0
amixer: Unable to find simple control 'ADC MUX5',0
amixer: Unable to find simple control 'DMIC MUX5',0
amixer: Unable to find simple control 'WDMA1 CH0 MUX',0
amixer: Unable to find simple control 'WDMA1 CH1 MUX',0
amixer: Unable to find simple control 'WDMA1 CH2 MUX',0
amixer: Unable to find simple control 'WDMA1 CH3 MUX',0
amixer: Unable to find simple control 'WDMA1 CH4 MUX',0
amixer: Unable to find simple control 'WDMA1 CH5 MUX',0
amixer: Unable to find simple control 'WDMA1_ON_OFF',0
gcs_do_mixer_controls: done enable mixer controls Segmentation fault
I am getting the following errors while running on Openwrt :-
root@OpenWrt:/tmp/respeaker_python_library/examples# python offline_voice_assistant.py
ERROR:root:PyUSB is required on a Linux Machine ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline _snd_pcm_gcs_io_open: rate = 16000 _snd_pcm_gcs_io_open: channels = 6 gcs_initialize: enter osal_dev_open: open failed: 2ipc_init: dev open failed, ret = -2 pktzr_init: Initialization failed, ret = -2 gcs_init: Failed to initialize IPC packetizer gcs_initialize: gcs_init failed, err = -2 gcs_initialize: leave _snd_pcm_gcs_io_open: gcs_initialize failed -2 gcs_do_mixer_controls: executing the mixer controls amixer: Unable to find simple control 'ADC MUX0',0
amixer: Unable to find simple control 'DMIC MUX0',0
amixer: Unable to find simple control 'ADC MUX1',0
amixer: Unable to find simple control 'DMIC MUX1',0
amixer: Unable to find simple control 'ADC MUX2',0
amixer: Unable to find simple control 'DMIC MUX2',0
amixer: Unable to find simple control 'ADC MUX3',0
amixer: Unable to find simple control 'DMIC MUX3',0
amixer: Unable to find simple control 'ADC MUX4',0
amixer: Unable to find simple control 'DMIC MUX4',0
amixer: Unable to find simple control 'ADC MUX5',0
amixer: Unable to find simple control 'DMIC MUX5',0
amixer: Unable to find simple control 'WDMA1 CH0 MUX',0
amixer: Unable to find simple control 'WDMA1 CH1 MUX',0
amixer: Unable to find simple control 'WDMA1 CH2 MUX',0
amixer: Unable to find simple control 'WDMA1 CH3 MUX',0
amixer: Unable to find simple control 'WDMA1 CH4 MUX',0
amixer: Unable to find simple control 'WDMA1 CH5 MUX',0
amixer: Unable to find simple control 'WDMA1_ON_OFF',0
gcs_do_mixer_controls: done enable mixer controls Segmentation fault