Ubuntu 20.04 中的蓝牙错误

Ubuntu 20.04 中的蓝牙错误

你好 我正在尝试使我的适配器可被发现,但它显示了以下内容:- 之后bluetoothctl

[bluetooth]# scan on
[bluetooth]# discoverable on
Changing discoverable on succeeded
[bluetooth]# scan on
Failed to start discovery: org.bluez.Error.InProgress
[bluetooth]# 

命令输出:-lspci -knn | grep Net -A3; lsusb

02:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
    Subsystem: Foxconn International, Inc. RT3290 Wireless 802.11n 1T/1R PCIe [105b:e055]
    Kernel driver in use: rt2800pci
    Kernel modules: rt2800pci
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1bcf:2883 Sunplus Innovation Technology Inc. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

命令输出:-dmesg | grep -i bluetooth

   [   12.851854] Bluetooth: Core ver 2.22
    [   12.851883] Bluetooth: HCI device and connection manager initialized
    [   12.851888] Bluetooth: HCI socket layer initialized
    [   12.851889] Bluetooth: L2CAP socket layer initialized
    [   12.851893] Bluetooth: SCO socket layer initialized
    [   67.399550] audit: type=1400 audit(1611909043.091:58): apparmor="DENIED" operation="create" profile="snap.bluez.bluez" pid=875 comm="bluetoothd" family="bluetooth" sock_type="raw" protocol=1 requested_mask="create" denied_mask="create"
    [   67.727240] audit: type=1400 audit(1611909043.419:60): apparmor="DENIED" operation="connect" profile="snap.bluez.bluez" name="/run/dbus/system_bus_socket" pid=875 comm="bluetoothd" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
    [   67.929889] audit: type=1400 audit(1611909043.619:62): apparmor="DENIED" operation="create" profile="snap.bluez.bluez" pid=1043 comm="bluetoothd" family="bluetooth" sock_type="raw" protocol=1 requested_mask="create" denied_mask="create"
    [   67.930261] audit: type=1400 audit(1611909043.623:63): apparmor="DENIED" operation="connect" profile="snap.bluez.bluez" name="/run/dbus/system_bus_socket" pid=1043 comm="bluetoothd" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
    [   68.194380] audit: type=1400 audit(1611909043.887:65): apparmor="DENIED" operation="create" profile="snap.bluez.bluez" pid=1102 comm="bluetoothd" family="bluetooth" sock_type="raw" protocol=1 requested_mask="create" denied_mask="create"
    [   68.194710] audit: type=1400 audit(1611909043.887:66): apparmor="DENIED" operation="connect" profile="snap.bluez.bluez" name="/run/dbus/system_bus_socket" pid=1102 comm="bluetoothd" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
    [   81.668783] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   81.668785] Bluetooth: BNEP filters: protocol multicast
    [   81.668791] Bluetooth: BNEP socket layer initialized
    [ 1965.556683] Bluetooth: RTBT_Tb: vendor=0x1814, device=0x3298
    [ 1965.556685] Bluetooth: RTBT_Tb: vendor=0x0, device=0x0
    [ 1965.556687] Bluetooth: DynamicAlloc pci_device_id table at 0x00000000ad8b89c2 with size 64
    [ 1965.556688] Bluetooth: RTBT_Tb: vendor=0x1814, device=0x3298
    [ 1965.556689] Bluetooth: Convert: vendor=0x1814, device=0x3298
    [ 1965.556690] Bluetooth: RTBT_Tb: vendor=0x0, device=0x0
    [ 1965.556691] Bluetooth: pci_device_id: vendor=0x1814, device=0x3298
    [ 1965.556922] Bluetooth: rtbt_pci_probe(): PCI Dev(0000:02:00.1) get resource at 0xf7d00000,VA 0xffffa64041d80000,IRQ 17.
    [ 1965.556935] Bluetooth: call dev_ops->dev_ctrl_init!
    [ 1965.556951] Bluetooth: call dev_ops->dev_resource_init!
    [ 1965.582792] Bluetooth: RtmpOSIRQRequest(): request_irq (IRQ=17)done, isr_handler=0xffffffffc1274640!
    [ 1968.792846] Bluetooth: hci0: command 0x0c52 tx timeout
    [ 1968.832504] Bluetooth: rtbt_hci_dev_flush(dev=0xffff8ea3907f4000)
    [ 1968.900515] Bluetooth: RFCOMM TTY layer initialized
    [ 1968.900525] Bluetooth: RFCOMM socket layer initialized
    [ 1968.900534] Bluetooth: RFCOMM ver 1.11
    [ 1971.898810] Bluetooth: RtmpOSIRQRequest(): request_irq (IRQ=17)done, isr_handler=0xffffffffc1274640!
    [ 1975.160848] Bluetooth: hci0: command 0x0c1a tx timeout

答案1

尝试用 Blueman 做同样的事情

尝试:重新安装驱动程序如何安装 wifi 驱动程序 Ralink RT3290

另外,bluez在ubuntu上已经很老了,从源代码编译bluez https://git.kernel.org/pub/scm/bluetooth/bluez.git

相关内容