This is an enhancement fork with the explicit aim of supporting current shipping Raspbian/Ubuntu kernels without requiring downgrading. Please donate at https://hintak.github.io/ if it works for you. Use vX.Y branch for kernel version vX.Y
Find a file
2017-09-14 11:37:50 +00:00
ac108_plugin add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
ac108.c add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
ac108.h add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
ac108_asound.state add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
asound.conf optmize some selections 2017-09-14 11:37:50 +00:00
builddtbo.sh add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
default.pa add pulseaudio default configuration file 2017-09-08 04:12:53 +00:00
dkms.conf add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
install.sh only allow one card 2017-09-14 10:39:38 +00:00
Makefile change the install dir 2017-09-14 09:26:20 +00:00
README.md Add Gitter badge 2017-09-08 05:37:28 +00:00
seeed-2mic-voicecard-overlay.dts add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
seeed-2mic-voicecard.dtbo add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
seeed-4mic-voicecard-overlay.dts add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
seeed-4mic-voicecard.dtbo add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00
wm8960.c remove debug message 2017-05-22 15:49:41 +08:00
wm8960.h add wm8960.h header file 2017-04-27 16:52:22 +08:00
wm8960_asound.state add respeaker 4mic audio card driver 2017-09-14 08:29:26 +00:00

seeed-voicecard

Join the chat at https://gitter.im/seeed-voicecard/Lobby

While the upstream wm8960 codec is not currently supported by current Pi kernel builds, upstream wm8960 has some bugs, we had fixed it. we must it build manually.

Get the seeed voice card source code.

git clone https://github.com/respeaker/seeed-voicecard
cd seeed-voicecard
sudo ./install.sh
reboot

Check that the sound card name matches the source code seeed-voicecard.

pi@raspberrypi:~/seeed-voicecard$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: seeedvoicecard [seeed-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@raspberrypi:~/seeed-voicecard$ 

Next apply the alsa controls setting

sudo alsactl --file=asound.state restore

If you want to change the alsa settings, You can use sudo alsactl --file=asound.state store to save it.

Test:

arecord -f cd -Dhw:1 | aplay -Dhw:1

with Google Assistant

if you run the assistant but the playback is speed up considerably, try to configure alsa:

sudo cp asound.conf /etc/asound.conf

If the alsa configuration doesn't solve the issue, try to use pulseaudio. See #4

Enjoy !