SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP
-
or anyone else?
-
I'm not sure why this issue has arisen as it has not happened on previous installs.The variables that have changed are the build is on a single OS system (Just OSMC,not a Raspian/OSMC dual boot) and a lter version of RetroPie 4.0.I can't imagine that either of these have contributed to the issue however?
-
@Wolfman100
Hi Wolfman,
sorry for my delayed answer, but I do not receive email notifications from the forum. You are missing (again) some packages, which are required for compilation of the source code. In general: if you receive a message such as 'missing header(file).h' from ./configure or gcc compiler, simply do a 'sudo aptitude search <name>'. In case of 'readline', aptitude reveals a package named 'readline-dev'. Just install it and you are good to go. -
Hi @luetzel AKA The Master Of the Shanwan!
No problem.Thanks for getting back to me.I'm kind of intigued as to why this time around that particular package is missing.
I already went to:
https://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
And attempted to install that package but that then returned more errors so I stopped as I didn't have to install any of this before....
-
Surely in my previous installions which were dual boot,there was no way that it would be seeing installed packages on another OS and using those is there?
-
I have also tried:
sudo apt-get install readline-dev
and it is unable to locate package
-
I managed to install the correct package which solved the issue with:
sudo apt-get install libreadline-gplv2-dev
-
For some reason though the 'make' fails:
osmc@osmc:~/qtsixa-1.4.96/utils$ ls
bins hcid hidraw-dump.c Makefile sixad-jack.c sixpair.c sixpair_kbd.c
osmc@osmc:~/qtsixa-1.4.96/utils$ nano Makefile
osmc@osmc:~/qtsixa-1.4.96/utils$ make
gcc -Wall -O2 hidraw-dump.c -o bins/hidraw-dump
gcc -Wall -O2 sixad-jack.c -o bins/sixad-jack -ljack -lm
sixad-jack.c:25:23: fatal error: jack/jack.h: No such file or directory
#include <jack/jack.h>
^
compilation terminated.
Makefile:8: recipe for target 'tools' failed
make: *** [tools] Error 1 -
I'm really really baffled why all these errors are appearing and why so many packages seem to not be installed as I had none of these issues on previous builds...
-
Managed to get all the missing packages installed and make QtoSixA,but now the Pi sees the controller,but only as a keyboard for some reason....
[03-C6-9E-66-63-25]# info 03:C6:9E:66:63:25
Device 03:C6:9E:66:63:25
Alias: 03-C6-9E-66-63-25
Class: 0x000540
Icon: input-keyboard
Paired: no
Trusted: no
Blocked: no
Connected: yes
LegacyPairing: no
[CHG] Device 03:C6:9E:66:63:25 Connected: no
[DEL] Device 03:C6:9E:66:63:25 03-C6-9E-66-63-25
[bluetooth]# -
Hello!
This is my first post, and my english is not so good.
After 4 days and 4 nights of hard work spent to pair my ps3 controller shanwan clone and my raspberry pi 3 using the internal Bluetooth I filally say that I have win!!!!
I have installed a microsd card with retropie 3.8.1 and updated and upgraded to last commits of 2016-06-19.
I have followed the instructions provided by @luetzel (In this guide) with one more step to add after the Step3 and before the Step4.
In this new step it is necessary to execute this command that creates a symbolic link called "/etc/firmware":sudo ln -s /lib/firmware/ /etc/firmware
This command is necessary because in a bluez sources there is a file called:
hciattach_bcm43xx.c
located in the src/tools folder there is a reference to a path called "/etc/firmware", but this path does not exist in retropie distros.Before the creation of the symbolic link, after the execution of the Step4 of the guide, when I execute this command:
sudo ./sixpair
I have the same result obtained by user @pablo in this post and user @buddhastevend in this post:
pi@retropie:~/QtSixA-1.5.1/utils/bins $ sudo ./sixpair
Current Bluetooth master: aa:aa:aa:aa:aa:aa
Setting master bd_addr to aa:aa:aa:aa:aa:aaAfter the creation of the symbolic link the pairing process works perfectly!
pi@retropie:~/QtSixA-1.5.1/utils/bins $ sudo ./sixpair
Current Bluetooth master: b8:27:eb:e5:2f:e1
Setting master bd_addr to b8:27:eb:e5:2f:e1I hope this great news for me can be useful to other retropie and raspberry users.
I had the idea to create the symbolic link reading this thread.
Good night.
-
@Wolfman100
hey wolfman100 !
Very interested in your efforts to get shanwan PS3 clone going on retrosmc. Im trying to do the same thing. The tutorial is showing 404 error for me HTTP ERROR 404 - PAGE NOT FOUND!. https://luetzels.raspiblog.com/?p=1870 Have I got the right link?
Is this a full guide which works on OSMC?thanks
-
@trevevs
ahh looks like the guide s back up! Still not really able to follow on my OSMC with retrosmc install.
guessing I can skip to step 4 since I got git clone https://github.com/luetzel/bluez in step 3?
I did that and get the bluez folder/files in my osmc folder.when you got bluez-5.39, do you mean the bluez folder I just got?
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-sixaxis
seemed to do a lot of stuff ..tried make -j3 but got:
: *** No targets specified and no makefile found. Stop.Probably something daft Im doing??
cheers
-
@trevevs
Hi trevevs,
sorry that the link to my blog did not work for you! Hope that you are able to pair your PS3 clone now. My blog is on a self-hosted server, consisting of a Banana Pi. It connects via dyndns, so that it is occasionally not reachable when my IP changes. -
@dagosand
Hi Dagosand,
thank you for providing this information - indeed very helpful for fixing the pairing problems. I hope that the bluez patches will make it soon into the master branch of bluez, so that the PS3 controllers will work out-of-the-box. -
Hi @luetzel thank you very much, but with your perfect guide you made the biggest work .
Who will inform bluez guys about the "/etc/firmware" folder issue? -
@trevevs when you attempt to do the 'make' did you execute the command form inside the 'bins' folder,this is necessary.
-
@dagosand well done for sticking with it and being commited.I certainly know from experience how frustrating it can be!!
The symbolic link issue is interesting,been away from the Pi for a week but will look into this tonight.
-
@dagosand
I don't think it is necessary to bother the bluez guys with this issue. It just due to the fact that /firmware is at a non-standard location in contrast to other distributions. Guess that it is already possible to pass a ./configure --flag for pointing bluez to the path of the /firmware directory. -
@trevevs said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
@trevevs
ahh looks like the guide s back up! Still not really able to follow on my OSMC with retrosmc install.
guessing I can skip to step 4 since I got git clone https://github.com/luetzel/bluez in step 3?
I did that and get the bluez folder/files in my osmc folder.when you got bluez-5.39, do you mean the bluez folder I just got?
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-sixaxis
seemed to do a lot of stuff ..tried make -j3 but got:
: *** No targets specified and no makefile found. Stop.Probably something daft Im doing??
cheers
I'm stuck on the same spot. I skipped to step 4 after downloading the git clone, but I don't get a bluez-5.39 folder, just a "bluez" folder. Same results as @trevevs for the other parts. Configure does a few things, but make and compile say I have no targets specified.
I'm pretty new to the pi scene, so I don't know how to move through folders and files within Raspbian, so a lot of the instructions from Step 5 on are pretty lost on me. Anyone get this to work?
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.