Hi there,
I bought a Pi hat from your store following instructions of youtube, I found my ALSA on Pi has problems like this :
</s>pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:1697:(snd_config_load1) _toplevel_:7:10:Unexpected char
ALSA lib conf.c:3417:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3339:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3788:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:277: control open (0): Invalid argument
<e>
The steps I was trying to follow was :
[code]git clone https://github.com/respeaker/seeed-voicecard
install.sh
sudo ./install.sh 2mic
sudo reboot
sudo aplay
arecord -f cd -Dhw:1 | aplay -Dhw:1[/code]
So When I was in “sudo aplay”, noting seems to work … Please help, thank you.
Hi there, please use below commands to install driver. sudo ./install.sh without the 2mics. the driver is for all respeaker pi hats.
sudo apt-get update
sudo apt-get upgrade
git clone https://github.com/respeaker/seeed-voicecard.git
cd seeed-voicecard
sudo ./install.sh
reboot
Seeed techsupport team
Bill
Thanks Bill, I had followed your instructions but still landed on “ALSA -l” and the following error (I suspect).
Please advise if this affect the use of Pi hat and if not, how do I test if the 2Mics Device is working.
Thank you again.
[code]DKMS: install completed.
snd-soc-wm8960:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.9.35-v7+/kernel/sound/soc/codecs/
snd-soc-ac108.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.9.35-v7+/kernel/sound/soc/codecs/
snd-soc-seeed-voicecard.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.9.35-v7+/kernel/sound/soc/bcm/
depmod…
DKMS: install completed.
mkdir: cannot create directory ‘/etc/voicecard’: File exists
Please reboot your raspberry pi to apply all settings
Enjoy!
pi@raspberrypi:~/seeed-voicecard $ sudo reboot
09:46:32 Socket error: Undefined error: 0
09:46:32 Disconnected from server
09:46:32 Connection failed, retry after 3 seconds…
09:46:36 Connecting to 172.19.30.36 port 22
09:46:36 Command: ssh -p 22 pi@172.19.30.36
09:46:36 Connect to 172.19.30.36:22, with timeout 15.000000
09:46:36 Create socket with IPv4 address family
09:46:44 Socket is connected successfully
09:46:44 Client banner: SSH-2.0-libssh-0.7.3
09:46:44 Server banner: SSH-2.0-OpenSSH_6.7p1 Raspbian-5+deb8u4
09:46:44 Negotiated with server
09:46:50 Authentication that can continue: password, publickey
09:46:50 Authenticating with “password” method
09:46:50 Password for remote host is found in OS X keychain
09:46:50 Authenticated to 172.19.30.36 ([172.19.30.36]:22)
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jul 13 09:46:05 2018
pi@raspberrypi:~ $ aplay -ls
aplay: invalid option – ‘s’
Try `aplay --help’ for more information.
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:1697:(snd_config_load1) toplevel:7:10:Unexpected char
ALSA lib conf.c:3417:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3339:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3788:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:277: control open (0): Invalid argument[/code]
Hi, Please try to uninstall the driver and then install it again.
cd seeed-voicecard
sudo ./uninstall.sh
if it still fails, what image do you use? We test it on Raspbian Operating System(2018.4.18) with below commands.
sudo apt-get update
sudo apt-get upgrade
git clone https://github.com/respeaker/seeed-voicecard.git
cd seeed-voicecard
sudo ./install.sh
reboot
thanks.
Seeed techsupport team