You are not logged in.

#1 2019-09-25 18:03:40

faith
Member
Registered: 2019-09-25
Posts: 13

DualShock 4 no longer recognized as a controller over bluetooth

Hi!

Ever since I installed arch around a year ago, my dualshock 4 was working flawlessly both wired and over bluetooth, without the occasional bluetooth bug in kernel.
Suddenly, whenever I connect the controller over bluetooth, it doesn't get recognized as a controller, it works just fine with USB though.

What I tried:
- https://aur.archlinux.org/packages/game-devices-udev/
- Another laptop (running manjaro, works just fine here)
- Monitoring my /dev folder, where I discovered that a hidraw device is created, but the properties are completely different from the working laptop (nothing under /dev/input)
- Connecting to controller with bluetoothctl, but nothing out of the usual here
- `upower -e` only detects controller when it's plugged via usb

Kernel: 5.3.1-zen1-1-zen
Pacman packages: https://gist.githubusercontent.com/Fait … man%2520-Q

I'm not sure if an upgrade caused this issue. I upgraded a couple of time between now and last when I remember it working, but it was still working around a week ago.

Any suggestions on getting the controller working over bluetooth? I can provide any logs/more info if needed, I'm just not exactly sure what to look for at the moment.

Edit: Here's a snippet from journalctl when connecting the controller
https://gist.githubusercontent.com/Fait … journalctl

Last edited by faith (2019-09-25 18:14:56)

Offline

#2 2019-09-25 18:14:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: DualShock 4 no longer recognized as a controller over bluetooth

Lots of talks around systemd and input link creation, however https://github.com/systemd/systemd/issues/13553 suggests that this might be a regression in 5.3 series kernels (afaik the relevant systemd bugs should be part of the latest update) so you might want to try an older kernel.

Offline

#3 2019-09-25 18:36:25

faith
Member
Registered: 2019-09-25
Posts: 13

Re: DualShock 4 no longer recognized as a controller over bluetooth

V1del wrote:

Lots of talks around systemd and input link creation, however https://github.com/systemd/systemd/issues/13553 suggests that this might be a regression in 5.3 series kernels (afaik the relevant systemd bugs should be part of the latest update) so you might want to try an older kernel.

Pointed pacman to 12th September and it indeed works! Thank you! Not sure if I want to keep running outdated system for long, but this will do for now smile

Offline

#4 2019-09-25 18:45:10

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: DualShock 4 no longer recognized as a controller over bluetooth

Offline

#5 2019-09-25 19:06:54

faith
Member
Registered: 2019-09-25
Posts: 13

Re: DualShock 4 no longer recognized as a controller over bluetooth

Thanks! I assume this should be in 5.3.2, right?

Offline

#6 2019-09-25 19:16:28

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: DualShock 4 no longer recognized as a controller over bluetooth

faith wrote:

Thanks! I assume this should be in 5.3.2, right?

It is not currently queued for 5.3.2 [1] you could ask the linux package maintainers to cherry-pick the commit for 5.3.2 if it is not included by filing a bug report.

[1] https://git.kernel.org/pub/scm/linux/ke … /queue-5.3

Offline

#7 2019-09-26 17:35:08

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: DualShock 4 no longer recognized as a controller over bluetooth

I also had that problem, I could solve it by installing and running ds4drv. Only caveat is that I have to connect the controller with the 'Share+PS-Button'-function.

Offline

#8 2019-09-29 16:08:30

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: DualShock 4 no longer recognized as a controller over bluetooth

The patch missed 5.3.2 [1]
Please test if the patch I mentioned does fix the issue by applying it to 5.3.1

git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/linux" #clone PKGBUILD
cd packages/trunk/

Edit the PKGBUILD adding https://github.com/torvalds/linux/commi … afac.patch to the sources array so it becomes

source=(
  "$_srcname::git+https://git.archlinux.org/linux.git?signed#tag=v$_srcver"
  config         # the main kernel config file
  60-linux.hook  # pacman hook for depmod
  90-linux.hook  # pacman hook for initramfs regeneration
  linux.preset   # standard config files for mkinitcpio ramdisk
  https://github.com/torvalds/linux/commit/8bb3537095f107ed55ad51f6241165b397aaafac.patch
)

The PKGBUILD will automatically apply all files with the .patch suffix so then you only need to

updpkgsums #provided by pacman-contrib to add the checksum for the patch
makepkg -rs #build the package,  assumes the base-devel group is installed
# pacman -U linux-5.3.arch1-1-x86_64.pkg.tar.xz #install the package

[1] https://lore.kernel.org/stable/20190929 … ation.org/

Last edited by loqs (2019-09-29 16:16:13)

Offline

#9 2019-10-03 04:01:04

Nuggern
Member
Registered: 2019-10-01
Posts: 1

Re: DualShock 4 no longer recognized as a controller over bluetooth

Hello, I am currently running the patch. Seems to be working so far smile

Offline

#10 2019-10-03 04:11:37

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: DualShock 4 no longer recognized as a controller over bluetooth

Thank you for testing Nuggern the patch has been included in 5.3.2.arch1-1.

Offline

#11 2019-10-07 12:14:11

faith
Member
Registered: 2019-09-25
Posts: 13

Re: DualShock 4 no longer recognized as a controller over bluetooth

Controller works with the latest kernel smile

Offline

Board footer

Powered by FluxBB