PS3 Remote

From MythTV Official Wiki
Revision as of 16:26, 3 April 2009 by Lift28 (talk | contribs) (PS3 Remote - Sony BD Remote)

Jump to: navigation, search
cakemote-mythtv.py layout for Sony PS3 Bluetooth remote control.

PS3 Remote - Sony BD Remote

The PS3 Remote - Sony BD Remote is a nice peice of hardware, It is bluetooth so no line of site is needed. This is great for a mythtv frontend that feeds multiple rooms. As a side note, the Logitec Cordless MediaBoard Pro™ is a nice cheap keyboard-touchpad combo that is also bluetooth.

The preferred method for setting up this remote can be found here

Unfortunately Debian based distributions bluetooth stack, seems to not like the above method right now. The option for Distributions that will not work with the above method is to use the cakemote.py python script. The cakemote.py script as is, behaves badly due to the multi key press function and requires you to change all your key bindings in myth. With the multi key press function disabled and the remote keys mapped for mythtv this remote rocks. The cakemote-mythtv.py does not interface with lirc.

Drawback to the cakemote-mythtv.py is battery life of 4-5 days.

I have a 15 minute battery charger which makes it tolerable, yes short battery life is a pain in the butt, but the remote works so good my basement, kitchen, living room... that it is worth it, till k/ubuntu bluetooth stack works with the preferred method.

Credit to the original authors

Thanks to those below for their hard work.

#cakemote.py - uinput driver for PS3 remote
#Heavily hacked from work by Will Woods, Brett Rodgers and the WMD team
#by Jo Shields <directhex@apebox.org>

I only tweaked it for use with mythtv, all changes i made are commented.

Requirements

This is geared towards k/ubuntu. You will also need sudo privileges.

sudo apt-get install python-bluez

If you do not already have /home/username/bin directory lets make one

mkdir ~/bin

All files can be found here or here.

File List:

cakemote-mythtv.py -- the script, should reside inside your ~/bin.
ps3-remote-cakemote-mythtv.png -- layout of the remote.
ps3remote-start -- command line bash script for starting the remote. should reside inside your ~/bin.
ps3remote-start-kde4 -- for kde4. should reside inside your ~/bin. add to your kde4 menu.
A directory called bd-remote-mythtv-svg -- this has the svg file for editing the picture of the remote layout, if you reassign the keys.

Extract all files into your ~/bin directory

tar -C ~/bin -xvzf bd-remote-mythtv-svg.tar.gz

You must log out and back in to make scripts in ~/bin directory to be seen in your shell.

work in progress 4/3/9