发布于 2013-04-18 03:24:57
alsamixer (原问题中的图片)https://superuser.com/questions/431079/how-to-disable-auto-mute-mode http://www.tutonics.com/2012/10/fix-no-sound-turn-off-auto-mute-in.html
要保存设置,请尝试sudo alsactl store (未经测试)
这修复了Ubuntu12.10在ThinkPad x230上的声音问题
alsa版本:cat /proc/asound/version
高级Linux声音结构驱动程序版本1.0.25
发布于 2018-10-17 17:47:34
对我来说,在alsamixer (或gnome-alsamixer)中禁用自动关闭模式的方法没有工作。所以,我把它挖掘得更深了,并在这里找到了一个类似的线程,当我插入耳机时,耳机会使AlsaMixer静音,惠普DV6 12.04
在我的例子中,我遇到了这样的问题:插入耳机会把扬声器的声音切换到零的同时使它静音(这是正确的,而且肯定会发生);当你断开耳机时,耳机就会静音。此外,连接和断开耳机后的扬声器音量也没有得到保存。
我所做的是修改/usr/share/pulseaudio/alsa-mixer/paths中的文件,特别是名为analog-output-headphones.conf和analog-output-speaker.conf的文件。
在继续之前,您应该备份这些文件,以防出错。
对于analog-output-speaker.conf,我搜索[Element Headphone]指令并删除switch = off行,并将volume = zero更改为volume = merge。
对于analog-output-headphones.conf,我搜索[Element Speaker]指令,删除volume = zero行,同时保留switch = mute行。
我无法让mute-on-activation工作的耳机连接,以便它暂时静音耳机,而3.5mm千斤顶没有完全插入。如果有人有这样的评论,我会相应地更新答案。
希望这能有所帮助。:)
发布于 2020-05-11 05:56:24
在您的rc.local文件中添加以下行,以便在每次引导中禁用自动关闭。
/usr/bin/amixer -c 0 sset "Auto-Mute Mode" Disabled例如:
sudo nano /etc/rc.local然后会是这样的:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/bin/amixer -c 0 sset "Auto-Mute Mode" Disabled
exit 0https://askubuntu.com/questions/131857
复制相似问题