Skip to content
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

Controllers "paired" but not lighting up? #263

Closed
noahlemen opened this issue Sep 24, 2021 · 17 comments
Closed

Controllers "paired" but not lighting up? #263

noahlemen opened this issue Sep 24, 2021 · 17 comments

Comments

@noahlemen
Copy link

noahlemen commented Sep 24, 2021

I am running a Raspberry Pi 4 (4GB model) with the suggested bluetooth dongle and USB hub. My 7 move controllers appear to pair, but never actually light up white. The web UI shows all 7 controllers as paired and active, but seems to perpetually show low battery on all of them (even after charging overnight). I tried running reset_bluetooth_connections.sh to no avail. The setup script did not encounter any errors.

Any advice for troubleshooting this?

@adangert
Copy link
Owner

the newer ps4 controllers (micro usb not mini), should turn white when you plug them in, then after that when you press the sync button, they should turn orange once connected to the pi.

sudo ./reset_bluetooth_connections.sh should reset all the bluetooth connections so you will have to repair the controllers. I would advise going one controller at a time.

Also you can kill the joustmania process using sudo ./kill_processes.sh

then manually start joustmania with sudo ./joust.sh
then you will be able to see the output in the terminal. You should be able to debug what's going on there. The new move controllers (micro usb) might take a couple of times of getting it plugged in and pressing the sync button for them to work. I hope this helps

@noahlemen
Copy link
Author

Thanks for confirming that!

Still not seeing a clear culprit. I'm getting a mysterious unattributed Home directory not accessible: Permission denied message in the output of joust.sh. Tried correcting ownership via sudo chown -R $USER:$USER $HOME/, but still see the message. Is ownership expected to be configured differently?

Only other potentially-suspicious output I'm seeing is [PSMOVE WARNING] Magnetometer in <<MAC ADDRESS>> not yet calibrated. for all of the controllers.

FWIW, only one of the 7 controllers is one of the newer ones with micro USB.

@adangert
Copy link
Owner

adangert commented Sep 27, 2021

joust.sh should be running with sudo, so the permission error is a bit strange. I would also make sure that your dongle is flashing blue as well.
If all else fails, I would just do a clean install of the raspberry pi os and do the three commands for installation. You should hear music from the HDMI port audio output if everything is working correctly on boot.

@adangert
Copy link
Owner

if you can hear music it means the game is running, if you can't pair controllers then that might mean that something went wrong with the psmove api installation.

You could also do a clean install without disabling the internal bluetooth to see if the controllers might connect then. It could possibly be a dongle issue in that case.

@noahlemen
Copy link
Author

Sounds good. Clean install seems worth trying, I'll see if that makes any difference.

@adangert
Copy link
Owner

yeah I could compare the setup.log with mine if it doesn't work to see if there were any problems when it installed.

Also for reference I use the Raspberry Pi OS with desktop option on the website, and on first boot, I do the initial software update that is prompted by the OS.

@TheMiniBar
Copy link

TheMiniBar commented Sep 27, 2021 via email

@adangert
Copy link
Owner

yeah the magneto meter errors I think happen on both the pi and windows version. Basically since we don't use the magnometer it throws those errors I believe.

@adangert adangert closed this as completed Oct 8, 2021
@noahlemen
Copy link
Author

still haven't resolved this. after reinstalling i now seem to occasionally get a controller or two (out of seven) to pair, but even then it's flaky. no errors from joust.sh, and nothing clearly failing during setup.

@TheMiniBar
Copy link

TheMiniBar commented Oct 11, 2021

Have you disabled the Pi's internal bluetooth?

@noahlemen
Copy link
Author

yeah, i'm using the usb bluetooth adapter mentioned in the readme. i tried with internal bluetooth disabled as well but didn't see any differing results

@TheMiniBar
Copy link

I run 20 controllers with 4 USB Bluetooth adapters from an externally powered USB hub. I’d definitely disable the internal Bluetooth but for testing purposes you can use internal.

My Bluetooth adapters have little blue led lights in them. I can see which ones have no devices attached and which ones are talking to devices.
Do you have similar?

@adangert
Copy link
Owner

the fact that you can get one or two paired is a good thing, Sometimes the pairing crashes, if your controllers are not turning white when pairing, try restarting the pi and trying again

@noahlemen
Copy link
Author

giving up on this for now. haven't made any progress and unfortunately don't have time to troubleshoot in more depth. if anyone encounters this issue and finds a solve please let me know!

@TheMiniBar
Copy link

Did you try resetting one of the controllers that wouldn't pair? There is a reset button and instructions online as to how to do this.

I had one early install where I had similar problems but I ended up starting with a fresh install of the most comprehensive Pi OS desktop, then doing the clone GitHub for Joustmania and then taking an image of that SD card so I could easily refresh everything if I hit problems again. After that, if I get problems I just refresh the SD card with my backed up image.

A rebuild from scratch sorted it for me. I never worked out why I couldnt pair all my controllers

@noahlemen
Copy link
Author

yep, tried resetting all controllers as well as reinstalling everything from scratch.

@adangert
Copy link
Owner

I have had bad Bluetooth dongles before, there's a chance you might have just gotten an unlucky one,

I would try reloading the os again, not plugging in the controller and leaving off the --disable_internal_bt line,
Then see if the controllers just pair with the raspberry pis internal Bluetooth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants