![更新 1](https://linux22.com/image/853738/%E6%9B%B4%E6%96%B0%201.png)
自一个月前购买以来,我的戴尔 Inspiron 15 1700 的音频一直没有出现任何问题。但是,今天我的笔记本电脑内置扬声器的声音不再起作用。昨晚它还能正常工作。我把笔记本电脑打开一整夜,今天早上回到键盘前时,扬声器不再起作用。
不过,我的耳机仍然运行正常。我的系统也是双启动 win8/ubuntu。音频在 Windows 8 中仍然运行正常。
有人可以帮我再次启用内置扬声器上的音频吗?
我尝试了以下方法:
sudo apt-get remove --purge alsa-base alsa-utils alsa-oss pulseaudio
sudo apt-get install alsa-base alsa-utils alsa-oss pulseaudio
sudo alsa force-reload
pulseaudio --kill
pulseaudio --start
/etc/modprobe.d/alsa-base.conf 的转储
#autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use- blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
这是我运行时得到的输出sudo alsa force-reload
Unloading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer (failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer).
Loading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer.
uname -r 的输出:
3.13.0-24-generic
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: 0/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: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
lspci -v | grep Audio 的输出:
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
Alsamixer 屏幕:
尝试运行 HDA 实用程序时,出现以下错误:
Traceback (most recent call last):
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 546, in <module>
sys.exit(main(sys.argv))
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 523, in main
if read_nodes(sys.argv[1:]) == 0:
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 89, in read_nodes
read_nodes2(c.card, i)
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 60, in read_nodes2
c = HDACodec(card, codec)
File "/run/shm/hda-analyzer/hda_codec.py", line 1041, in __init__
self.parse_proc()
File "/run/shm/hda-analyzer/hda_codec.py", line 1140, in parse_proc
self.proc_codec = HDACodecProc(self.card, self.device, file)
File "/run/shm/hda-analyzer/hda_proc.py", line 479, in __init__
self.parse(proc_file)
File "/run/shm/hda-analyzer/hda_proc.py", line 677, in parse
node.add_digital(line[11:])
File "/run/shm/hda-analyzer/hda_proc.py", line 296, in add_digital
self.wrongfile('unknown dig1 bit %s' % repr(b))
File "/run/shm/hda-analyzer/hda_proc.py", line 143, in wrongfile
raise ValueError, "wrong proc file format (%s)" % msg
ValueError: wrong proc file format (unknown dig1 bit 'KAE')
更新 1
我尝试启动 ubuntu 12.04 和 14.04 live cd,但音频也不起作用。这真的很令人困惑,因为直到昨晚,我的笔记本电脑上的音频功能都很好。音频在 Windows 8 上仍然正常工作。
答案1
答案2
我遇到了类似的问题。我在联想 E570 上安装了 Win 8.1 和 Ubuntu 16。但就我而言,在这两个操作系统中的任何一个上,我都看不到内置扬声器的音频设备,只有 HDMI 音频设备,就像你的情况一样。
出乎意料的是,解决这个问题的方法是按下关机按钮并按住至少 30 秒,从 Windows 上强制关闭 PC。我猜想是硬件出现了一些暂时故障,通过完全断电可以解决。