-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup #6
Comments
I searched for "ps3 compatible bluetooth" and found a recommendation for this one https://www.amazon.com/gp/product/B009ZIILLI I turns out that I bought one of those awhile ago for a bluetooth on Pi job, and it worked. The job had nothing to do with PS3, but the dongle certainly was compatible with Pi 2, and talked to a BT-LE device that we had designed. Pi 3 supposedly supports BT 4.1, so one would expect it to work. But, as I said on a private message, I don't have any experience with PS3. |
I have tried following the steps. I am using a PI that does not have BT but I have installed a BT dongle. In the pairing steps - which I have done over and over which I am not sure if that is the reason for this issue below.....
|
Still messing and now I get this - seems the pairing recognizes the controller but when I get the last prompt I am not sure what to do.
|
So I started with a fresh install of Noobs/Raspbian and even before installing CNCjs - I tried doing the bluetooth connect. I get a bit farther but never get the Authorization request for Y or N.....
|
I can type in the trust command but then if I check for paired-devices it does not show up.
I have no clue what I am doing ... trying to follow the steps and best as possible but I continue to fail |
I think I know the flow now to get the authoriztion to come up and even if I type in yes and enter and the trust and the ps3 address - it still does not pair. It shows trusted but that is it.... no pairing...
|
@cheton @AustinSaintAubin |
Sorry, I was working to reply. Just getting lunch break now, forgot to reply yesterday. Looks like it did connect.
What is the output when you run:
Also, try testing with
|
I am not sure if it was the controller or what. This is the controller I was trying to connect : https://www.amazon.com/gp/product/B06XDPQYB9 When I would run the Never made a return where I think it should have said also I never went past the connectivity test so I didn't install the ## Joystick Application or ## Get Battery Level, etc. @AustinSaintAubin Out of curiosity do you think it may have been the type of controller I had or the fact I am using a USB dongle since the PI does not have on board Bluetooth or more likely just user error? I would love to get a controller to work so any additional advice you can share would be appreciated. . I did find two used controllers that appear to be genuine PS3 on ebay.. will give them a try. Thx. |
@spankurmonkey This is what i have/bought in 2017: PlayStation 3 Dualshock 3 Wireless Controller (Urban Camouflage) |
@AustinSaintAubin I didn't mention but the USB Bluetooth dongle was this one - https://www.amazon.com/gp/product/B007Q45EF4 I am hoping this didn't have anything to do with it also. I am guessing not otherwise it would have never showed the controller during the |
@AustinSaintAubin
This is after I do the bluetoothctl and then say yes to the authorization. I can never get the trust to work....
If I then quit and try the next Get Battery Levelcat "/sys/class/power_supply/sony_controller_battery_03:a4:98:78:63:25/capacity" i get
|
@AustinSaintAubin after the following only one light stays on... constant.
Again, I cannot get it to trust or pair, etc.
Can't get this to work either. |
This certainly does not look good ---
|
@AustinSaintAubin |
Wiped the SD card again... fresh install of CNCjs 1.9.16 --- Will try the PS3 again tomorrow. |
Well I am convinced... PS3 does not work for the layperson. I was able to get a trust succeeded this time and the joystick showed int he ls /dev/input and the js0 test worked. I then moved onto the rest of the steps... some of them I was not sure if they should be ran or not given they had the # symbol which Here is the results..... does not even look like the cncjs-pendant-ps3 was even installed... don't see a directory for it much like I would when I did the tinyweb install or the shopfloor install.
|
These are the lines I am questioning.
Not to mention the errors found in the cncjs-pendant-ps3 install
|
Ok I give up and I am out ... probably ... most likely ..... user error ... maybe.... you can close or delete this thread .. its of no use to anyone else. |
Looks like an issue with depreciated dependancies in node-hid.
I will try to do some testing of my own and see what has changed. |
@AustinSaintAubin Yes, the controller connected but was really hit and miss getting it too. While I understand very little of this I would ask... wouldn't having a USB controller that is 2.4ghz based or even wired be a better solution that bluetooth since bluetooth can be not as reliable? |
To be honest. At the time, the full scope of the project was to simply get the wireless PS3 controller that I had on hand to work with CNCJs, then share the code. |
@AustinSaintAubin |
FWIW: A few days ago I also tried to install the cncjs-pendant-ps3 but I never got it working. This was on Rasbpian Stretch with Node 10. I did try updating all the dependencies and managed to install it but got some runtime error on startup. The installation instructions are a bit unclear and I suspect they do not work on Node 10. |
@tawera Can you elaborate on what you did ? I would still love to get this working but as for a novice and someone who dumbed down level of instructions I am at a total loss of trying for a few days to get it to work.
|
The problem, I believe, is that this pendant depends on libraries that are not compatible with Node 10. Looking at the errors logs above I think you encountered the same problem as I did. I tried changing to Node 8 and it works, so you should change to Node 8 and it should work. I have only verified that I can build and start the pendant, I have a PS4 controller (which I'm not sure is supported) and I haven't configured the bluetooth connection yet so I haven't got it all up and running. I suggest you use NVM for managing node versions. Then you can try
Then you can install the pendant with
Which worked for me atleast, the additional npm commands mentioned in the README was not needed for me. |
Confirmed. This module is not compatible with Node > 8. Switch to Node 8 and it will install. |
What is the setup -- any PS3 controller or official one or any knock off, etc?
I presume you need a BT dongle on the PI... is there not different versions of BT?
Is it 4.0 ? I guess if I have the latest Pi Bluetooth is built in.
Just trying to understand what hardware is need prior to attempting to use this awesome looking feature.
The text was updated successfully, but these errors were encountered: