alsa无法读取控制无效的参数 - raspberry pi

时间:2014-10-30 19:15:49

标签: raspberry-pi alsa

我正在尝试使用覆盖树pi模型b plus上的PS Eye录制音频(我尝试使用较旧的b模型,同样的问题如下所示)。

我可以使用arecord / aplay录制和播放录音,以便麦克风正常工作。但是,由于录音非常低,我想增加麦克风音量。

当我在alsamixer中尝试此操作时,当我使用F6更改为PS Eye声卡时,它会退出并出现以下错误:

cannot load mixer controls: Invalid argument

我还注意到插入PS Eye时alsa-utils服务会失败(否则会很好):

sudo service alsa-utils restart
[FAIL] Shutting down ALSA...warning: 'alsactl store' failed with error message 'alsactl: get_control:259: Cannot read control '2,0,0,Mic Capture Volume,0': Invalid argument'...failed.
[....] Setting up ALSA...warning: 'alsactl restore' failed with error message 'No state is present for card CameraB409241
Found hardware: "USB-Audio" "USB Mixer" "USB1415:2000" "" ""
Hardware is initialized using a generic method
No state is present for card CameraB409241'...amixer: Mixer hw:1 load error: Invalid argument
amixer: Mixer hw:1 load error: Invalid argument
amixer: Mixer hw:1 load error: Invalid argument
amixer: Mixer hw:1 load error: Invalid argument
amixer: Mixer hw:1 load error: Invalid argument
...
done.

问题似乎是PS Eye的控件定义。我想知道以下内容:

  1. alsamixer从哪里加载特定设备的控件?他们是司机吗?

  2. 有没有办法以另一种方式增加麦克风音量?

  3. 我还没有使用Pulseaudio,但如果我无法解决这个问题,我会尝试使用它。

    感谢

    系统日志: 如果没有安装pulseaudio,重启alsa或尝试打开alsamixer中的控件都不会在系统日志中产生任何内容。但是,如果安装了脉冲音频,尝试打开alsamixer中的控件会给出:

    Oct 30 10:21:26 signaler pulseaudio[19000]: [pulseaudio] alsa-util.c: Unable to load mixer: Invalid argument
    Oct 30 10:21:27 signaler pulseaudio[19000]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    Oct 30 10:21:27 signaler pulseaudio[19000]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    

0 个答案:

没有答案