我注意到这个问题已被问过很多次,但到目前为止我看到的答案都没有对我有用。
今天早上我走到电脑前,想听听音乐,但没有声音。起初我以为是音量太小或静音了,但当我尝试调高音量时,却没有用。我试着在网上寻找解决方案,但遗憾的是没有任何效果。
音量菜单的屏幕截图:
结果fgrep -i pulse /var/log/syslog
:
Failed to open module /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: wrong ELF class: ELFCLASS64
Jul 11 14:04:09 d3faulto-comp pulseaudio[1363]: [pulseaudio] module.c: Failed to open module "module-bluetooth-policy".
Jul 11 14:04:09 d3faulto-comp pulseaudio[1363]: [pulseaudio] main.c: Module load failed.
Jul 11 14:04:09 d3faulto-comp pulseaudio[1363]: [pulseaudio] main.c: Failed to initialize daemon.
Jul 11 14:04:09 d3faulto-comp pulseaudio[1360]: [pulseaudio] main.c: Daemon startup failed.
Jul 11 14:04:10 d3faulto-comp pulseaudio[1374]: [pulseaudio] ltdl-bind-now.c: Failed to open module /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: wrong ELF class: ELFCLASS64
Jul 11 14:04:10 d3faulto-comp pulseaudio[1374]: [pulseaudio] module.c: Failed to open module "module-bluetooth-policy".
Jul 11 14:04:10 d3faulto-comp pulseaudio[1374]: [pulseaudio] main.c: Module load failed.
Jul 11 14:04:10 d3faulto-comp pulseaudio[1374]: [pulseaudio] main.c: Failed to initialize daemon.
Jul 11 14:04:10 d3faulto-comp pulseaudio[1371]: [pulseaudio] main.c: Daemon startup failed.
Jul 11 14:04:11 d3faulto-comp pulseaudio[1381]: [pulseaudio] ltdl-bind-now.c: Failed to open module /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: wrong ELF class: ELFCLASS64
Jul 11 14:04:11 d3faulto-comp pulseaudio[1381]: [pulseaudio] module.c: Failed to open module "module-bluetooth-policy".
Jul 11 14:04:11 d3faulto-comp pulseaudio[1381]: [pulseaudio] main.c: Module load failed.
Jul 11 14:04:11 d3faulto-comp pulseaudio[1381]: [pulseaudio] main.c: Failed to initialize daemon.
Jul 11 14:04:11 d3faulto-comp pulseaudio[1378]: [pulseaudio] main.c: Daemon startup failed.
Jul 11 14:04:12 d3faulto-comp pulseaudio[1388]: [pulseaudio] ltdl-bind-now.c: Failed to open module /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: wrong ELF class: ELFCLASS64
Jul 11 14:04:12 d3faulto-comp pulseaudio[1388]: [pulseaudio] module.c: Failed to open module "module-bluetooth-policy".
Jul 11 14:04:12 d3faulto-comp pulseaudio[1388]: [pulseaudio] main.c: Module load failed.
Jul 11 14:04:12 d3faulto-comp pulseaudio[1388]: [pulseaudio] main.c: Failed to initialize daemon.
Jul 11 14:04:12 d3faulto-comp pulseaudio[1385]: [pulseaudio] main.c: Daemon startup failed.
Jul 11 14:04:13 d3faulto-comp pulseaudio[1395]: [pulseaudio] ltdl-bind-now.c: Failed to open module /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: wrong ELF class: ELFCLASS64
Jul 11 14:04:13 d3faulto-comp pulseaudio[1395]: [pulseaudio] module.c: Failed to open module "module-bluetooth-policy".
Jul 11 14:04:13 d3faulto-comp pulseaudio[1395]: [pulseaudio] main.c: Module load failed.
Jul 11 14:04:13 d3faulto-comp pulseaudio[1395]: [pulseaudio] main.c: Failed to initialize daemon.
Jul 11 14:04:13 d3faulto-comp pulseaudio[1392]: [pulseaudio] main.c: Daemon startup failed.
Jul 11 14:04:14 d3faulto-comp pulseaudio[1405]: [pulseaudio] ltdl-bind-now.c: Failed to open module /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: /usr/lib/pulse-8.0/modules/module-bluetooth-policy.so: wrong ELF class: ELFCLASS64
同样的错误持续了 6826 次。
答案1
看来已为此提交错误报告这可能与 Skype 有关,也可能无关。
问题
错误消息提到 PulseAudio 模块存在问题。
解决方案 1:禁用模块
如果您想尝试禁用模块(这可能会使蓝牙音频无法工作),请打开终端(按Ctrl+ Alt+ T),然后运行以下命令:
sudo sed -i 's/^load-module module-bluetooth-policy/#load-module module-bluetooth-policy/' /etc/pulse/default.pa
sudo service pulseaudio restart
sleep 15
pulseaudio -k
pulseaudio --start
pavucontrol
如果 PulseAudio 音量控制正常显示,就应该有声音。
重新启用模块
如果这不能解决问题,请打开终端并运行:
sudo sed -i 's/^#load-module module-bluetooth-policy/load-module module-bluetooth-policy/' /etc/pulse/default.pa
sudo service pulseaudio restart
sleep 15
pulseaudio -k
pulseaudio --start
解决方案2:重新安装蓝牙模块
如果您想尝试重新安装 Ubuntu 版本的模块,这可能会使 Skype 无法工作,请打开终端(按Ctrl+ Alt+ T)并运行:
sudo apt update
sudo apt install --reinstall pulseaudio-module-bluetooth
sudo service pulseaudio restart
sleep 15
pulseaudio -k
pulseaudio --start
pavucontrol
如果 PulseAudio 音量控制正常显示,就应该有声音。