You are not logged in.

#1 2021-08-19 17:54:49

matteodev
Member
From: Austria
Registered: 2021-08-17
Posts: 19
Website

[SOLVED] Bluetooth doesn't work

I need help with Bluetooth, when I try to connect to my Playstation 4 Controller via bluetoothctl, I get this error: "Failed to connect: org.bluez.failed.error", I also noticed some errors in systemctl, here is the output:

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Thu 2021-08-19 19:50:34 CEST; 4min 0s ago
       Docs: man:bluetoothd(8)
   Main PID: 2759 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19101)
     Memory: 832.0K
        CPU: 10ms
     CGroup: /system.slice/bluetooth.service
             └─2759 /usr/lib/bluetooth/bluetoothd

Aug 19 19:50:34 blueberry bluetoothd[2759]: Bluetooth management interface 1.20 initialized
Aug 19 19:50:34 blueberry bluetoothd[2759]: profiles/audio/avctp.c:avctp_server_socket() setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Aug 19 19:50:34 blueberry bluetoothd[2759]: avrcp-controller: Protocol not supported (93)
Aug 19 19:50:34 blueberry bluetoothd[2759]: profiles/audio/avctp.c:avctp_server_socket() setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Aug 19 19:50:34 blueberry bluetoothd[2759]: audio-avrcp-target: Protocol not supported (93)
Aug 19 19:50:34 blueberry bluetoothd[2759]: src/profile.c:ext_start_servers() L2CAP server failed for Message Notification: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Aug 19 19:50:34 blueberry bluetoothd[2759]: src/profile.c:ext_start_servers() L2CAP server failed for Message Access: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Aug 19 19:50:34 blueberry bluetoothd[2759]: src/profile.c:ext_start_servers() L2CAP server failed for Phone Book Access: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Aug 19 19:50:34 blueberry bluetoothd[2759]: src/profile.c:ext_start_servers() L2CAP server failed for File Transfer: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Aug 19 19:50:34 blueberry bluetoothd[2759]: src/profile.c:ext_start_servers() L2CAP server failed for Object Push: setsockopt(L2CAP_OPTIONS): Invalid argument (22)

System Information:

OS: Arch Linux
Kernel: 5.13.12-zen1-1-zen
DE: KDE Plasma 5
WM: KWin

CPU: Intel Core i7 9700
Mainboard: Aorus Z390 Pro WiFi
GPU: AMD Radeon RX 580 8GB VRAM
RAM: Patriot Viper 16GV DDR4 8GBx2 2666Mhz

WiFi/Bluetooth Chip: Intel CNVi 802.11ac 2x2 Wave 2 Wi-Fi

Last edited by matteodev (2021-08-20 15:19:11)

Offline

#2 2021-08-19 18:38:55

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] Bluetooth doesn't work

Did you trust the controller prior to connecting, as per the wiki?

Offline

#3 2021-08-19 20:59:03

matteodev
Member
From: Austria
Registered: 2021-08-17
Posts: 19
Website

Re: [SOLVED] Bluetooth doesn't work

Ammako wrote:

Did you trust the controller prior to connecting, as per the wiki?

It always worked fine, I did an kernel update then it didn't work

Offline

#4 2021-08-19 21:06:56

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] Bluetooth doesn't work

In that case, you would greatly benefit from being a lot more informative about your environment and your system, and the circumstances under which things worked/didn't work. Then people actually have something to work from instead of just trying to guess.

Offline

#5 2021-08-19 21:21:03

matteodev
Member
From: Austria
Registered: 2021-08-17
Posts: 19
Website

Re: [SOLVED] Bluetooth doesn't work

Ammako wrote:

In that case, you would greatly benefit from being a lot more informative about your environment and your system, and the circumstances under which things worked/didn't work. Then people actually have something to work from instead of just trying to guess.

System Information:

OS: Arch Linux
Kernel: 5.13.12-zen1-1-zen
DE: KDE Plasma 5
WM: KWin

CPU: Intel Core i7 9700
Mainboard: Aorus Z390 Pro WiFi
GPU: AMD Radeon RX 580 8GB VRAM
RAM: Patriot Viper 16GV DDR4 8GBx2 2666Mhz

WiFi/Bluetooth Chip: Intel CNVi 802.11ac 2x2 Wave 2 Wi-Fi

Offline

#6 2021-08-19 22:46:14

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: [SOLVED] Bluetooth doesn't work

Anything you've already tried, and that failed?

Last kernel version where it was functional? If you downgrade, does it work again? To confirm whether it's a kernel issue, or if it's due to another package that was installed in the meantime.

If it's the kernel, does it work on regular kernel? To figure out if it's an issue with the linux kernel itself, or just an issue with zen.

There are probably some kind of logs you could check that could help figure out what might be wrong, but I'm not knowledgeable enough about what kind of logs may or may not be relevant (or what info within those logs would be relevant), so for the time being check with other kernels and maybe someone knows what to look for at some point.

Note: don't just stay on the older kernel version if you can help it, even if it fixes the issue. On the long-term you want your kernel to be up-to-date so you don't expose yourself to potentially critical security vulnerabilities. If you don't absolutely *need* zen, you could give LTS kernel a try, and if it works you can stay on top of security updates while also maintaining functional bluetooth for the controller.

Also: PS4 controller has audio capabilities, if you are using pulseaudio and don't have pulseaudio-bluetooth installed I'm wildly guessing there is a chance it might be seeing it as some kind of audio device and failing to connect because it doesn't have the modules and libraries to communicate properly with audio devices. Or if using pipewire, pipewire-pulse will act as a replacement for pulseaudio-bluetooth.

Last edited by Ammako (2021-08-19 22:55:20)

Offline

#7 2021-08-19 23:17:24

gnox
Member
Registered: 2013-05-18
Posts: 81

Re: [SOLVED] Bluetooth doesn't work

Check if is blocked

>sudo rfkil list
0: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

If is soft blocked, run

>sudo rfkill unlock 1
>sudo rfkill list
0: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

restart bluetooth service and try to connect to your controller.

I noticed also that in some kernel update my hci changed from id 3 to 1 and it was locked ...

Offline

#8 2021-08-20 15:18:50

matteodev
Member
From: Austria
Registered: 2021-08-17
Posts: 19
Website

Re: [SOLVED] Bluetooth doesn't work

gnox wrote:

Check if is blocked

>sudo rfkil list
0: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

If is soft blocked, run

>sudo rfkill unlock 1
>sudo rfkill list
0: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

restart bluetooth service and try to connect to your controller.

I noticed also that in some kernel update my hci changed from id 3 to 1 and it was locked ...

It worked, Thank you so much!

Offline

Board footer

Powered by FluxBB