2016-11-05, 17:46
I managed to get the PS3 Remote working in 16.04 and it was a lot simpler than it used to be.
At the time of writing this I have Bluez 5.37 installed.
In the command line run bluetoothctl
Now type scan on and then press the enter and ps button on the remote at the same time to put the remote into pairing mode
Then run devices and identify the mac address of your PS3 Remote
Once you have the mac address of your PS3 remote (XX:XX:XX:XX:XX:XX in the above example)
(If you get an error message, make sure that you put the mac address of the remote in CAPITALS)
Congratulations, your remote is now paired.
to exit back to the main prompt.
You can now use evtest to make sure that your remote is recognised and working.
Some gotchas if you're upgrading from a previously working bluez4 setup.
1) /etc/bluetooth/input.conf doesn't seem to work anymore. The keys are just recognised directly by the system. This means that changing the keys needs to be done in keyboard.xml
2) the remote does not disconnect any more and batteries might run flat very quickly. (I haven't had the new setup long enough to tell)
3) Some keys higher than 255 are not recognised.
I'll post back if I figure out how to fix these things. I'll be starting from here: http://forum.kodi.tv/showthread.php?tid=...pid1783270
Good Luck.
At the time of writing this I have Bluez 5.37 installed.
In the command line run bluetoothctl
Code:
$ bluetoothctl
Now type scan on and then press the enter and ps button on the remote at the same time to put the remote into pairing mode
Code:
[bluetooth]# scan on
Then run devices and identify the mac address of your PS3 Remote
Code:
[bluetooth]# devices
Device XX:XX:XX:XX:XX XX-XX-XX-XX-XX-XX
Once you have the mac address of your PS3 remote (XX:XX:XX:XX:XX:XX in the above example)
Code:
[bluetooth]# trust XX:XX:XX:XX:XX:XX
(If you get an error message, make sure that you put the mac address of the remote in CAPITALS)
Code:
[bluetooth]# connect XX:XX:XX:XX:XX:XX
Congratulations, your remote is now paired.
Code:
[bluetooth]# quit
to exit back to the main prompt.
You can now use evtest to make sure that your remote is recognised and working.
Some gotchas if you're upgrading from a previously working bluez4 setup.
1) /etc/bluetooth/input.conf doesn't seem to work anymore. The keys are just recognised directly by the system. This means that changing the keys needs to be done in keyboard.xml
2) the remote does not disconnect any more and batteries might run flat very quickly. (I haven't had the new setup long enough to tell)
3) Some keys higher than 255 are not recognised.
I'll post back if I figure out how to fix these things. I'll be starting from here: http://forum.kodi.tv/showthread.php?tid=...pid1783270
Good Luck.