Zend certified PHP/Magento developer

USB device working on windows/ps4 but seems faulty and keeps disconnecting on Linux

I have recently bought a PS4 custom controller. It works on windows and PS4, but as soon as it gets plugged into Linux it enters a loop of disconnection, reconnection by using the next device number. Therefore, I can’t debug anything as I don’t have any stable path to the device. I figured it might be a cheap usb chipset, but I’d like to know how I could bypass this issue and use the device anyway.

Here is an excerpt of the log from dmesg :

[ 2453.738633] usb 1-2: new full-speed USB device number 26 using xhci_hcd
[ 2454.058467] usb 1-2: New USB device found, idVendor=2563, idProduct=0119, bcdDevice= 1.00
[ 2454.058474] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2454.058476] usb 1-2: Product: Wire PS4 Controller
[ 2454.058478] usb 1-2: Manufacturer: QIXIONG
[ 2454.195189] usb 1-2: 2:0: failed to get current value for ch 0 (-22)
[ 2454.303192] usb 1-2: 5:0: failed to get current value for ch 0 (-22)
[ 2454.313580] input: QIXIONG Wire PS4 Controller as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-2/1-2:1.3/0003:2563:0119.020A/input/input545
[ 2454.313742] hid-generic 0003:2563:0119.020A: input,hiddev97,hidraw2: USB HID v1.11 Gamepad [QIXIONG Wire PS4 Controller] on usb-0000:03:00.0-2/input3
[ 2454.548438] usb usb1-port2: disabled by hub (EMI?), re-enabling...
[ 2454.548446] usb 1-2: USB disconnect, device number 26
[ 2454.550676] usb 1-2: 2:1: usb_set_interface failed (-71)
[ 2454.550682] usb 1-2: 2:0: usb_set_interface failed (-19)
[ 2454.911958] usb 1-2: new full-speed USB device number 27 using xhci_hcd
[ 2455.234563] usb 1-2: New USB device found, idVendor=2563, idProduct=0119, bcdDevice= 1.00
[ 2455.234570] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2455.234573] usb 1-2: Product: Wire PS4 Controller
[ 2455.234575] usb 1-2: Manufacturer: QIXIONG
[ 2455.371316] usb 1-2: 2:0: failed to get current value for ch 0 (-22)
[ 2455.479331] usb 1-2: 5:0: failed to get current value for ch 0 (-22)
[ 2455.489745] input: QIXIONG Wire PS4 Controller as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-2/1-2:1.3/0003:2563:0119.020B/input/input546
[ 2455.489902] hid-generic 0003:2563:0119.020B: input,hiddev97,hidraw2: USB HID v1.11 Gamepad [QIXIONG Wire PS4 Controller] on usb-0000:03:00.0-2/input3
[ 2455.741579] usb usb1-port2: disabled by hub (EMI?), re-enabling...
[ 2455.741586] usb 1-2: USB disconnect, device number 27
[ 2455.743813] usb 1-2: 2:1: usb_set_interface failed (-71)
[ 2455.743819] usb 1-2: 2:0: usb_set_interface failed (-19)

I have tested this on multiple Linux hardwares.