Ubuntu 14.04中的“Dummy Output”声音

虚拟输出显示在Ubuntu 14.04的系统设置 – >声音中。

在此处输入图像描述

关于这一点的其他问题都没有解决我的问题。

我正在使用戴尔Inspiron N5110。 我的Ubuntu 14.04上的声音让我发疯。 当我打开电脑时,它可以工作,也不会随意工作。

我已经按照13.10的步骤和Ubuntu 13.04中没有声音的答案,只列出了虚拟输出设备 ,但似乎没有解决问题。

遵循Ubuntu文档Hda Intel Sound Howto中的说明 。 目前我在alsa-base.conf文件中有dell-s14 alsa-base.conf 。 我保存并重新启动alsa后,我可以听到笔记本电脑扬声器发出的声音,但重启后声音丢失了。 将它从dell-s14 dell-vostro-3500更改为dell-vostro-3500不起作用。 运行pulseaudio -D Daemon startup failed


 cat /proc/asound/card0/codec* | grep Codec` 

 Codec: IDT 92HD87B1/3 

这是与HD-Audio-Models.txt编解码器匹配的部分

  STAC92HD83* =========== ref Reference board mic-ref Reference board with power management for ports dell-s14 Dell laptop dell-vostro-3500 Dell Vostro 3500 laptop hp-dv7-4000 HP dv-7 4000 auto BIOS setup (default) 

 pulseaudio -vvv 

得到:

 I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us. D: [pulseaudio] core-util.c: RealtimeKit worked. I: [pulseaudio] core-util.c: Successfully gained nice level -11. I: [pulseaudio] main.c: This is PulseAudio 4.0 D: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option D: [pulseaudio] main.c: Running on host: Linux x86_64 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 D: [pulseaudio] main.c: Found 4 CPUs. I: [pulseaudio] main.c: Page size is 4096 bytes D: [pulseaudio] main.c: Compiled with Valgrind support: no D: [pulseaudio] main.c: Running in valgrind mode: no D: [pulseaudio] main.c: Running in VM: no D: [pulseaudio] main.c: Optimized build: yes D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled. I: [pulseaudio] main.c: Machine ID is 41cf9ca67be1059b2fa9e2fd533d698b. I: [pulseaudio] main.c: Session ID is c2. I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse. I: [pulseaudio] main.c: Using state directory /home/me/.config/pulse. I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-4.0/modules. I: [pulseaudio] main.c: Running in system mode: no E: [pulseaudio] pid.c: Daemon already running. E: [pulseaudio] main.c: pa_pid_file_create() failed. 

更新

在我将dell-vostro-3500dell-vostro-3500添加到alsa-base.conf并重新启动我的PC并登录后,没有声音托盘图标,我退出并登录,然后我收到了声音!

我检查了你提供的声卡信息,这就是我想出来的。 根据我通过搜索互联网找到的内容,您必须编辑alsa-base声音配置文件并添加dell-vostro-3500dell-vostro-3500 。 您的戴尔Inspiron笔记本电脑不是戴尔Vostro,而是戴尔笔记本电脑。 由于只有两种选择可供选择,请选择dell-s14

如果这不起作用,我建议您尝试使用dell-vostro-3500因为戴尔Inspiron和戴尔Vostro在很多方面都很相似。 Dell Vostro是戴尔Inspiron消费类笔记本电脑的商业版本,在硬件和规格方面存在一些差异。

在运行以下命令之前,先阅读它们,如果您已经尝试过它们,那么它将使您免于做不必要的工作。

打开终端并输入:

 sudo touch /etc/modprobe.d/alsa-base.conf.bak sudo cp /etc/modprobe.d/alsa-base.conf /etc/modprobe.d/alsa-base.conf.bak # backup alsa-base.conf sudo nano /etc/modprobe.d/alsa-base.conf 

这将打开alsa-base.conf,以便在nano文本编辑器中进行编辑。 向下滚动到alsa-base.conf的底部,并将此新行添加到底部:

 options snd-hda-intel model=dell-s14 

按键盘组合Ctrl + O ,然后按Enter键保存对alsa-base.conf所做的更改。 按键盘组合Ctrl + X退出nano。

接下来运行以下命令:

 sudo alsa force-reload 

下次重新启动时检查以确定重新启动后您所做的更改是否仍然存在。

我将我的用户添加到’audio’组,重新登录后,它已修复。

 usermod -a -G audio $USER 

我注意到当aplay无法将设备列为用户时:

列出我的帐户:

 aplay -l aplay: device_list:268: no soundcards found 

它没有看到任何卡片,但是当用root( sudo )列出时:

 aplay -l \*\*\*\* List of PLAYBACK Hardware Devices \*\*\*\* card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 

它看到了所有。

我不知道为什么这是必要的,因为在我的其他机器上该组存在,我的用户也不是它的一部分。 它确实有效。

 sudo modprobe snd-hda-intel 

此命令使用modprobe,一种用于在Linux内核中添加和删除模块的工具,以添加对音频的支持。

在我的情况下,以下命令帮助了我:

 pulseaudio --kill sudo alsa force-reload pulseaudio --start 

在这里找到http://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/#comment-964131972


更新2016-01-29:我升级到15.10并且在这里有同样的问题。 在15.10它就足以运行了

 sudo alsa force-reload 

这些都不适合我

我从http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/pc/audio/0001-LinuxPkg_5.18rc8.tar.bz2下载了驱动程序并安装了它。

它现在正在运作。