Arch-Linux

Arch Linux / KDE Plasma 上的藍牙揚聲器未連接

  • November 25, 2021

我正在使用 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

由於這個錯誤, 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,請在控制台中執行並使用日誌詢問它。

引用自:https://unix.stackexchange.com/questions/627649