Connecting Playstation4 PS4 Bluetooth controller


#1

Has anyone been successful connecting a PS4 controller to a DragonBoard 410c?

I have used bluetoothctl instructions from https://wiki.gentoo.org/wiki/Sony_DualShock to do this on a Raspberry Pi. However those same instructions don’t seem to be working on the DB410c. Is there a way for me to tell if the linaro-buster-developer-dragonboard-410c-528 image has been built with the kernel options specified on that page?

I normally check which devices are available with:
python3 -m evdev.evtest

Looking at dmesg it says about hid-generic 0005:054C:09CC.0002: unknown main item tag 0x0. I don’t know what this means and searching hasn’t turned anything up.

[ 2326.428356] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2326.428407] Bluetooth: HIDP socket layer initialized
[ 2382.584878] hid-generic 0005:054C:09CC.0001: unknown main item tag 0x0
[ 2382.585917] input: Wireless Controller as /devices/platform/soc/a204000.wcnss/remoteproc/remoteproc0/remoteproc0:smd-edge/remoteproc0:smd-edge.WCNSS_CTRL.-1.-1/a204000.wcnss:smd-edge:wcnss:bt/bluetooth/hci0/hci0:2/0005:054C:09CC.0001/input/input4
[ 2382.590841] hid-generic 0005:054C:09CC.0001: input: BLUETOOTH HID v1.00 Gamepad [Wireless Controller] on 02:00:38:64:25:29
[ 2388.986018] hid-generic 0005:054C:09CC.0002: unknown main item tag 0x0
[ 2388.986593] input: Wireless Controller as /devices/platform/soc/a204000.wcnss/remoteproc/remoteproc0/remoteproc0:smd-edge/remoteproc0:smd-edge.WCNSS_CTRL.-1.-1/a204000.wcnss:smd-edge:wcnss:bt/bluetooth/hci0/hci0:3/0005:054C:09CC.0002/input/input5
[ 2388.994079] hid-generic 0005:054C:09CC.0002: input: BLUETOOTH HID v1.00 Gamepad [Wireless Controller] on 02:00:38:64:25:29

Any assistance would be greatly appreciated.


#2

It hasn’t. instructions you attached requests CONFIG_HID_SONY and CONFIG_SONY_FF, these config are not enabled in the release: https://releases.linaro.org/96boards/dragonboard410c/linaro/debian/latest/config-4.14.0-qcomlt-arm64

So you need to rebuild kernel/modules with these configs.


Building the kernel to use PS4 controller