You are not logged in.

#1 2022-03-17 18:45:47

drito
Member
Registered: 2022-03-17
Posts: 5

[SOLVED] I have to open Blueman everytime I want to use bluetooth.

Hello. With my fresh installation my earphones connects automatically, I just had to switch on my device. But some days after, I have to open blueman GUI to detect these earphones.
If I switch off the earphones then restart them, blueman displays a message that tells me bluez daemon isn't started. I click "yes" for starting bluez then I can switch on the earphones and it will connects.  But I have to do that every time I want to use the earphone.

The output of  'sudo systemctl status bluetooth' just after Arch startup.

 
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Thu 2022-03-17 09:30:54 CET; 9h ago
       Docs: man:bluetoothd(8)
   Main PID: 367 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9121)
     Memory: 3.0M
        CPU: 76ms
     CGroup: /system.slice/bluetooth.service
             └─367 /usr/lib/bluetooth/bluetoothd

mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint unregistered: sender=:1.25 path=/MediaEndpoint/A2DPSource/sbc_xq_552
mars 17 17:47:38 drito-pc bluetoothd[367]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSink/sbc
mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSource/sbc
mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSink/sbc_xq_453
mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSource/sbc_xq_453
mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSink/sbc_xq_512
mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSource/sbc_xq_512
mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSink/sbc_xq_552
mars 17 17:47:38 drito-pc bluetoothd[367]: Endpoint registered: sender=:1.25 path=/MediaEndpoint/A2DPSource/sbc_xq_552

the line 'src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters' is still here when I managed to make the earphones working. But the line just before is not present.

I'm not used to services stuff. If, at least, you know a way to make sure bluez starts automatically feel free to answer.

Last edited by drito (2022-04-27 09:48:38)

Offline

#2 2022-04-27 09:43:29

drito
Member
Registered: 2022-03-17
Posts: 5

Re: [SOLVED] I have to open Blueman everytime I want to use bluetooth.

I edited the file ' /etc/bluetooth/main.conf ' to set the value AutoEnable to true. I don't know why the default is false but now my earphones connects automatically like in my fresh Arch install.

Offline

#3 2022-05-12 06:33:20

andym
Member
From: France
Registered: 2019-01-16
Posts: 49

Re: [SOLVED] I have to open Blueman everytime I want to use bluetooth.

I have the same error

 src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters

But I already have AutoEnable=true in my config, so I do not know how to fix this.

Offline

Board footer

Powered by FluxBB