SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP
-
@Wolfman100
ok, I'm able to pair the PS3 controller on a Pi3 with OSMC and patched bluez:osmc@osmc:~/install/qtsixa-1.5.0/utils/bins$ hcitool dev
Devices:
hci0 B8:27:EB:9F:44:68
osmc@osmc:~/install/qtsixa-1.5.0/utils/bins$ sudo ./sixpair
Current Bluetooth master: b8:27:eb:9f:44:68
Setting master bd_addr to b8:27:eb:9f:44:68
osmc@osmc:~/install/qtsixa-1.5.0/utils/bins$ sudo bluetoothctl
[NEW] Controller B8:27:EB:9F:44:68 osmc [default]
[NEW] Device 01:B6:52:85:63:25 PLAYSTATION(R)3 Controller
[NEW] Device 20:73:AB:91:DD:6F Bluetooth V3.0 Keyboard
[NEW] Device 00:1D:D8:97:9A:F6 Microsoft Blueto
[CHG] Device 01:B6:52:85:63:25 Class: 0x000540
[CHG] Device 01:B6:52:85:63:25 Icon: input-keyboard
[CHG] Device 01:B6:52:85:63:25 Connected: yes
[PLAYSTATION(R)3 Controller]#Your problem must be related to something else. It's not the Pi3 which makes trouble. Did you update/upgrade your osmc to the latest kernel?
my 'uname -a' shows:Linux osmc 4.4.8-3-osmc #1 SMP PREEMPT Sun May 1 18:57:43 UTC 2016 armv7l GNU/Linux
Think it doesn't harm to upgrade to the latest OSMC. If you do so, you probably have to reinstall bluez from source, because the
deb for OSMC was updated on 1st of May. -
I am currently on OSMC 4.4.6-3
I would upgrade,but it is telling me that their is insufficient space for the upgrade.I think this has to do with it being a dual boot system with Raspian,and Raspian has expanded to take all the remaining space on the 32GB SD.
-
Firstly though I just need to get the bluetooth working again right?
-
@Wolfman100
Yes, you have to get the bluetooth working again, before you can continue.To free-up some space, you could try:
sudo apt-get clean
to remove cached packages. In addition:
sudo apt-get autoremove
may help to remove orphaned packages.
or, you try to install it on Raspbian, if there is more space.
Maybe you can try to dump the latest osmc/raspbian onto an empty SD-card?
-
@luetzel I have also noticed that you have been installing into osmc@osmc whereas I have been installing into root@osmc
-
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
@luetzel I have also noticed that you have been installing into osmc@osmc whereas I have been installing into root@osmc
It doesn't matter. It is just your work-account. 'make install' will move all files to the right locations.
-
@luetzel Oh ok.
This system was essentially a test system for me to try out what works/what doesn't etc and I plan to build a new system when my 64GB card arrives in the next few days.
I installed OSMC via Noobs so that I could have a dual boot Raspian/OSMC system.I was however unaware that Raspian would use up all the disk space.I have a 32GB card, and can't even update OSMC because Raspian has chewed up all the space.Do you know how I can avoid this?
-
I installed OSMC via Noobs so that I could have a dual boot Raspian/OSMC system.I was however unaware that Raspian would use up all the disk space.I have a 32GB card, and can't even update OSMC because Raspian has chewed up all the space.Do you know how I can avoid this?
I never used noobs, but on a regular Raspbian 32MB is decent enough to install RetroPie using the setup-script. Raspbian shouldn't take much more than 18% of space on a freshly installed 32MB card.
So let me know when your new card arrived. I'll try to watch this tread time to time, but you can also leave me a message underneath my blog post. I'll receive an email notification if you do so.
Somehow I do not receive any notifications from this forum. I hope that someone else will discover this thread in order to try
PS3/bluez pairing. -
@luetzel dude!The wierdest thing...I just did this:
sudo dpkg -i pi-bluetooth_0.1.0_armhf.deb
Now bluetooth works again and my PS3 controller seems to have paired! 1 light is on!
-
1 Step closer...now to open RetroPie....I suspect imminent failure!
-
OH MY LORD!!!!!!!!!!!!!!! SUCCESS!!!!!!!!
My PS3 controller is paired.....it had no trouble configuring as an input in RetroPie and it looks like it's good to go!
My Bluetooth keyboard also seems to be functioning as it should.
-
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
OH MY LORD!!!!!!!!!!!!!!! SUCCESS!!!!!!!!
My PS3 controller is paired.....it had no trouble configuring as an input in RetroPie and it looks like it's good to go!
My Bluetooth keyboard also seems to be functioning as it should.
Wow, cool! Congratulations. Did you switch to Raspbian now?
Package: pi-bluetooth
New: yes
State: not installed
Version: 0.1.1
Priority: optional
Section: misc
Maintainer: Serge Schneider serge@raspberrypi.org
Architecture: armhf
Uncompressed Size: 42.0 k
Depends: init-system-helpers (>= 1.18~), bluez, bluez-firmware
Description: Raspberry Pi 3 bluetooth
--->>>>> Loads BCM43430A1 firmware on boot <<<<<<-----
Homepage: https://github.com/RPi-Distro/rpi-bluetoothObviously, the firmware wasn't present to start your BT (hci0 device).
-
No...I'm still in OSMC....got RetroPie running in OSMC and happily playing Donkey Kong Country WIRELESSLY without a constantly vibrating controller I might add!! AMAZING!!
I'm not sure how the firmware dissapeared though,as it was working earlier when we were attempting to pair etc...very strange.
I'm going to try and replicate and then write a very clear and simple guide for completely unskilled bozo's such as myself!
Thankyou SO MUCH for your time and effort on this,it really is appreciated...A LOT.I can now happily confirm that it is now possible to pair a Shanwan PS3 controller with a Pi3's onboard Bluetooth running RetroPie inside OSMC!!! BOOOOOOM!!
-
@Wolfman100
You're welcome! Glad to see that it works! -
Just one other thing....how do you go about charging your shanwan controller?As when it is plugged in it just constantly rumbles...
-
I have a 1000mA USB wall-charger and an USB-charge doctor. It does not rumble with the wall charger, but the lights do not turn OFF when it is completely charged. With the charge doctor one can see when the mA drop down to 0.01 mA at the end of the charging process. You can buy a charger doctor at the a***zon marketplace for about 2-3 bucks.
-
@luetzel Good stuff.
Although,now after a reboot nothing will pair again!.......
-
There seems to be an issue with the Bluetooth package,as once again the bluetooth device has dissapeared and the package won't load:
root@osmc:/# sudo dpkg -i pi-bluetooth_0.1.0_armhf.deb
(Reading database ... 51677 files and directories currently installed.)
Preparing to unpack pi-bluetooth_0.1.0_armhf.deb ...
Unpacking pi-bluetooth (0.1.0) over (0.1.0) ...
Setting up pi-bluetooth (0.1.0) ...
Job for hciuart.service failed. See 'systemctl status hciuart.service' and 'journalctl -xn' for details.
root@osmc:/# -
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
There seems to be an issue with the Bluetooth package,as once again the bluetooth device has dissapeared and the package won't load:
root@osmc:/# sudo dpkg -i pi-bluetooth_0.1.0_armhf.deb
(Reading database ... 51677 files and directories currently installed.)
Preparing to unpack pi-bluetooth_0.1.0_armhf.deb ...
Unpacking pi-bluetooth (0.1.0) over (0.1.0) ...
Setting up pi-bluetooth (0.1.0) ...
Job for hciuart.service failed. See 'systemctl status hciuart.service' and 'journalctl -xn' for details.
root@osmc:/#On my Pi3/OSMC I cannot replicate this behavior. It pairs after reboot without problems. It must be related to your
OSMC/ kernel release. Here I'm using the latest 2016.05-1 disk image with all updates (apt-get update/dist-upgrade) applied.Also no problems on Pi2/Raspbian. Here I use an old disk image ?2015? but this one was also upgraded to the latest
release.You should try it on a fresh install/disk image as soon as your new SD-card arrives
-
@luetzel Good point.I'm going to try with a new image with the latest Kernal on a spare card.Really weird issue though right?I've now tried everything and simply cannot get Bluetooth running at-all!Kind of crazy to go from getting the thing pairing perfectly to being worse off than I started with no bluetooth....oh well,welcome to the world of open-source I guess...ho hum!
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.