SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP
-
@luetzel ermmm...I'm confused.Is this what should happen when I apply the patch?
-
root@osmc:/# sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d
└─local.conf
Active: active (running) since Tue 2016-05-17 00:28:47 BST; 13h ago
Docs: man:bluetoothd(8)
Main PID: 2072 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─2072 /usr/libexec/bluetooth/bluetoothdMay 17 00:28:47 osmc bluetoothd[2072]: Bluetooth daemon 5.38
May 17 00:28:47 osmc bluetoothd[2072]: Starting SDP server
May 17 00:28:48 osmc bluetoothd[2072]: Bluetooth management interface 1.10 initialized
May 17 00:37:56 osmc bluetoothd[2072]: Failed to obtain handles for "Service Changed" characteristicWarning: Unit file changed on disk, 'systemctl daemon-reload' recommended.
-
@Wolfman100
I think it is related to the connection attempts, it fails to pair and disconnects again. You should
be able to follow this process with 'sudo bluetoothctl'. After a failed connection attempt you should
see a 'disconnected' message for the controller. -
@Wolfman100
Bluetooth daemon 5.38Version should be at 5.39 not 5.38! Did you forget to 'make install' or to reboot your Pi?
-
@luetzel no I definetly did 'make install' but haven't rebooted.
Also,all the patches haven't been applied yet as I was awaiting your response as to whether this was correct:
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
When attempting to apply the patches I get this output:
root@osmc:/bluez-5.39# patch -p1 < patches/bluez-01_add-obexd-policy.patch
patch: **** Only garbage was found in the patch input. -
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
@luetzel ermmm...I'm confused.Is this what should happen when I apply the patch
Sorry, the link that you provided was broken.
Awww, I see you did not download the patches in 'raw-mode'. Make sure that you don't have html tags in your files.
Press the 'Raw' button, before you download the patch files from github!
-
@luetzel OK will do now.Somethings definetly amiss now though as my Bluetooth option has dissapeared from within OSMC
-
I was downloading the patches by right-click 'save link address' and pasting it after wget
-
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
I was downloading the patches by right-click 'save link address' and pasting it after wget
Ah ok, that's why it didn't work for you. Make sure that your link has a 'raw' in front, when downloading with wget:
https://raw.githubusercontent.com/luetzel/bluez/master/patch/bluez-01_add-obexd-policy.patch
-
@luetzel Thanks again.Will try again
-
@luetzel Shall I download from your github?
-
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
@luetzel Shall I download from your github?
Well thats up to you, at least it would simplify the procedure to a:
git clone https://github.com/luetzel/bluez
cd bluez
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-sixaxis
make -j3
sudo make installNote, that you probably have to do 'sudo apt-get install git' first.
-
@luetzel said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
sudo make install
Ha..well that seems a lot easier!So I'm presuming this is with all the patches already applied?
-
This is now what I get when I run sixpair:
root@osmc:/# sudo sixpair
Current Bluetooth master: ff:00:03:c6:9e:66
Unable to retrieve local bd_addr fromhcitool dev
.
Please enable Bluetooth or specify an address manually. -
@Wolfman100
yes they are already included. -
@luetzel This is what I get as my bluetooth service output,which now indicates the correct version 5.39:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d
└─local.conf
Active: active (running) since Tue 2016-05-17 13:56:43 BST; 36min ago
Docs: man:bluetoothd(8)
Main PID: 629 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─629 /usr/libexec/bluetooth/bluetoothdMay 17 13:56:43 osmc bluetoothd[629]: Bluetooth daemon 5.39
May 17 13:56:43 osmc bluetoothd[629]: Starting SDP server
May 17 13:56:43 osmc bluetoothd[629]: Bluetooth management interface 1.10 i...edWarning: Unit file changed on disk, 'systemctl daemon-reload' recommended.
Hint: Some lines were ellipsized, use -l to sh
w in full. -
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
This is now what I get when I run sixpair:
root@osmc:/# sudo sixpair
Current Bluetooth master: ff:00:03:c6:9e:66
Unable to retrieve local bd_addr fromhcitool dev
.
Please enable Bluetooth or specify an address manually.When you tried sixpair before, it seemed to work:
I have now installed QtSixA and have run Sixpair:
root@osmc:/# sudo ./sixpair
Current Bluetooth master: b8:27:eb:a1:9b:7f
Setting master bd_addr to b8:27:eb:a1:9b:7fI don't understand what's going on ..
-
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d
└─local.conf
Active: inactive (dead)
Docs: man:bluetoothd(8)Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.
-
@Wolfman100 said in SHANWAN / PS3 CONTROLLER Pi3 RETROPIE 3.6 BLUETOOTH SETUP:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d
└─local.conf
Active: inactive (dead)
Docs: man:bluetoothd(8)Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.
And why it is no running anymore? Try
sudo systemctl daemon-reload
sudo service bluetooth restartand lets see if it helps.
-
@luetzel OK cool....that seems to have got bluetooth running again!
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.