Bug 210595 - Gamepad Sony PLAYSTATION(R)3 Controller doesn't pair
Summary: Gamepad Sony PLAYSTATION(R)3 Controller doesn't pair
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Bluetooth (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-bluetooth@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-09 23:25 UTC by orbea
Modified: 2021-03-10 10:53 UTC (History)
5 users (show)

See Also:
Kernel Version: 5.9.12
Subsystem:
Regression: No
Bisected commit-id:


Attachments
bluetoothd -n -d output (128.97 KB, text/plain)
2020-12-09 23:25 UTC, orbea
Details

Description orbea 2020-12-09 23:25:09 UTC
Created attachment 294065 [details]
bluetoothd -n -d output

When using my official Dualshock3 gamepad with bluetooth it connects, but then never pairs.

To pair it I did:

power on
agent on
default-agent
discoverable on
pairable on
scan on

Then plugged in the gamepad via the usb cable, entered 'yes' to the authorization request, unplugged it and pressed the power button on the gamepad.

The gamepad does work via the usb cable.

I attached a log with the output of 'bluetoothd -n -d' and in dmesg the following is printed.

[94204.623301] debugfs: File 'force_bredr_smp' in directory 'hci0' already present!
[94374.029398] debugfs: File 'force_bredr_smp' in directory 'hci0' already present!
[94418.059222] usb 1-1: new full-speed USB device number 29 using xhci_hcd
[94418.209651] usb 1-1: New USB device found, idVendor=054c, idProduct=0268, bcdDevice= 1.00
[94418.209656] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[94418.209660] usb 1-1: Product: PLAYSTATION(R)3 Controller
[94418.209662] usb 1-1: Manufacturer: Sony
[94418.221403] input: Sony PLAYSTATION(R)3 Controller Motion Sensors as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:054C:0268.0028/input/input98
[94418.279353] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:054C:0268.0028/input/input97
[94418.280056] sony 0003:054C:0268.0028: input,hiddev98,hidraw4: USB HID v81.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:14.0-1/input0
[94426.300043] usb 1-1: USB disconnect, device number 29
[94435.739401] sony 0005:054C:0268.0029: unknown main item tag 0x0
[94440.855872] sony 0005:054C:0268.0029: Failed to set controller into operational mode
[94440.856117] sony 0005:054C:0268.0029: hidraw4: BLUETOOTH HID v80.00 Joystick [Sony PLAYSTATION(R)3 Controller] on 5c:f3:70:9c:8f:d0
[94440.856121] sony 0005:054C:0268.0029: failed to claim input
Comment 1 Szymon Janc 2020-12-10 07:57:09 UTC
Hi,

AFAIR DS3 doesn't support pairing. You need to use sixaxis plugin in bluez and configure it via USB.

steps:
make sure you DS3 is not connected over BT
plug it via USB
unplug
press PS button
authorize incoming bluetooth connection from BT
Comment 2 Bastien Nocera 2020-12-10 09:15:28 UTC
(In reply to Szymon Janc from comment #1)
> Hi,
> 
> AFAIR DS3 doesn't support pairing. You need to use sixaxis plugin in bluez
> and configure it via USB.
> 
> steps:
> make sure you DS3 is not connected over BT
> plug it via USB
> unplug
> press PS button
> authorize incoming bluetooth connection from BT

No. It's supposed to be:
- start bluetoothctl or GNOME Settings
- plug it in via USB
- allow pairing
- unplug
- press the PS button
Comment 3 orbea 2020-12-10 13:46:48 UTC
I followed the instructions described in the gentoo wiki and in similar issues. The results always seem the same.

https://wiki.gentoo.org/wiki/Sony_DualShock#DualShock_3
https://bugzilla.kernel.org/show_bug.cgi?id=200009

I also have both a Shenwen and Gasia ds3 gamepads which fail in the same way.

Note You need to log in before you can comment on or make changes to this bug.