You are not logged in.

#1 2019-10-28 00:44:48

cooljohnny3
Member
Registered: 2019-10-28
Posts: 1

PS4 Controller not working

Hello everyone.

I am trying to get my PS4 controller working. The wiki says it should work right out of the box with USB but it is not for me. The controller and the cable work under windows and I have tried with a different cable. I have also tried pressing the PS button after plugging it in.
The device does not show up in /dev/input/ and thus is not showing up in jstest.

Here is /dev/input/by-id

[john@JOHN-Arch ~]$ ls /dev/input/by-id/
total 0
lrwxrwxrwx 1 root root 10 2019-10-27 16:54 usb-Kingston_HyperX_Virtual_Surround_Sound_00000000-event-if03 -> ../event16
lrwxrwxrwx 1 root root  9 2019-10-27 16:54 usb-Logitech_Gaming_Mouse_G502_128137483238-event-if01 -> ../event6
lrwxrwxrwx 1 root root  9 2019-10-27 16:54 usb-Logitech_Gaming_Mouse_G502_128137483238-event-mouse -> ../event3
lrwxrwxrwx 1 root root  9 2019-10-27 16:54 usb-Logitech_Gaming_Mouse_G502_128137483238-if01-event-kbd -> ../event4
lrwxrwxrwx 1 root root  9 2019-10-27 16:54 usb-Logitech_Gaming_Mouse_G502_128137483238-mouse -> ../mouse0
lrwxrwxrwx 1 root root 10 2019-10-27 16:54 usb-SONiX_USB_Keyboard-event-if01 -> ../event19
lrwxrwxrwx 1 root root 10 2019-10-27 16:54 usb-SONiX_USB_Keyboard-event-kbd -> ../event18

The Wiki says that usbhid and joydev kernel modules should be loaded. Both seem to be loaded according tot the follow commands.

[john@JOHN-Arch ~]$ lsmod | grep usbhid
usbhid                 65536  0
hid                   143360  3 usbhid,hid_sony,hid_generic
[john@JOHN-Arch ~]$ lsmod | grep joydev
joydev                 28672  0

I have also tried disabling the joystick mouse control according to the instructions on the wiki but that didn't do anything.
I also see that the controller shows up as an audio device although I can't play sound through it.

Edit:
The controller shows up under lsusb

[john@JOHN-Arch ~]$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 002: ID 054c:09cc Sony Corp. DualShock 4 [CUH-ZCT2x]
Bus 001 Device 007: ID 0c45:0133 Microdia 
Bus 001 Device 006: ID 0951:16a4 Kingston Technology 
Bus 001 Device 005: ID 046d:c332 Logitech, Inc. G502 Proteus Spectrum Optical Mouse
Bus 001 Device 004: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Last edited by cooljohnny3 (2019-10-28 18:24:04)

Offline

#2 2019-10-30 13:06:12

beekay201
Member
Registered: 2019-07-09
Posts: 9

Re: PS4 Controller not working

Controller does work out of the box via USB, at least on my system

Oct 30 13:00:19 valhalla kernel: usb 2-10: new full-speed USB device number 4 using xhci_hcd
Oct 30 13:00:19 valhalla kernel: usb 2-10: New USB device found, idVendor=054c, idProduct=05c4, bcdDevice= 1.00
Oct 30 13:00:19 valhalla kernel: usb 2-10: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 30 13:00:19 valhalla kernel: usb 2-10: Product: Wireless Controller
Oct 30 13:00:19 valhalla kernel: usb 2-10: Manufacturer: Sony Computer Entertainment
Oct 30 13:00:19 valhalla mtp-probe[1819]: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-10"
Oct 30 13:00:19 valhalla mtp-probe[1819]: bus: 2, device: 4 was not an MTP device
Oct 30 13:00:19 valhalla kernel: input: Sony Computer Entertainment Wireless Controller Touchpad as /devices/pci0000:00/0000:00:14.0/usb2/2-10/2-10:1.0/0003:054C:05C4.0005/input/input21
Oct 30 13:00:19 valhalla kernel: input: Sony Computer Entertainment Wireless Controller Motion Sensors as /devices/pci0000:00/0000:00:14.0/usb2/2-10/2-10:1.0/0003:054C:05C4.0005/input/input22
Oct 30 13:00:19 valhalla kernel: input: Sony Computer Entertainment Wireless Controller as /devices/pci0000:00/0000:00:14.0/usb2/2-10/2-10:1.0/0003:054C:05C4.0005/input/input20
Oct 30 13:00:19 valhalla kernel: sony 0003:054C:05C4.0005: input,hidraw4: USB HID v81.11 Gamepad [Sony Computer Entertainment Wireless Controller] on usb-0000:00:14.0-10/input0
Oct 30 13:00:19 valhalla mtp-probe[1823]: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-10"
Oct 30 13:00:19 valhalla mtp-probe[1823]: bus: 2, device: 4 was not an MTP device
Oct 30 13:00:19 valhalla upowerd[887]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-10/2-10:1.0/0003:054C:05C4.0005/power_supply/sony_controller_battery_90:fb:a6:e2:22:60
bk201@valhalla ~ % ls /dev/input/by-id 
total 0
lrwxrwxrwx 1 root root 10 2019-10-30 13:00 usb-Sony_Computer_Entertainment_Wireless_Controller-event-mouse -> ../event20
lrwxrwxrwx 1 root root 10 2019-10-30 13:00 usb-Sony_Computer_Entertainment_Wireless_Controller-event-joystick -> ../event22
lrwxrwxrwx 1 root root 10 2019-10-30 13:00 usb-Sony_Computer_Entertainment_Wireless_Controller-event-if00 -> ../event21
lrwxrwxrwx 1 root root  6 2019-10-30 13:00 usb-Sony_Computer_Entertainment_Wireless_Controller-joystick -> ../js0
lrwxrwxrwx 1 root root  9 2019-10-30 13:00 usb-Sony_Computer_Entertainment_Wireless_Controller-mouse -> ../mouse1
lrwxrwxrwx 1 root root  9 2019-10-30 11:24 usb-Microsoft_Comfort_Curve_Keyboard_3000-event-kbd -> ../event4
lrwxrwxrwx 1 root root  9 2019-10-30 11:24 usb-SteelSeries_SteelSeries_Kinzu_V3_Gaming_Mouse-if01-event-mouse -> ../event3
lrwxrwxrwx 1 root root  9 2019-10-30 11:24 usb-Microsoft_Comfort_Curve_Keyboard_3000-if01-event-kbd -> ../event5
lrwxrwxrwx 1 root root  9 2019-10-30 11:24 usb-SteelSeries_SteelSeries_Kinzu_V3_Gaming_Mouse-if01-mouse -> ../mouse0
bk201@valhalla ~ % lsusb
Bus 003 Device 002: ID 8087:8001 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 045e:07b6 Microsoft Corp. Comfort Curve Keyboard 3000
Bus 002 Device 002: ID 1038:1388 SteelSeries ApS SteelSeries Kinzu V3 Gaming Mouse
Bus 002 Device 004: ID 054c:05c4 Sony Corp. DualShock 4 [CUH-ZCT1x]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
bk201@valhalla ~ % lsmod | grep sony
hid_sony               36864  0
ff_memless             20480  1 hid_sony
hid                   147456  3 usbhid,hid_sony,hid_generic

Last edited by beekay201 (2019-10-30 13:08:24)

Offline

Board footer

Powered by FluxBB