2015年10月29日 星期四

Headphone jack not working?(CentOS 7-1503)


There was no sound when I plugged in my headphones.

The workaround was to edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf.
=======================================================
#cd /usr/share/pulseaudio/alsa-mixer/paths/ 
#cp analog-output-headphones.conf analog-output-headphones.bak
#vim analog-output-headphones.conf

=======================================================


Look for the section called [Element Speaker] and change it so that it looks like this:
=======================================================
[Element Speaker]
switch = on
volume = ignore

=======================================================

reboot