修改檔案 /etc/modprobe.d/alsa-base.conf
gedit /etc/modprobe.d/alsa-base.conf
在檔案內容最尾端增加一行
options snd-hda-intel id=PHC index=1
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
sudo vi /etc/asound.conf
defaults.pcm.card 0 #上面的card号
defaults.pcm.device 0 #上面card对应的device号
声音测试
speaker-test -t wav -c 2