Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2mic not listed in aplay #19

Closed
noemu opened this issue Dec 12, 2017 · 15 comments
Closed

2mic not listed in aplay #19

noemu opened this issue Dec 12, 2017 · 15 comments

Comments

@noemu
Copy link

noemu commented Dec 12, 2017

After driver installation and reboot on a vanilla Raspbian Stretch lite, i can't find the soundcard.

The RGB LED's are working over the SPI. However the aplay list only shows the bcm2835 default device.

Device: Raspberry Pi Zero W
Soundcard: ReSpeaker 2-mics Pi HAT v1.0
Linux raspberrypi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l

Install log:
https://pastebin.com/3DLwkaU7

@Pillar1989
Copy link
Contributor

Can you reboot the board ? Then send dmesg log to me .

@noemu
Copy link
Author

noemu commented Dec 13, 2017

Here the dmesg log
https://pastebin.com/VWueWjb0

@noemu
Copy link
Author

noemu commented Dec 13, 2017

fixed it:
if [ ! -f "/boot/overlays/seeed-4mic-voicecard.dtbo" ] && [ ! -f "/lib/modules/${uname_r}/kernel/sound/soc/codecs/snd-soc-ac108.ko" ] ; then
failed somehow, even after unistall.

The files didn't existed. Maybe it's because of the quotation marks.

@noemu noemu closed this as completed Dec 13, 2017
@beosro
Copy link

beosro commented Jan 13, 2018

Well, I have the same problem ...
Any solution?
I don't understand noemu last comment.
Thanks in advance.

@calinichta
Copy link

calinichta commented Jan 19, 2018

Hi beosro,

I think noemu took a look into the /seed-voicecard/install.sh file and fixed the problem by commenting out the if statement:
`#if [ ! -f "/boot/overlays/seeed-4mic-voicecard.dtbo" ] && [ ! -f "/lib/modules/${uname_r}/kernel/sound/soc/codecs/snd-soc-ac108.ko" ] ; then
install_module "./" "seeed-voicecard"
cp seeed-2mic-voicecard.dtbo /boot/overlays
cp seeed-4mic-voicecard.dtbo /boot/overlays
install -D ac108_plugin/libasound_module_pcm_ac108.so /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_ac108.so
#else

echo "card driver already installed"

#fi`

Unfortunately I'm not able to get this sound card work under Raspbian Stretch (Linux raspberrypi 4.9.26v7-aufs #1 SMP Tue May 9 20:14:03 CEST 2017 armv7l GNU/Linux), yet - but I try hard!

If I find a solution, I'll post it hear.

@giano
Copy link

giano commented Jan 20, 2018

Same here. Downgraded to Jessie 4.9.35+ kernel too, plain install on RPI zero w. Install goes well but device is not listed in aplay. I can see the boot modules in place.

@giano
Copy link

giano commented Jan 20, 2018

BTW. Switched to Dev Branch but no joy there too. Any log I can send you to help debugging and pinpointing this issue? Hoped to use your product for a virtual assistant.

@noemu
Copy link
Author

noemu commented Jan 20, 2018

try to run the uninstall with sudo and for each card (2mic and 4mic) and after a reboot run the original install.sh once with sudo and post the error.

@giano
Copy link

giano commented Jan 20, 2018 via email

@giano
Copy link

giano commented Jan 20, 2018 via email

@giano
Copy link

giano commented Jan 22, 2018

I can see in kern.log those lines:

Jan 20 19:13:15 jinni kernel: [ 5.373739] wm8960 1-001a: Failed to issue reset
Jan 20 19:13:15 jinni kernel: [ 5.373910] wm8960: probe of 1-001a failed with error -121

and

Jan 20 19:36:33 jinni kernel: [ 3.575627] snd_soc_ac108: loading out-of-tree module taints kernel.

I don't care about tainted kernel, but the first 2 lines seems an issue. So the module is loaded. Is the hardware malfunctioning?

@SimonGurney
Copy link

Pulled my hair out A LOT then this fixed it:
sudo ./uninstall 2mic
reboot
sudo ./uninstall 4mic
reboot
sudo ./install 2mic
reboot

@jabulonboaz
Copy link

@SimonGurney how did you do it please?
I get "command not found"
pi@raspberrypi:~ $ sudo ./uninstall 2mic
sudo: ./uninstall: command not found
pi@raspberrypi:~ $ cd seeed-voicecard
pi@raspberrypi:~/seeed-voicecard $ sudo ./uninstall 2mic
sudo: ./uninstall: command not found

@SimonGurney
Copy link

SimonGurney commented Feb 7, 2018

Sorry, try
./uninstall.sh 2mic

@jabulonboaz
Copy link

Its ok Simon i figured it out but no luck yet. See my other post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants