Respeaker on raspberry Pi

Hi,

I have bought 2 ReSpeakers 4-Mic Array for Raspberry Pi and I’m trying to
set them up on a new Raspberry Pi B+ with a clean build of Raspian.

I am using this document for setting up:

http://wiki.seeedstudio.com/ReSpeaker_4_Mic_Array_for_Raspberry_Pi/#getting-started

At step 4 of install driver section when I run arecord -L I see:

pi@raspberrypi:~/seeed-voicecard $ arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
default
playback
ac108

I have tried rebuild of raspbian and using 2 different Pis. Please help.

Thanks

Mat Walker

Hi

Mat,


1. Do you use Raspberry Pi 1 Model B+?

2. Which raspbian os do you use? We tested with latest raspbian OS Version: April 2019, Release date: 2019-04-08, Kernel version: 4.14, It works with my raspberry pi 3b/3b+.

3. We have build the image with drivers pre-installed. You can download and burn to SD card and see if it works.


https://v2.fangcloud.com/share/7395fd138a1cab496fd4792fe5?folder_id=188000207913&lang=en

4. Please let us know if you still have the issue with step3.

Thanks

best rgds
Bill

Hi Bill,



Thanks for your reply.



It’s a new Raspberry Pi 3 Model B +. I have two of them for a project with

Noobs SIM cards and I started with a clean install with latest OS:



Raspbian GNU/Linux 9 (stretch)

version 9 (stretch)



4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST armv71 GNU/Linux



I found this on the forum yesterday with the same problem:



<URL url="https://forum7.seeedstudio.com/t/4-mic-linear-array-not-recognized/6678/2 text=“viewtopic.php?f=37&t=31995&p=53679&hili … 200#p53679”>https://forum7.seeedstudio.com/t/4-mic-linear-array-not-recognized/6678/2


Resinstalling the driver didn’t help but using your image solved the

problem. Your image takes me to an earlier core:



v4.14.52-v7+ #1123 SMP Wed Jun 27 17:35:49 SBST 2018 armv71 GNU/Linux



Next problem was that all the pip installs for DOA without keywords are

for Python 2. I resolved this by using pip3 and manually fixing Queue to

queue in mic_array.py.



Final problem was that the LED instructions are very confusing. The

vad_doa.py example in the Raspberry Pi instructions uses

pixel_ring.set_direction and this doesn’t work giving USB not found error.

Found this article

https://github.com/respeaker/mic_array/issues/18



So everything is working fine now.



Hope this helps. Maybe some of this information could go in the getting

started document.

HI Mat


Thanks for the feedback.

1. I will test Raspbian GNU/Linux 9 (stretch) version 9 (stretch) tomorrow.

4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST armv71 GNU/Linux

2. "

DOA without keywords

", Current it is python 2.7. I will talk with software team and see their plan to move to python3


3. For the leds, please refer to https://github.com/respeaker/pixel_ring


Thanks

best rgds
Bill

HI Mat,


I talked with software team and they fixed the issue. So please run below commands as below.

sudo ./uninstall.sh
sudo reboot
sudo ./install.sh
sudo reboot


pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux
pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: seeed4micvoicec [seeed-4mic-voicecard], device 0: bcm2835-i2s-ac10x-codec0 ac10x-codec.1-003b-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@raspberrypi:~ $


Thanks

best rgds
Bill

Hi Bill,



Thanks for sorting out the driver. I’ll try this next week once my event

is over. I have a stable, working system using your image.