Solved a few beginner problems?
-
Hello,
Now I have a BT Dongle from the compatibility list (CSL Nano) but still the same problem.
- I start the PI until ES is fully loaded
- I plug in my controller with USB
- after some time it starts vibrating
3a. if I now press the home button the blinking four LEDs turn to permanent two LEDs
3b. If I plug it off first and then press the home button nothing happens.
-
Hello
check is shanwan with dmesg command line : https://github.com/recalbox/recalbox-os/wiki/PS3-controllers-drivers-(EN)you need to edit recalbox.conf to use good driver.
this line :controllers.ps3.driver=official
https://github.com/recalbox/recalbox-os/wiki/recalbox.conf-(EN)
-
dmesg output:
29.493578] usb 1-1.3: Product: PS(R) Ga`epad
[ 29.493585] usb 1-1.3: Manufacturer: ShanWan
[ 30.068682] cfg80211: Calling CRDA to update world regulatory domain
[ 33.228691] cfg80211: Calling CRDA to update world regulatory domain
[ 36.388645] cfg80211: Calling CRDA to update world regulatory domain
[ 39.548665] cfg80211: Calling CRDA to update world regulatory domain
[ 42.708690] cfg80211: Calling CRDA to update world regulatory domain
[ 45.868660] cfg80211: Calling CRDA to update world regulatory domain
[ 49.028695] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
[ 102.889873] usb 1-1.3: USB disconnect, device number 6 -
this comes after that
[ 573.564112] input: ShanWan PS(R) Ga
epad as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:054C:0268.0007/input/input5 [ 573.565461] sony 0003:054C:0268.0007: input,hiddev0,hidraw1: USB HID v1.10 Joystick [ShanWan PS(R) Ga
epad] on usb-3f980000.usb-1.3/input0
[ 573.565585] sony 0003:054C:0268.0007: can't set operational mode: step 1
[ 573.642813] sony: probe of 0003:054C:0268.0007 failed with error -32
[ 573.736600] usb 1-1.3: USB disconnect, device number 11 -
I found a thread where some people had similar problems and they seem to solve it with a patched version of bluez:
https://retropie.org.uk/forum/topic/42/shanwan-ps3-controller-pi3-retropie-3-6-bluetooth-setup/126it seems that you need a forked version of bluez:
https://github.com/luetzel/bluezmore details on: https://luetzels.raspiblog.com/?p=1870
Maybe someone from the devs can fix the problem with this information?
-
hey
this is how things are supposed to work :
- plug your shanwan with the usb cable.it should rumble after 10s. That is to set the master BT address for the pad. you can check the log in /recalbos/share/system/logs/controllers.log. If there is no (new) entry, then sthg is wrong
- next unplug the cable and press PS. After about 10s yourpad should be paired (despite shanwans may keep blinking). Once paired there is a log in /var/log/messages for the sixbin or six??? daemon. You should also have a new entry in dmesg
could you try 'hciconfig hci0'and show me its output ?
the retropie link can't be used for recalbox 4.0, and I'm working on the recalbox way to implement bluez5
-
hciconfig hci0
hci0: Type: BR/EDR Bus: USB
BD Address: 00:1A:7D:DA:71:15 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:51027 acl:939 sco:0 events:1904 errors:0
TX bytes:24258 acl:940 sco:0 commands:367 errors:0 -
this is in controllers.log
after first plug in
the controller is not rumbling:Current Bluetooth master: 00:00:00:00:00:00 Setting master bd_addr to 00:1a:7d:da:71:15
if I plug out and plug in again it starts to rumble:
dmesg output:
https://thepb.in/p/qjhLgOpQp55cBafter second plugin the controllers.log looks like this:
https://thepb.in/p/lOhOWoBG0xmUBnew dmesg output:
https://thepb.in/p/BghPxVgOB5WIYand out put to /var/messages:
https://thepb.in/p/qjhLgOpAm0WUBthese lines seems to be suspicious:
Sep 9 19:52:01 RECALBOX daemon.info bluetoothd[299]: Terminating Sep 9 19:52:01 RECALBOX daemon.info bluetoothd[299]: Stopping SDP server Sep 9 19:52:01 RECALBOX daemon.info bluetoothd[299]: Exit
bluetoothd is terminating
-
I FOUND MY PROBLEM
For one or another reason the ps3 controller support was set to 0 (!!!!)
I set it back to 1 and everything worked. I cant believe it.... -
LOOOOOOOOOOOOOOOL
glad you made it through