Comment 0 for bug 1913859

Revision history for this message
Piyush Santosh Mhatre (piyush-m) wrote :

Hello I have RT3290 bluetooth in built and it was not working so I installed its latest driver from github whose version is 3.9.6 . Now its working but its not discoverable to any other device and also not finding any other device.
Outout of command :- service bluetooth status

● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>
     Active: active (running) since Sat 2021-01-30 09:49:10 IST; 1h 0min ago
       Docs: man:bluetoothd(8)
   Main PID: 1389 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 4514)
     Memory: 2.0M
     CGroup: /system.slice/bluetooth.service
             └─1389 /usr/lib/bluetooth/bluetoothd

Jan 30 09:49:07 Piyush-X55C systemd[1]: Starting Bluetooth service...
Jan 30 09:49:10 Piyush-X55C bluetoothd[1389]: Bluetooth daemon 5.53
Jan 30 09:49:10 Piyush-X55C systemd[1]: Started Bluetooth service.
Jan 30 09:49:10 Piyush-X55C bluetoothd[1389]: Starting SDP server
Jan 30 09:49:10 Piyush-X55C bluetoothd[1389]: Bluetooth management interface 1.>
Jan 30 10:49:34 Piyush-X55C bluetoothd[1389]: Endpoint registered: sender=:1.66>
Jan 30 10:49:34 Piyush-X55C bluetoothd[1389]: Endpoint registered: sender=:1.66>
lines 1-18/18 (END)

Output of command :- sudo btmgmt info

Index list with 1 item
hci0: Primary controller
    addr A4:17:31:1D:65:54 version 4 manufacturer 91 class 0x000000
    supported settings: powered connectable fast-connectable discoverable bondable link-security ssp br/edr debug-keys
    current settings: powered bondable ssp br/edr
    name Piyush-X55C

Output of command :- bluetoothctl

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

Output of command :- sudo btmgmt find

Unable to start discovery. status 0x0c (Not Supported)

Output of command :- 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

Output of command :-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