声音不工作 HDA-Intel Ubuntu 14.04

声音不工作 HDA-Intel Ubuntu 14.04

我认为我已经尝试了所有其他“声音不工作”的帖子,数不清了。

清除/重新安装 alsa 和 pulse,重新启动,将用户添加到音频组,alsa 配置文件中的各个行,例如“options snd-hda-intel model=”,然后尝试了不同的选项,如 generic、auto、basic、default 等。尝试了 pulseaudio -k && sudo alsa force-reload 几次,有重新启动和没有重新启动。

硬件:16gb ram、core I7-4790、带板载声音和图形的 Intel Haswell mboard 多媒体:音频适配器:HDA-Intel-HDA Intel HDMI 操作系统:安装了 ubuntu-desktop 的 Ubuntu server 14.04。

图形用户界面 声音设置仅列出虚拟声卡

alsamixer-c 0 复制代码

│ Card: HDA Intel HDMI                                 F1:  Help               │
│ Chip: Intel Haswell HDMI                             F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All             F6:  Select sound card  │
│ Item: S/PDIF                                                                 │
│                                     ┌──┐                                     │
│                                     │OO│                                     │
│                                     └──┘                                     │
│                                  < S/PDIF >                                  │

播放-l

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

播放-L

default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
dmix:CARD=HDMI,DEV=3
    HDA Intel HDMI, HDMI 0
    Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
    HDA Intel HDMI, HDMI 0
    Direct sample snooping device
hw:CARD=HDMI,DEV=3
    HDA Intel HDMI, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
    HDA Intel HDMI, HDMI 0
    Hardware device with all software conversions

猫/proc/asound/cards

 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7d14000 irq 46

猫/ proc / asound /设备 1: : 音序器 2: [ 0- 3]: 数字音频播放 3: [ 0- 0]: 硬件相关 4: [ 0]: 控制 33: : 计时器

mplayer -ao alsa:device=hdmi /usr/share/sounds/ubuntu/stereo/system-ready.ogg

MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /usr/share/sounds/ubuntu/stereo/system-ready.ogg.
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0
Load subtitles in /usr/share/sounds/ubuntu/stereo/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.35.0 (external)
AUDIO: 44100 Hz, 1 ch, floatle, 80.0 kbit/5.67% (ratio: 10000->176400)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '1'
[AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM hdmi
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa:device=hdmi'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video

Exiting... (End of file)

mplayer -ao alsa:device=hw=0.3 /usr/share/sounds/ubuntu/stereo/system-ready.ogg

MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /usr/share/sounds/ubuntu/stereo/system-ready.ogg.
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0
Load subtitles in /usr/share/sounds/ubuntu/stereo/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.35.0 (external)
AUDIO: 44100 Hz, 1 ch, floatle, 80.0 kbit/5.67% (ratio: 10000->176400)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.4 (00.4) of 0.8 (00.7)  0.1% 

Exiting... (End of file)

感谢您的时间和帮助:)


更新:我现在已经添加了 Creative Soundblaster play 2 USB 声卡并从 BIOS 禁用了板载声卡。在我的 Ubuntu 桌面上,它立即工作,因此硬件肯定可以工作。在服务器上它什么也没做。声音设置中仍然只有一个虚拟输出(脉冲)。

重新安装/清除/等但无济于事。

alsamixer 根本无法打开,proc/asound 不存在

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

lspci -v | grep -A7 -i "audio"
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    Subsystem: ASUSTeK Computer Inc. Device 8534
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at f7d10000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>

00:14.0 USB controller: Intel Corporation Device 8cb1 (prog-if 30 [XHCI])
    Subsystem: ASUSTeK Computer Inc. Device 8534

find /lib/modules/`uname -r` | grep snd
(nothing)

答案1

通过恢复到旧内核解决了.....

相关内容