Skip to content
Browse files

reverted raspberry pi to older kernel for psmove controllers to work

  • Loading branch information...
adangert committed May 23, 2019
1 parent b19c9e1 commit 8badf10783bd5c8cffd5f4b04c0700ee96e0e986
Showing with 4 additions and 1 deletion.
  1. +4 −1
@@ -94,7 +94,7 @@ setup() {

#This will disable on-board bluetooth
#This will allow only class one long range btdongles to connect to psmove controllers
sudo grep -qxF 'dtoverlay=pi3-disable-bt' /boot/config.txt || echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt
sudo grep -qxF 'dtoverlay=pi3-disable-bt' /boot/config.txt || { echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt; sudo rm -rf /var/lib/bluetooth/*; }
sudo systemctl disable hciuart || exit -1

uname2="$(stat --format '%U' '/home/pi/JoustMania/')"
@@ -105,6 +105,9 @@ setup() {
echo "no permissions to update"

#Newest Kernel version breaks psmove controller support, need to downgrade to one that works.
sudo rpi-update 00bb2894c0a4349464c19ba62f62b8d9e17a1a9e

espeak "Joustmania successfully updated, now rebooting"
# Pause a second before rebooting so we can see all the output from this script.

0 comments on commit 8badf10

Please sign in to comment.
You can’t perform that action at this time.