我先对 debian wheezy 进行了最小安装,然后升级到 jessie。安装 wheezy 时,我没有安装任何可选模块。我记得有一个关于声音的模块,但我认为以后可以得到任何必要的模块,所以我没有安装它。
我已经安装alsa alsa-base alsa-firmware-loaders alsa-oss alsa-tools alsa-tools-gui alsa-utils alsamixergui
并完全重启。
在 VLC 中,音频->音频设备中列出了三个设备:
Built-in Audio Digital Stereo (HDMI)
Built-in Audio Analog Stereo
Built-in Audio Digital Stereo (HDMI)
我可以通过选择各自的 HDMI 选项来通过显示器获得声音。这有点奇怪,因为其中一个是显示端口,另一个是 HDMI。但是,主要问题是模拟选项不起作用。我插入了可用的模拟扬声器,但没有声音。我测试过扬声器确实可以正常工作,并且没有硬件静音。我还将所有音量条调到最大,alsamixer
并确保它们都没有静音。
我要怎么做才能使我的模拟声音正常工作?
lspci -vnn
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Flags: bus master, fast devsel, latency 0, IRQ 60
Memory at dfe34000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
00:1b.0 Audio device [0403]: Intel Corporation Device [8086:8ca0]
Subsystem: ASUSTeK Computer Inc. Device [1043:8619]
Flags: bus master, fast devsel, latency 0, IRQ 61
Memory at dfe30000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
和
aplay -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
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
和
dmesg | grep sound
[ 11.086000] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input14
[ 11.089663] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input13
[ 11.096971] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input23
[ 11.097040] input: HDA Intel PCH Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card1/input22
[ 11.097071] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card1/input21
[ 11.097102] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card1/input20
[ 11.097136] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card1/input19
[ 11.097183] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card1/input18
[ 11.098098] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input17
[ 11.098130] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input16
答案1
您是否尝试过运行alsamixer
并取消静音(M
键)并将所有频道的音量推子调高?检查 alsamixer 中每个声卡的音量(F6
键)
MM
表示该频道在 alsamixer 中被静音。