ps3 controller issues
-
Hi there!
I have retropie running on a RaspberryPi4 model B 8gb
RetroPie-Setup version: 4.8.4
Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.103-v71I´m having issues when trying to connect with a ps3 controller. Days ago I bought a second hand chinese clone ps3 controller due to compatibility problems I had with other controllers (where recognized as xbox360 controllers) and I´m trying to make it work, detected by the system at least...
I tried every driver available in the system and none of them work, even via bluetooth. Seeing this I did further research and found the following:
1)_ when I connect the controller via USB cable, and list the connected devices with the lsusb command the device is recognized as "
ID 054c:0268 Sony Corp. Batoh Device / Playstation 3 Controller. (looks fine!).2)_ after that when I go to the /dev/input/ folder. there´s no js0 file.
3)_ when I execute the dmseg command I get this:
5.392948] usb 1-1.1: New USB device found, idVendor=054c, idProduct=0268, bcdDevice= 0.01
[ 5.392966] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber =0
[ 5.392981] usb 1-1.1: Product: PS3 Controller
[ 5.419624] usbhid 1-1.1:1.0: can't add hid device: -32
[ 5.419703] usbhid: probe of 1-1.1:1.0 failed with error -32
[ 5.445590] usb 1-1.1: USB disconnect, device number 4
[ 5.465723] Console: switching to colour frame buffer device 170x48
[ 5.479600] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 5.489809] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[ 5.503422] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1
[ 5.521777] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.522671] usbcore: registered new interface driver brcmfmac
[ 5.805509] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.811768] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[ 5.997283] usb 1-1.1: new full-speed USB device number 5 using xhci_hcd
[ 6.146274] usb 1-1.1: New USB device found, idVendor=054c, idProduct=0268, bcdDevice= 5.72
[ 6.146299] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber =0
[ 6.146327] usb 1-1.1: Product: PS3 Controller
[ 6.543215] hid_sony: loading out-of-tree module taints kernel.
[ 6.553517] sony 0003:054C:0268.0003: failed to retrieve feature report 0xf2 with the Sixaxis MAC address
[ 6.555264] sony 0003:054C:0268.0003: hiddev96,hidraw2: USB HID v81.11 Joystick [PS3 Controller] on usb-0000:01:00.0-1.1/input0
[ 6.555288] sony 0003:054C:0268.0003: failed to claim input
[ 7.307595] uart-pl011 fe201000.serial: no DMA platform data
[ 7.397117] random: crng init done
[ 7.397134] random: 7 urandom warning(s) missed due to ratelimiting
[ 7.567509] 8021q: 802.1Q VLAN Support v1.8
[ 7.754879] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 7.894342] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 8.185973] bcmgenet fd580000.ethernet: configuring instance for external RGMAs it seems the controller´s HID is not on the list of the supported controllers of the system. I tried to update all of the controllers, tried again and nothing.
Thinking that the controller was faulty I tried in the ps3 emulator in my pc and the controller is detected by windows, configured as ps3 controller and works flawlessly. It seems to be a driver´s issue.
On my PC I have the DSHIDmini driver that comes for linux too. But as I not fond of linux I don´t want to change things that will cause the system to fail. I hope that you can help me to get this controller work for retropie.
Hope to hear from you and if you need more info let me know.
Carlos
-
Your PS3 clone may be a Shanwan/Gasia clone (a clone of a clone) and it's recognized as a PS3 controller, but the driver (
hid-sony
) cannot initialize it, since it's not behaving exactly like a PS3 controller.
Assuming you have installed thesixaxis
PS3 driver (as explained in the PS3 doc page), did you configure the driver with the Enable support for 3rd party controllers option ?The controller works in Windows because you added the DSHIDmini (and I don't think it supports Linux btw, but YMMV).
-
@mitu hello and thank you for your answer.
I did what you suggested and nothing happened, but after trying over an over I could make the controller to work.
The thing was that the system didn´t recognize the HID of the device, so I modified the cmdline.txt file to ignore special drivers. After a reboot the controller was detected as a ps3 controller.
By now is working flawlesly wired. I have to figure out now how to connect it by bluetooth.
thank you!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.