You are not logged in.
When I try to connect my T4K in DInput mode, which acts like a PS4 controller, the controller fails to connect. Running dmesg shows the playstation sending several errors relating to error -32.
lsusb entry:
Bus 003 Device 006: ID 054c:09cc Sony Corp. DualShock 4 [CUH-ZCT2x]
dmesg results:
usb 3-2: new full-speed USB device number 6 using xhci_hcd
usb 3-2: New USB device found, idVendor=054c, idProduct=09cc, bcdDevice= 1.33
usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
usb 3-2: Product: Wireless Controller
playstation 0003:054C:09CC.0008: hidraw5: USB HID v1.11 Gamepad [Wireless Controller] on usb-0000:0b:00.3-2/input0
playstation 0003:054C:09CC.0008: Failed to retrieve feature with reportID 18: -32
playstation 0003:054C:09CC.0008: Failed to retrieve DualShock4 pairing info: -32
playstation 0003:054C:09CC.0008: Failed to get MAC address from DualShock4
playstation 0003:054C:09CC.0008: Failed to create dualshock4.
playstation: probe of 0003:054C:09CC.0008 failed with error -32
sony 0003:054C:09CC.0008: Failed to get calibration data from Dualshock 4
sony 0003:054C:09CC.0008: hidraw5: USB HID v81.11 Gamepad [Wireless Controller] on usb-0000:0b:00.3-2/input0
sony 0003:054C:09CC.0008: failed to claim input
Offline
I'm getting the same issue with my T4K and after doing some research my theory is that the T4K implements reportID 129, but not reportID 18.
If you try to find anything online about this issue all you get is talk about the old hid-sony driver from before kernel 6.2 concerning other clone controllers, because that driver assumed the controller supported 129, but some clones did not.
There was a patch for that driver that had hid-sony retrieve the MAC address from feature report 18 instead if the normal way failed, and I think now the reverse is true of the new hid-playstation driver and the T4K.
Now the hid-playstation driver assumes the controller implements feature report 18, but clearly that's not the case for the T4K. I think implementing the opposite patch (or maybe as a temporary workaround one could unload hid-playstation and load hid-sony) would work but I am not familiar enough with C to manage it myself
EDIT: I see the sony driver actually ran for you as a fallback (it didn't for me unless I installed an old DKMS patch so I figured the error it gave me was just because of jank) so it seems hid-sony fails too, probably for completely different reasons
Last edited by enova (2023-11-04 10:29:07)
Offline
I installed the old version of hid_sony and it still is saying feature 0x81 is not implemented:
Nov 04 06:01:02 crystalline kernel: playstation 0003:054C:09CC.0008: Failed to retrieve feature with reportID 18: -32
Nov 04 06:01:02 crystalline kernel: playstation 0003:054C:09CC.0008: Failed to retrieve DualShock4 pairing info: -32
Nov 04 06:01:02 crystalline kernel: playstation 0003:054C:09CC.0008: Failed to get MAC address from DualShock4
Nov 04 06:01:02 crystalline kernel: playstation 0003:054C:09CC.0008: Failed to create dualshock4.
Nov 04 06:01:02 crystalline kernel: playstation: probe of 0003:054C:09CC.0008 failed with error -32
Nov 04 06:01:02 crystalline kernel: sony 0003:054C:09CC.0008: failed to retrieve feature report 0x81 with the DualShock 4 MAC address
Nov 04 06:01:02 crystalline kernel: sony 0003:054C:09CC.0008: hidraw5: USB HID v81.11 Gamepad [Wireless Controller] on usb-0000:02:00.0-3/input0
Nov 04 06:01:02 crystalline kernel: sony 0003:054C:09CC.0008: failed to claim input
So at that point I have no idea.
Offline
Not sure if I should just make a new post for this but I want to bump this old post because I still can't get this mode to work with this controller. It works on 6.1 kernel but then the xbox mode doesn't work.
The logs are almost identical but for completeness' sake heres the logs:
[ 37.373960] playstation 0003:054C:09CC.000C: Failed to retrieve feature with reportID 18: -32
[ 37.373965] playstation 0003:054C:09CC.000C: Failed to retrieve DualShock4 pairing info: -32
[ 37.373967] playstation 0003:054C:09CC.000C: Failed to get MAC address from DualShock4
[ 37.373968] playstation 0003:054C:09CC.000C: Failed to create dualshock4.
[ 37.374355] playstation 0003:054C:09CC.000C: probe with driver playstation failed with error -32
Offline