我该如何重新安装音频子系统(或无论现在它叫什么)?
在 2017 款 i7 Intel NUC 上运行 kubuntu 17.10。它运行良好,甚至通过显示器扬声器输出音频,直到它不再输出音频。我不知道我做了什么导致音频消失,是某些原因还是apt upgrade
安装了其他东西,但我无法恢复它,我真的不想重新安装整个工作站。是的,我有备份,但它仍然很烦人。
这不是权限问题;/dev/snd/*
都是 660,而且我在正确的组中( )。这是、和audio
的输出。一切似乎都很好,但是“设置”的“多媒体”选项卡中没有出现任何设备,vlc 或任何其他音频或视频播放器也不会播放任何声音。lspci
aplay
arecord
# lspci -v
00:1f.3 Multimedia audio controller: Intel Corporation Device 9d71 (rev 21)
Subsystem: Intel Corporation Device 2068
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 142
Region 0: Memory at dc340000 (64-bit, non-prefetchable) [size=16K]
Region 4: Memory at dc320000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee004d8 Data: 0000
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ arecord -l | sed -e 's/^/ /'
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
的输出alsa-info
很大,但如果有人认为它有助于调试,我可以发布它
答案1
您是否正在运行其他使用声音的程序?我有一个程序“窃取”了所有音频子系统,除非我关闭该程序,否则其他程序都无法播放声音。
几乎所有程序都使用声音,因此请仔细考虑正在运行的其他程序,尤其是后台程序。