You are not logged in.

#1 2024-04-02 19:00:25

cybercancun
Member
Registered: 2024-04-02
Posts: 1

bluetooth went choppy progressively until it didn't work

I've always had problems with the Bluetooth in this distro , it ended up being half-solved by un mounting and re mounting btusb using modprobe. After that i could use it for a mouse. It wasn't perfect like on android but good enough.

Then one day i had the need to send files via bluetooth and installed blueman (was only using it for the mouse before ). I couldn't send the files (the computer refused to recieve them despite beng configured to accept them). Then, not sure if i did an update with pacman, the mouse started acting choppy (the cursor moving like an inch on the screen), instead of smooth. I checked the milisecond times (as they suggest for choppy mouse) in the device file and they seem fine . Then I loaded modprobe with enable_autosuspend=0 and it worked only once afterwards. to the next power on it was still choppy and suddenly the choppyness increased progressively until it took almost a minute to effect the action on the mouse like clicks and moving the cursor (yes, around one minute). Which is of course unusable. Now it's extra hard to get the bluetooth to get to detect the moue or any other bluetooth device. Curiously, bluetoothctl didn't react in it's shell when first loaded and took around the same amount of time as the mouse to show all the keys that were pressed. (Now it works seemingly normally but detecting the devices)

I have reinstalled bluez, bluez-utils, deleted the ´/etc/bluetooth/´ directory and reinstalled ´bluez´, installed and uninstalled ´mkinitcpio-bluetooth´ and remade the ´mkinitcpio´, restarted the service, looked at journalctl and the output of the systemctl status, and the btmon (btmoon now wont work).

AutoEnable=true in /etc/bluetooth/main.conf has always been there like that it seems.

The only seemingly bad thing i get from them is

mar 30 17:13:20 acer-aspire bluetoothd[457]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0x03)
mar 30 17:13:20 acer-aspire bluetoothd[457]: Battery Provider Manager created
mar 30 17:13:20 acer-aspire bluetoothd[457]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
mar 30 17:13:20 acer-aspire bluetoothd[457]: Failed to clear UUIDs: Failed (0x03)
mar 30 17:13:20 acer-aspire bluetoothd[457]: Failed to add UUID: Failed (0x03)
mar 30 17:13:20 acer-aspire bluetoothd[457]: Failed to add UUID: Failed (0x03)
mar 30 17:13:20 acer-aspire bluetoothd[457]: Failed to add UUID: Failed (0x03)
mar 30 17:13:20 acer-aspire bluetoothd[457]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters

This is the output of `btmon`

bluetoothd[457]: @ MGMT Command: Set Connectable (0x0007) plen 1   {0x0001} [hci0] 173.079438
        Connectable: Disabled (0x00)
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1                   #36 [hci0] 173.079509
        Scan enable: No Scans (0x00)
> HCI Event: Command Complete (0x0e) plen 4                             #37 [hci0] 173.080105
      Write Scan Enable (0x03|0x001a) ncmd 1
        Status: Success (0x00)
@ MGMT Event: Command Complete (0x0001) plen 7                     {0x0001} [hci0] 173.080161
      Set Connectable (0x0007) plen 4
        Status: Success (0x00)
        Current settings: 0x00000ad1
          Powered
          Bondable
          Secure Simple Pairing
          BR/EDR
          Low Energy
          Secure Connections
bluetoothd[457]: @ MGMT Command: Stop Discovery (0x0024) plen 1    {0x0001} [hci0] 173.508349
        Address type: 0x07
          BR/EDR
          LE Public
          LE Random
< HCI Command: Inquiry Cancel (0x01|0x0002) plen 0                      #38 [hci0] 173.508409
> HCI Event: Command Complete (0x0e) plen 4                             #39 [hci0] 173.509105
      Inquiry Cancel (0x01|0x0002) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                  #40 [hci0] 173.509167
        Scanning: Disabled (0x00)
        Filter duplicates: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4                             #41 [hci0] 173.510104
      LE Set Scan Enable (0x08|0x000c) ncmd 1
        Status: Success (0x00)
@ MGMT Event: Command Complete (0x0001) plen 4                     {0x0001} [hci0] 173.510151
      Stop Discovery (0x0024) plen 1
        Status: Success (0x00)
        Address type: 0x07
          BR/EDR
          LE Public
          LE Random
@ MGMT Event: Discovering (0x0013) plen 2                          {0x0001} [hci0] 173.510160
        Address type: 0x07
          BR/EDR
          LE Public
          LE Random
        Discovery: Disabled (0x00)
< HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7              #42 [hci0] 173.510170
        Type: Passive (0x00)
        Interval: 60.000 msec (0x0060)
        Window: 60.000 msec (0x0060)
        Own address type: Public (0x00)
        Filter policy: Accept all advertisement (0x00)
> HCI Event: Command Complete (0x0e) plen 4                             #43 [hci0] 173.511112
      LE Set Scan Parameters (0x08|0x000b) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                  #44 [hci0] 173.511150
        Scanning: Enabled (0x01)
        Filter duplicates: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4                             #45 [hci0] 173.512144
      LE Set Scan Enable (0x08|0x000c) ncmd 1
        Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 36                               #46 [hci0] 177.122226
      LE Advertising Report (0x02)
        Num reports: 1
        Event type: Connectable undirected - ADV_IND (0x00)
        Address type: Random (0x01)
        Address: E3:7E:55:35:29:75 (Static)
        Data length: 24
        Flags: 0x04
          BR/EDR Not Supported
        16-bit Service UUIDs (complete): 1 entry
          Human Interface Device (0x1812)
        Appearance: Mouse (0x03c2)
        Name (complete): BT5.0 Mouse
        RSSI: -97 dBm (0x9f)

I lost the command to see bluez log, maybe there's something else there

That's how it's going.

Thank you in advance!

Offline

Board footer

Powered by FluxBB