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

Installation works but recording does not as the configuration seems to be wrong #41

Closed
CoolM8 opened this issue Mar 5, 2018 · 5 comments

Comments

@CoolM8
Copy link

CoolM8 commented Mar 5, 2018

Im on Raspbian Jessie Lite and for the installation of the ac108 driver to work i had to do the following steps:

  1. sudo dpkg --configure -a
  2. edit the following line in install.sh:
    apt-get -y install raspberrypi-kernel-headers raspberrypi-kernel to apt-get -y --force-yes install raspberrypi-kernel-headers raspberrypi-kernel
  3. run sudo ./install.sh 4mic

After rebooting and entering arecord -L I only see PulseAudio. Then when i enter sudo systemctl restart seeed-voicecard i get the voice card to be listed, but it looks like the following:
null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default Playback/recording through the PulseAudio sound server playback dmixed ac108 multiapps sysdefault:CARD=seeed4micvoicec seeed-4mic-voicecard, Default Audio Device dmix:CARD=seeed4micvoicec,DEV=0 seeed-4mic-voicecard, Direct sample mixing device dsnoop:CARD=seeed4micvoicec,DEV=0 seeed-4mic-voicecard, Direct sample snooping device hw:CARD=seeed4micvoicec,DEV=0 seeed-4mic-voicecard, Direct hardware device without any conversions plughw:CARD=seeed4micvoicec,DEV=0 seeed-4mic-voicecard, Hardware device with all software conversions

When trying to record anything I get the following message:
ALSA lib pcm_direct.c:999:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dsnoop.c:629:(snd_pcm_dsnoop_open) unable to initialize slave
arecord: main:722: audio open error: Invalid argument

How can I bring this to work?

@turmary
Copy link
Contributor

turmary commented Mar 6, 2018

Hi,
Do you used the old version driver which install a plugin /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_ac108.so.
please try to delete it and try again.
sudo rm /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_ac108.so

@CoolM8
Copy link
Author

CoolM8 commented Mar 6, 2018 via email

@turmary
Copy link
Contributor

turmary commented Mar 6, 2018

Hi CoolM8,
OK, I want to know your kernel & image version generated by command below,
uname -a
cat /etc/os-release
Telling me the Raspbian Image download URL is prefer, which made me have the identical environment with you. Thanks.

@CoolM8
Copy link
Author

CoolM8 commented Mar 6, 2018

Just missed, but it is exactly the same issue as Issue #40

@turmary turmary closed this as completed Mar 20, 2018
@turmary
Copy link
Contributor

turmary commented Mar 20, 2018

Duplicate of #40

@turmary turmary marked this as a duplicate of #40 Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants