manjaro 扬声器有声,耳机无声的解决方案

manjaro 扬声器有声,耳机无声的解决方案

文章目录

  • manjaro 扬声器有声,耳机无声的解决方案
    • 出现问题的机器的相关参数
    • 最终问题的解决方案:
    • 参考资料

出现问题的机器的相关参数

声卡和数字音频设备

[who@xxx-pc ~]$  aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC269VC Digital [ALC269VC Digital]
  Subdevices: 1/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

上面的显示的信息只有一块声卡card0,以及两个输出的音频设备 device 0是耳机孔,device1是外放

alsa版本

[who@xxx-pc ~]$  alsactl -v
alsactl version 1.1.7

内核版本

Linux xxx 4.19.2-1-MANJARO #1 SMP PREEMPT Tue Nov 13 22:35:25 UTC 2018 x86_64 GNU/Linux

加载的模块

[who@xxx ~]$ cat /proc/asound/modules 
 0 snd_hda_intel

加载的内核模块

[who@xxx ~]$ lsmod | grep snd
snd_hda_codec_hdmi     57344  1
snd_hda_codec_realtek   110592  1
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
snd_hda_intel          45056  8
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               131072  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
snd                    98304  23 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore              16384  1 snd

最终问题的解决方案:

在文件/etc/modprobe.d/alsa-base.conf中加入options snd-hda-intel model=auto解决。

参考资料

  1. https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture_(简体中文)#Intel_板载声卡耳机无声
  2. http://forum.ubuntu.org.cn/viewtopic.php?t=334193
  3. https://blog.csdn.net/ldl22847/article/details/8616921

希望我遇到的问题以及解决方案对你有帮助

你可能感兴趣的:(manjaro)