PS3 Controller Shanwan : How to ?



  • Hello everybody,

    I have a problem with my ps3 controller Shanwan on a raspberrypi 3 (Recalbox 4.0.0.Beta5).
    Here's what I tried to do with the officially documentation :
    https://github.com/recalbox/recalbox-os/wiki/Manual-(EN)#ps3controllers

    • Start the raspberrypi3.
    • Wait until the home screen appear.
    • Here plug with a usb cable my ps3 controller Shanwan.
    • Leds of my controller will flash.
    • I wait almost 15 seconds.
    • I unplug my controller who continue to flash.
    • I wait almost 15 seconds.
    • The controller doesn't stop to flash.
    • So I plug a second time my controller.
    • Here, he stop to flash.
    • And I have 2 leds who are fixed : not only one like on my ps3.
    • I can't use my controller even if I try to hold the home button.
    • The raspeberry didn't detected this controller didn't ask to configure all buttons.
    • And the controller vibrate and never stop to vibrate.

    So I search and I found this :
    https://github.com/recalbox/recalbox-os/wiki/Troubleshooting-dmesg-output-(EN)

    • So I unplug My controller.
    • And I run dmesg as root with the ssh access, my controller is not detected (unpluged).
    • And I plug my controller.
    • Run dmesgas root with the ssh access.
    • I found my controller.

    So I discovered that my controller is a Shanwan, so I continue to search and I found this :
    https://github.com/recalbox/recalbox-os/wiki/PS3-controllers-drivers-(EN)

    • So I use the root ssh access.
    • I modify this file : /recalbox/share/system/recalbox.conf
    • I modify this options : controllers.ps3.driver=shanwan
    • Restart the raspberrypi3 with this command line : reboot
    • Wait until the home appear.
    • Try to plug my ps3controller.
    • I can't use my controller even if I try to hold the home button.
    • The raspeberry didn't detected this controller didn't ask to configure all buttons.
    • And the controller vibrate and never stop to vibrate.

    Anyone have an idea, how to connect a Shanwan PS3 Controller on a rasperryPI3 with RecalBox 4.0.0Beta5 Please ?

    On the documentation, they say to copy and past on the forum all information from the dmesg commande line to find some help, here is the informations.

    Thank you for every one who help me to solve this problem.

    [   47.551774] usb 1-1.3: New USB device found, idVendor=054c, idProduct=0268
    [   47.551788] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [   47.551795] usb 1-1.3: Product: PS3 GamePad
    [   47.551801] usb 1-1.3: Manufacturer: SHANWAN
    [  112.854940] usb 1-1.3: USB disconnect, device number 4
    [  129.728239] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
    [  129.831745] usb 1-1.3: New USB device found, idVendor=054c, idProduct=0268
    [  129.831760] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  129.831766] usb 1-1.3: Product: PS3 GamePad
    [  129.831772] usb 1-1.3: Manufacturer: SHANWAN
    [  129.842474] input: SHANWAN PS3 GamePad as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:054C:0268.0002/input/input0
    [  129.842764] sony 0003:054C:0268.0002: input,hiddev0,hidraw0: USB HID v1.10 Joystick [SHANWAN PS3 GamePad] on usb-3f980000.usb-1.3/input0
    [  130.265228] usb 1-1.3: USB disconnect, device number 5
    [  130.498233] usb 1-1.3: new full-speed USB device number 6 using dwc_otg
    [  130.601722] usb 1-1.3: New USB device found, idVendor=054c, idProduct=0268
    [  130.601735] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  130.601742] usb 1-1.3: Product: PS3 GamePad
    [  130.601748] usb 1-1.3: Manufacturer: SHANWAN
    [  130.612805] input: SHANWAN PS3 GamePad as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:054C:0268.0003/input/input1
    [  130.613091] sony 0003:054C:0268.0003: input,hiddev0,hidraw0: USB HID v1.10 Joystick [SHANWAN PS3 GamePad] on usb-3f980000.usb-1.3/input0
    [  158.685017] usb 1-1.3: USB disconnect, device number 6
    [  585.474754] usb 1-1.3: new full-speed USB device number 7 using dwc_otg
    [  585.578255] usb 1-1.3: New USB device found, idVendor=054c, idProduct=0268
    [  585.578265] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  585.578272] usb 1-1.3: Product: PS3 GamePad
    [  585.578278] usb 1-1.3: Manufacturer: SHANWAN
    [  585.589344] input: SHANWAN PS3 GamePad as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:054C:0268.0004/input/input2
    [  585.589804] sony 0003:054C:0268.0004: input,hiddev0,hidraw0: USB HID v1.10 Joystick [SHANWAN PS3 GamePad] on usb-3f980000.usb-1.3/input0```

  • Moderator
    Team
    Moderator
    Translator

    @Serum the only think you (which stays on the wiki) you haven't don't properly is to press the home button after you unplug the controller (10 sec conneced before), no matter what leds are blinking. There is no need to plig it again, at least in theory.

    And of course, I assume that you know that the internal bluetooth of the RPi3 isn't supported yet and you need a bluetooth dongle until version 4.1 comes.



  • Hello paradadf,

    Thank you for your help.

    I just try as you say, when I unplug the controller to hold 10 secondes the home button.
    And unfortunately, I read later that the bluetooth of the RPi3 is not supported and I do not have a dongle.

    Is it possible to use the controller with the USB cable without using bluetooth ?


  • Moderator
    Team
    Moderator
    Translator

    @Serum some people have reported that their ps3 controllers work over USB, but that is afaik usually not the case.

    Just one thing... you connect your ps3 controller 10 seconds, unplug it and then press the home button (just press, not hold).

    Well, "problem" solved. Either buy a dongle or wait for 4.1. Nobody knows when it is coming out though.



  • Ok, thank you Paradalf.
    I will find a dongle.


Log in to reply
 

Want to support us ?

Join us on :

365
Online

29846
Users

14892
Topics

112146
Posts

Looks like your connection to Recalbox Forum was lost, please wait while we try to reconnect.