UbiquityRobotics / ubiquity_main

Main documentation as well as other misc files
Other
19 stars 7 forks source link

Configure Seeed respeaker 4 mic array with ubiquity rpi image #210

Open Kuldeepwadaskar opened 4 years ago

Kuldeepwadaskar commented 4 years ago

i am using ubiquity rpi image for my project where i have NLP application. i am trying to install seeed respeker 4 mic array configuration by following http://wiki.seeedstudio.com/ReSpeaker_4_Mic_Array_for_Raspberry_Pi/ this intructions. the installation completes with following results ubuntu@ubiquityrobot:~/seeed-voicecard$ sudo ./install.sh [sudo] password for ubuntu: Hit:1 http://ports.ubuntu.com xenial InRelease
Hit:2 http://ports.ubuntu.com xenial-updates InRelease
Hit:4 http://packages.ros.org/ros/ubuntu xenial InRelease
Hit:5 http://ports.ubuntu.com xenial-security InRelease
Hit:6 http://ports.ubuntu.com xenial-backports InRelease
Hit:7 http://ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu xenial InRelease Get:3 http://ppa.launchpad.net/kivy-team/kivy/ubuntu xenial InRelease [17.5 kB] Hit:8 https://packages.ubiquityrobotics.com/ubuntu/ubiquity xenial InRelease Err:3 http://ppa.launchpad.net/kivy-team/kivy/ubuntu xenial InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A94F2C37A863D2D6 Reading package lists... Done W: GPG error: http://ppa.launchpad.net/kivy-team/kivy/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A94F2C37A863D2D6 E: The repository 'http://ppa.launchpad.net/kivy-team/kivy/ubuntu xenial InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Reading package lists... Done Building dependency tree
Reading state information... Done libasound2-plugins is already the newest version (1.1.0-0ubuntu1). dkms is already the newest version (2.2.0.3-2ubuntu11.8). git is already the newest version (1:2.7.4-0ubuntu1.6). i2c-tools is already the newest version (3.1.2-3~xenial1.0). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. E: Can't find a source to download version '1.20190925+1-1' of 'raspberrypi-kernel:armhf' --2019-10-24 06:08:51-- http://raspberrypi-kernel_4.19.75-v7+_armhf.deb/ Resolving raspberrypi-kernel_4.19.75-v7+_armhf.deb (raspberrypi-kernel_4.19.75-v7+_armhf.deb)... failed: Name or service not known. wget: unable to resolve host address ‘raspberrypi-kernel_4.19.75-v7+_armhf.deb’ --2019-10-24 06:08:52-- http://raspberrypi-kernel_4.19.75-v7+_armhf.deb/ Resolving raspberrypi-kernel_4.19.75-v7+_armhf.deb (raspberrypi-kernel_4.19.75-v7+_armhf.deb)... failed: Name or service not known. wget: unable to resolve host address ‘raspberrypi-kernel_4.19.75-v7+_armhf.deb’ --2019-10-24 06:08:52-- http://raspberrypi-kernel_4.19.75-v7+_armhf.deb/ Resolving raspberrypi-kernel_4.19.75-v7+_armhf.deb (raspberrypi-kernel_4.19.75-v7+_armhf.deb)... failed: Name or service not known. wget: unable to resolve host address ‘raspberrypi-kernel_4.19.75-v7+_armhf.deb’ dpkg-deb: error: '/tmp/raspberrypi-kernel_4.19.75-v7+_armhf.deb' is not a debian format archive dpkg: error processing archive /tmp/raspberrypi-kernel_4.19.75-v7+_armhf.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: /tmp/raspberrypi-kernel_4.19.75-v7+_armhf.deb --2019-10-24 06:08:53-- http://raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb/ Resolving raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb (raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb)... failed: Name or service not known. wget: unable to resolve host address ‘raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb’ --2019-10-24 06:08:53-- http://raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb/ Resolving raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb (raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb)... failed: Name or service not known. wget: unable to resolve host address ‘raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb’ --2019-10-24 06:08:53-- http://raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb/ Resolving raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb (raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb)... failed: Name or service not known. wget: unable to resolve host address ‘raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb’ dpkg-deb: error: '/tmp/raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb' is not a debian format archive dpkg: error processing archive /tmp/raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: /tmp/raspberrypi-kernel-headers_4.19.75-v7+_armhf.deb

-------- Uninstall Beginning -------- Module: seeed-voicecard Version: 0.3 Kernel: 4.19.75+ (armv7l)

Status: Before uninstall, this module version was ACTIVE on this kernel.

snd-soc-wm8960.ko:

snd-soc-ac108.ko:

snd-soc-seeed-voicecard.ko:

depmod.....

DKMS: uninstall completed.

-------- Uninstall Beginning -------- Module: seeed-voicecard Version: 0.3 Kernel: 4.19.75-v7+ (armv7l)

Status: Before uninstall, this module version was ACTIVE on this kernel.

snd-soc-wm8960.ko:

snd-soc-ac108.ko:

snd-soc-seeed-voicecard.ko:

depmod.....

DKMS: uninstall completed.

-------- Uninstall Beginning -------- Module: seeed-voicecard Version: 0.3 Kernel: 4.19.75-v7l+ (armv7l)

Status: Before uninstall, this module version was ACTIVE on this kernel.

snd-soc-wm8960.ko:

snd-soc-ac108.ko:

snd-soc-seeed-voicecard.ko:

depmod.....

DKMS: uninstall completed.


Deleting module version: 0.3 completely from the DKMS tree.

Done.

Creating symlink /var/lib/dkms/seeed-voicecard/0.3/source -> /usr/src/seeed-voicecard-0.3

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area..... make KERNELRELEASE=4.19.75+ -C /lib/modules/4.19.75+/build M=/var/lib/dkms/seeed-voicecard/0.3/build............. cleaning build area.....

DKMS: build completed.

snd-soc-wm8960: Running module version sanity check.

snd-soc-ac108.ko: Running module version sanity check.

snd-soc-seeed-voicecard.ko: Running module version sanity check.

depmod....

DKMS: install completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area..... make KERNELRELEASE=4.19.75-v7+ -C /lib/modules/4.19.75-v7+/build M=/var/lib/dkms/seeed-voicecard/0.3/build............. cleaning build area.....

DKMS: build completed.

snd-soc-wm8960: Running module version sanity check.

snd-soc-ac108.ko: Running module version sanity check.

snd-soc-seeed-voicecard.ko: Running module version sanity check.

depmod....

DKMS: install completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area..... make KERNELRELEASE=4.19.75-v7l+ -C /lib/modules/4.19.75-v7l+/build M=/var/lib/dkms/seeed-voicecard/0.3/build............. cleaning build area.....

DKMS: build completed.

snd-soc-wm8960: Running module version sanity check.

snd-soc-ac108.ko: Running module version sanity check.

snd-soc-seeed-voicecard.ko: Running module version sanity check.

depmod....

DKMS: install completed. mkdir: cannot create directory ‘/etc/voicecard’: File exists git init Reinitialized existing Git repository in /etc/voicecard/.git/ git add --all git commit -m "origin configures" On branch master nothing to commit, working directory clean

Please reboot your raspberry pi to apply all settings Enjoy!

then i checked $ 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

still the mic is not recording anything!!!! whats is the problem ? How to solve?