LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2024, 04:34 PM   #1
cybercancun
LQ Newbie
 
Registered: Apr 2024
Posts: 1

Rep: Reputation: 0
bluetooth stopped working on an Arch derivative.


've always had problems with the Bluetooth in this distro , it ended up being half-assed 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 curor moviing 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 normmally but detecting the devices)

I have reinstalled bluez, bluez-utils, delted 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, it seems always has been

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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Leading Arch Linux derivative Manjaro puts out version 21.3 LXer Syndicated Linux News 0 06-23-2022 12:51 AM
[SOLVED] regarding arch derivative - manjaro. prevent personalization changes after each upgrade andrewysk Linux - Newbie 29 02-07-2022 02:32 AM
[SOLVED] Bluetooth Stopped Working "Unknown Bluetooth Controller in /etc/bluetooth/main.conf" PasBern Linux - Hardware 5 06-15-2021 10:39 AM
LXer: Introducing Apricity OS, an Arch Linux Derivative for the Modern Linux User - Video LXer Syndicated Linux News 0 09-06-2015 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration