Ubuntu 16.0.4LTS 中声音不起作用

Ubuntu 16.0.4LTS 中声音不起作用

我在我们的嵌入式硬件上使用 ubuntu 16.0.4 LTS。声音不起作用。

设备的输出lspci -v如下Audio

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    Subsystem: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
    Flags: bus master, fast devsel, latency 0, IRQ 33
    Memory at f7430000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel


01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
    Subsystem: NVIDIA Corporation GK107 HDMI Audio Controller
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at f3080000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

不确定为什么有两个条目,但实际的放大器是 Intel Audio。我能够在此硬件上运行我们的自定义工具链(源自 Suse)上的声音,因此硬件工作正常。这是肯定的。

我确实尝试过卸载并重新安装alsapulseaudio但没有帮助。

我检查了混音器,声音没有静音,音量为 50%。

的输出sudo aplay -l是:

**** List of PLAYBACK Hardware Devices ****
Home directory not accessible: Permission denied
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 2: amplifier [4.1 amplifier], device 0: USB Audio [USB Audio]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

我还尝试使用以下方法播放声音aplay

aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

但扬声器里什么也听不到。没有声音。

您能建议如何修复此问题并使声音正常吗?

答案1

我不能承担修复的功劳。但是今天它坏了。<3-3-17>

在这里找到答案:

http://askubuntu.com/questions/464388/no-sound-from-laptop-speakers-in-ubuntu-14-04-after-booting-into-windows-8-1

Blockquote:最终通过在 /etc/modprobe.d/alsa-base.conf 文件中添加以下行“options snd-hda-intel model=auto”来实现

相关内容