相关疑难解决方法(0)

Pulseaudio 无法自动检测蓝牙耳机

我的 Xubuntu 13.10 上的 Pavucontrol 检测到我的蓝牙耳机,但只有在我输入命令后:

pulseaudio -k
sudo alsa force-reload
Run Code Online (Sandbox Code Playgroud)

几秒钟后,耳机出现在配置选项卡中。

我也试过插入行

load-module module-switch-on-connect
Run Code Online (Sandbox Code Playgroud)

在 /etc/pulse/default.pa 中,但它没有帮助。我已经尝试清除和自动删除并重新安装从 alsa 到pulseaudio和pulseaudio-module-bluetooth的所有内容。什么都行不通。

是否有一种解决方法可以在不使用 force-reload 命令的情况下加载耳机?使pulseaudio守护进程自动识别设备?

我尝试添加:

    pcm.bluetooth {
    type bluetooth
    device "XX:XX:XX:XX:XX:XX"
    profile "auto"
   }
Run Code Online (Sandbox Code Playgroud)

到我的主目录中的文件 .asoundrc 但它没有区别

杀死pulseaudio守护进程后,我的偶数音量热键停止工作。我必须分配

amixer set Master 4%- -q unmute
amixer set Master 4%+ -q unmute
Run Code Online (Sandbox Code Playgroud)

到其他一些组合键来管理键盘的音量。将命令分配给热键不起作用。音量键是如何绑定到守护进程的?有没有其他方法可以将密钥绑定到新的守护进程(重新启动后)?

更新

发现问题了。使用命令

pactl list | grep -i module-bluetooth-discover
Run Code Online (Sandbox Code Playgroud)

我发现蓝牙发现模块没有加载。

但是我在 /etc/pulse 中的 default.pa 文件包含这些行

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
Run Code Online (Sandbox Code Playgroud)

那么为什么模块没有在pulseaudio启动时加载?

发出命令后

sudo pactl load-module module-bluetooth-discover
Run Code Online (Sandbox Code Playgroud)

蓝牙耳机正常工作并自动检测,无需杀死并重新启动alsa。

pulseaudio bluetooth alsa

28
推荐指数
4
解决办法
7万
查看次数

Ubuntu 18.04:连接到 Lenovo P50 后,蓝牙设备立即断开连接

从 17.10 升级到 18.04 后,我连接的任何设备只能保持连接几秒钟。我的笔记本电脑是联想 P50 (20ENCTO1WW)

/var/log/syslog 报告:

pulseaudio[????]: [pulseaudio] bluez5-util.c: Information about device /org/bluez/hci0/dev_???????? invalid
bluetoothd[????]: Endpoint replied with an error: org.bluez.Error.InvalidArguments
Run Code Online (Sandbox Code Playgroud)

显然,问号代表一些 id(在这种情况下是 pid 和蓝牙 id)

有关修复或解决方法的任何线索?

lenovo bluetooth disconnect 18.04

28
推荐指数
4
解决办法
5万
查看次数

无法在 Ubuntu 18.04 上打开蓝牙

我的蓝牙在使用过程中突然停止工作,直到我重新启动机器才能打开它。

设置中的蓝牙:

设置里的蓝牙

顶部栏中的蓝牙:

顶部栏中的蓝牙

以下是我的输出rfkill list

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
Run Code Online (Sandbox Code Playgroud)

我尝试从命令行使用sudo rfkill unblock bluetoothbluez通过运行重新安装包来解除对它的阻止sudo apt install --reinstall bluez,但这两种方法都不起作用。

我刚刚将我的机器从 16.04 升级到 Ubuntu 18.04 并认为这个问题会消失,但实际上它仍然存在。有谁知道如何修理它?

bluetooth

7
推荐指数
2
解决办法
6121
查看次数

19.04 蓝牙适配器在睡眠后丢失

问题总结:

蓝牙在 19.04 从“睡眠”恢复时停止工作(使用目前可用的最新 bluez 版本

硬件软件:

Description:    Ubuntu 19.04


% dpkg --status bluez | grep '^Version:'
Version: 5.50-0ubuntu2


% lsmod | grep -i blue
bluetooth             557056  23 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           28672  1 bluetooth


% lspci -k
06:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
    Subsystem: Intel Corporation Dual Band Wireless-AC 8265
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi


% lsusb
Bus 001 Device 004: ID 8087:0a2b Intel Corp. 


% usb-devices
T:  Bus=01 Lev=01 Prnt=01 …
Run Code Online (Sandbox Code Playgroud)

suspend bluetooth bluez 19.04

5
推荐指数
1
解决办法
1561
查看次数

标签 统计

bluetooth ×4

18.04 ×1

19.04 ×1

alsa ×1

bluez ×1

disconnect ×1

lenovo ×1

pulseaudio ×1

suspend ×1