检测到耳机,因为当它们插入时,它们会出现在声音设置中。
问题是它们只是不输出任何声音。
笔记本电脑扬声器输出声音很好。
我正在运行 Ubuntu 16.04 x64
这是运行alsa-info.sh的输出:
我可以采取哪些步骤来尝试自己调试此问题?
编辑 1
感谢@Rexford 和这个答案,我已经找到了如何通过/etc/pulse/client.conf使用--log-level标志。
我会在玩弄这些新信息并尝试找到问题后回来报告。
编辑 2
今天早上醒来,计划深入了解这个问题,当我发现耳机的声音开始工作时。
昨晚我尝试了很多解决方案(来自各种论坛和网页),但没有重新启动我的计算机(只是在做pulseaudio -k && sudo alsa force-reload)。
所以我想重启是必要的,以使其中一个解决方案启动并实际工作。
我尝试过的最重要的事情之一是卸载pulseaudio,安装gnome-audio作为替代品并返回pulseaudio。所以我建议其他人在遇到困难时尝试一下。请注意,如果您这样做,您应该按照此处的说明恢复您的音量/声音图标(如果重新启动后它丢失了 - 这是给我的)。
我现在无法找到这个问题的根源,因为它对我来说已经不存在了。
编辑 3
问题又来了……
来自pulseaudio的调试日志没有显示任何有用的信息(例如错误消息)。
根据此图,alsa 是检查原因的下一站。
几天后,声音指示器图标消失了。我还有网络指示器图标、时间/日历和用户图标。但是带有音量控制的主要功能已经消失了。
如何激活它?
indicator-sound is already the newest version (12.10.2+16.04.20160406-0ubuntu1).
Run Code Online (Sandbox Code Playgroud)
restart unity-panel-service 没有帮助
运行定期更新的 10.04 LTS,我们在使用 pulseaudio 0.9.22 访问音频时遇到了一个奇怪的问题。声音设备是ATI Technologies Inc SBx00 Azalia (Intel HDA)
但
和
在后两种情况下,user1在 syslog 中重复出现错误:
protocol-native.c: Denied access to client with invalid authorization data
只有在终端中从user1手动启动pulseaudio后,这些错误才会消失。然后音频访问对两者都很好。有错误,module-alsa-card.c: Failed to find a working profile但声音输出仍然正常。
我们俩都没有音频组的成员。~/.pulse从两个帐户中删除对这种行为没有影响。
该问题始于 …
一开始声音是通过主板line out插孔工作的。前几天主板line out插孔坏了。声音非常机械化且难以理解。机箱前面板上的插孔根本没有声音(我之前没有尝试过,因为我使用的是line out背面的主板)。
计算机已使用 3 周:
我尝试了很多事情:pavucontrols、重新加载/重新启动 alsa 和pulseaudio、添加诸如 之类的行options snd-hda-intel model=auto、安装显卡驱动程序,但似乎没有任何效果。
一些附加信息:
乌班图
$ lsb_release -a | grep Description
Description: Ubuntu 20.04.4 LTS
Run Code Online (Sandbox Code Playgroud)
核心
$ uname -a
Linux dodo 5.13.0-37-generic #42~20.04.1-Ubuntu SMP Tue Mar 15 15:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
主板
$ sudo dmidecode -t 2 | grep "Manufacturer\|Product"
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z690 AORUS PRO
Run Code Online (Sandbox Code Playgroud)
声音的
$ lspci -v | grep Audio
00:1f.3 Audio …Run Code Online (Sandbox Code Playgroud) 我跟着:在Ubuntu 14.04 LTS的“声音”设置中不显示HDMI 这篇文章重新安装alsa和脉冲音频,因为使用hdmi时,声音不起作用。
我做了:
sudo apt-get remove --purge alsa-base pulseaudio
[sudo] password for william:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-gconf-2.0 gir1.2-rsvg-2.0 python3-pyudev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
gnome-control-center gnome-control-center-data gnome-settings-daemon
libgoa-backend-1.0-1
The following packages will be REMOVED:
alsa-base* indicator-sound* libcanberra-pulse* osspd* osspd-pulseaudio*
pulseaudio* pulseaudio-module-bluetooth* pulseaudio-module-x11*
unity-control-center* unity-control-center-signon*
webaccounts-extension-common* xul-ext-webaccounts*
The following NEW packages …Run Code Online (Sandbox Code Playgroud) sound ×4
pulseaudio ×3
16.04 ×2
alsa ×2
10.04 ×1
14.04 ×1
drivers ×1
headphones ×1
indicator ×1
laptop ×1
nvidia ×1
permissions ×1
unity ×1
user-profile ×1