You are not logged in.

#1 2022-04-08 14:09:30

Roman7
Member
Registered: 2022-04-08
Posts: 3

[SOLVED] fake (knock off) dualshock 4 doesn't work

I'm using a fake ds4 controller (connected with USB) with sc-controller and it worked with endeavourOS but not with Arch (no input, pressing buttons does nothing)

Output of lsusb

 Bus 002 Device 028: ID 2ea8:2203 Wings Tech Gaming Mouse
Bus 002 Device 003: ID 045e:07f8 Microsoft Corp. Wired Keyboard 600 (model 1576)
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 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 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 054c:05c4 Sony Corp. DualShock 4 [CUH-ZCT1x]
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

Output of xinput list

 ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Microsoft Wired Keyboard 600 Consumer Control     id=9    [slave  pointer  (2)]
⎜   ↳ Wings Tech Gaming Mouse                   id=11   [slave  pointer  (2)]
⎜   ↳ Wings Tech Gaming Mouse Keyboard          id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Microsoft Wired Keyboard 600              id=8    [slave  keyboard (3)]
    ↳ Microsoft Wired Keyboard 600 System Control       id=10   [slave  keyboard (3)]
    ↳ Eee PC WMI hotkeys                        id=13   [slave  keyboard (3)]
    ↳ Microsoft Wired Keyboard 600 Consumer Control     id=14   [slave  keyboard (3)]
    ↳ Wings Tech Gaming Mouse Keyboard          id=15   [slave  keyboard (3)] 

Output of dmesg

 [ 3171.683508] usb 1-1.6: new full-speed USB device number 4 using ehci-pci
[ 3171.782277] usb 1-1.6: New USB device found, idVendor=054c, idProduct=05c4, bcdDevice= 1.00
[ 3171.782284] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3171.782287] usb 1-1.6: Product: Wireless Controller
[ 3171.782289] usb 1-1.6: Manufacturer: Sony Computer Entertainment
[ 3176.896781] sony 0003:054C:05C4.0036: failed to retrieve feature report 0x81 with the DualShock 4 MAC address
[ 3176.896939] sony 0003:054C:05C4.0036: hidraw4: USB HID v81.11 Gamepad [Sony Computer Entertainment Wireless Controller] on usb-0000:00:1a.0-1.6/input0
[ 3176.896947] sony 0003:054C:05C4.0036: failed to claim input 

there is no js0 in /dev/input without using sc-controller

Now there is a patch for a kernel that supposed to fix the "failed to retrieve feature report 0x81" issue for knock off controllers. However I doubt that endeavourOS ships with some custom kernel by default because I could not use the controller there without emulating it with sc-controller anyway.
Maybe I'm missing some packages that was preinstalled with endeavour but not with arch?

Thanks

Last edited by Roman7 (2022-04-08 14:15:30)

Offline

#2 2022-04-08 14:12:16

Roman7
Member
Registered: 2022-04-08
Posts: 3

Re: [SOLVED] fake (knock off) dualshock 4 doesn't work

Ok I fixed the issue while posting this xD. I think it would be helpful posting anyway. Solution is here (assuming you are using sc-controller) https://github.com/kozec/sc-controller/issues/462

Last edited by Roman7 (2022-04-08 14:16:06)

Offline

Board footer

Powered by FluxBB