[Solved] RPI2 + PS3 controller by bluetooth not working since last releases
-
Hi!
I have been using RetroPie (in a Raspbian Jessie installation) for the last months using two PS3 controllers with a bluetooth dongle.
After some weeks without gaming I updated to 3.7 version and my controller didn't work. I tried uninstalling (with the RetroPie setup) the PS3 bluetooth controller sixad and installing again but it doesn't work.I have tried a lot of things but nothing works. My PS3 controller is paired (using sixpair but in the past it did it automatically) and it works connecting to USB but it didn't connect to the bluetooth device (also a second controller). I tried it in another Raspberry (Pi Zero) which worked also in the past but it don't work either.
"lsusb" shows the unit so it is working
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)"sudo hciconfig hci0 piscan" closes after a second of execution (I think that in the past it took a long time).
Could anyone help me?
Another thing I want to do is autoconnect automatically when I plug in the bluetooth device and press the PS button on the PS3 controller. The reason is because in the Pi Zero I only have one usb port and when I want to play RetroPie I have to disconnect the wifi dongle and connect the bluetooth one and then I don't have any wifi connection to execute any remote command through ssh.
If anyone has a udev or similar script to do it I would appreciate it.Thanks in advance!
Update: "systemctl status bluetooth.service" fails to work, even if I remove and purge "sixad", but "hciconfig --all" shows my hci0 device perfectly.
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: failed (Result: exit-code) since sáb 2016-05-07 20:24:17 CEST; 12s ago
Docs: man:bluetoothd(8)
Process: 4501 ExecStart=/usr/lib/bluetooth/bluetoothd (code=exited, status=203/EXEC)
Main PID: 4501 (code=exited, status=203/EXEC)may 07 20:24:17 systemd[1]: bluetooth.service: main process exited, code=exited, status=203/EXEC
may 07 20:24:17 systemd[1]: Failed to start Bluetooth service.
may 07 20:24:17 systemd[1]: Unit bluetooth.service entered failed state. -
Executing "sudo sixad -s" remotely works but if I add "sixad -s" to /etc/rc.local it doesn't work
-
I have fixed it just uninstalling and installing again sixad (PS3 controller) in RetroPie-Setup script and adding a systemd service:
sudo nano /etc/systemd/system/sixad-start.service
##########
[Unit]
Description=Sixad start service
After=network.target[Service]
Type=oneshot
ExecStart=/usr/bin/sixad -s 2>&1 > /dev/null
ExecStop=killall sixad
RemainAfterExit=yes
User=root
Group=root[Install]
WantedBy=multi-user.target
##########Then:
sudo systemctl daemon-reload
sudo systemctl enable sixad-start.service
sudo rebootIt also works plugin the bluetooth device.
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.