蓝牙扬声器无法在 Arch Linux / KDE Plasma 上连接

蓝牙扬声器无法在 Arch Linux / KDE Plasma 上连接

我正在使用 KDE Plasma 运行 Arch Linux。当我尝试通过 KDE Plasma GUI 连接到无线蓝牙扬声器时,失败。

这是我在屏幕截图中逐步完成的步骤。我单击“添加设备”,然后单击显示“PIN”匹配的按钮。请注意,由于它是蓝牙扬声器,因此没有 PIN 码。因此,无论我单击“PIN 匹配”还是其他选项,下一个屏幕都会显示设置失败。

当我启动到 Windows 10 时,它可以连接到扬声器。我的智能手机也连接到扬声器。

在此输入图像描述

在此输入图像描述

在此输入图像描述

在此输入图像描述

这是 的输出systemsettings5。当我尝试连接到扬声器时,我首先单击 PIN 匹配,然后单击显示不匹配的按钮。

Fontconfig error: "/home/chris/.config/fontconfig/fonts.conf", line 10: junk after document element
Cyclic dependency detected between "file:///usr/lib/qt/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib/qt/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
file:///usr/share/kpackage/genericqml/org.kde.systemsettings.sidebar/contents/ui/SubCategoryPage.qml:142:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/share/kpackage/genericqml/org.kde.systemsettings.sidebar/contents/ui/SubCategoryPage.qml:132:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:137:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:137:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Cyclic dependency detected between "file:///usr/lib/qt/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib/qt/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/share/kpackage/genericqml/org.kde.systemsettings.sidebar/contents/ui/introPage.qml:109:27: QML IntroIcon (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumHeight"
Cyclic dependency detected between "file:///usr/lib/qt/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib/qt/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/BreadcrumbControl.qml:24:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Fontconfig error: "/home/chris/.config/fontconfig/fonts.conf", line 10: junk after document element
bluedevil.wizard: Manager initialized
bluedevil.wizard: Initialize Discover Page
bluedevil.wizard: Starting scanning
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/SwipeListItem.qml:190:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
bluedevil.wizard: Stopping scanning
bluedevil.wizard: PIN:  "0000"
bluedevil.wizard: Device type:  "headset"
bluedevil.wizard: Legacy:  false
bluedevil.wizard: From DB:  true
bluedevil.wizard: PIN:  "0000"
bluedevil.wizard: Initialize Pairing Page
bluedevil.wizard: AGENT-RequestConfirmation  "/org/bluez/hci0/dev_F4_4E_FD_5C_3E_4B" "119598"
bluedevil.wizard: Pairing finished:
bluedevil.wizard:        error     :  false
bluedevil.wizard:        errorText :  ""
bluedevil.wizard: Initialize Connect Page
kf.bluezqt: PendingCall Error: "Protocol not available"
bluedevil.wizard: Connect finished:
bluedevil.wizard:        error     :  true
bluedevil.wizard:        errorText :  "Protocol not available"
bluedevil.wizard: Initialize Fail Page
bluedevil.wizard: Initialize Discover Page
bluedevil.wizard: Starting scanning
bluedevil.wizard: Wizard done:  0
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:337:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
Fontconfig error: "/home/chris/.config/fontconfig/fonts.conf", line 10: junk after document element
bluedevil.wizard: Manager initialized
bluedevil.wizard: Initialize Discover Page
bluedevil.wizard: Starting scanning
file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/SwipeListItem.qml:190:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
bluedevil.wizard: Stopping scanning
bluedevil.wizard: PIN:  "0000"
bluedevil.wizard: Device type:  "headset"
bluedevil.wizard: Legacy:  false
bluedevil.wizard: From DB:  true
bluedevil.wizard: PIN:  "0000"
bluedevil.wizard: Initialize Pairing Page
bluedevil.wizard: AGENT-RequestConfirmation  "/org/bluez/hci0/dev_F4_4E_FD_5C_3E_4B" "796571"
kf.bluezqt: PendingCall Error: "Authentication Failed"
bluedevil.wizard: Pairing finished:
bluedevil.wizard:        error     :  true
bluedevil.wizard:        errorText :  "Authentication Failed"
bluedevil.wizard: Initialize Fail Page
bluedevil.wizard: Wizard done:  0

答案1

KDE 的蓝牙管理器bluedevil似乎由于以下错误而失败:

[...] kf.bluezqt: PendingCall Error: Authentication Failed"

您可以尝试列出的其他一些 GUI这里, 例如blueman。 (您可以使用包管理器安装它们。)gnome-control-center如果您不使用 GNOME,请不要安装。

如果它们不起作用,请尝试以下操作:

  • 在控制台运行
    sudo pacman -S pulseaudio-alsa pulseaudio-bluetooth bluez-utils bluez
    
  • 然后跑bluetoothctl并跟随这些说明来自 Arch Wiki(您可能不需要“媒体控件”下的部分)。
  • 如果仍然不起作用,请systemsettings5在控制台中运行并通过日志询问。

相关内容