<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.raspberrytorte.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Martin</id>
		<title>SingletonMillerWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.raspberrytorte.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Martin"/>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Special:Contributions/Martin"/>
		<updated>2026-07-01T02:48:04Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.4</generator>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Streaming_Video&amp;diff=852</id>
		<title>Streaming Video</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Streaming_Video&amp;diff=852"/>
				<updated>2015-03-28T17:04:38Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: Created page with &amp;quot; Category:RaspberryPi Category:Projects  == Introduction == The objective of this How To is install setup and stream high resolution, high frame rate video from your R...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install setup and stream high resolution, high frame rate video from your Raspberry Pi (with a Camera module) over a network.&lt;br /&gt;
Based on [http://www.ics.com/blog/raspberry-pi-camera-module#.VJFhbyvF-b8].&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
* Raspberry Pi&lt;br /&gt;
* Raspberry Pi camera module&lt;br /&gt;
&lt;br /&gt;
=== Initial Setup ===&lt;br /&gt;
It is assumed that your Raspberry Pi is running Raspian and that the camera module is connected correctly.&lt;br /&gt;
Familiarity with the command line prompt is of benefit as most of the work here is via the command line.&lt;br /&gt;
If you&amp;#039;re using the desktop, open a Terminal from the desktop menu or use a remote connection via SSH [[Enable SSH#Connect_via_SSH_on_a_Local_network]] &lt;br /&gt;
&lt;br /&gt;
To test the camera is working take a picture from the camera.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ raspistill -o test_image.jpg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To check the picture use the file browser the picture should be in your home folder (~) [http://thepihut.com/blogs/raspberry-pi-tutorials/16021420-how-to-install-use-the-raspberry-pi-camera].&lt;br /&gt;
&lt;br /&gt;
If its not working, try the following,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
check the camera is enabled&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo raspi-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot to bring your pi back up in a known good state and hopefully a retest of the picture capture will work.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Streaming ==&lt;br /&gt;
=== Install vlc ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install vlc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Enable he v4l module&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo modprobe bcm2835-v4l2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== VLC command ===&lt;br /&gt;
Use the command line version of vlc to directly stream the camera output to a port.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap; &lt;br /&gt;
white-space: -moz-pre-wrap; &lt;br /&gt;
white-space: -pre-wrap; &lt;br /&gt;
white-space: -o-pre-wrap; &lt;br /&gt;
word-wrap: break-word;&amp;quot;&amp;gt;&lt;br /&gt;
cvlc v4l2:///dev/video0 --v4l2-width 640 --v4l2-height 480 --v4l2-chroma h264 --sout &amp;#039;#standard{access=http,mux=ts,dst=0.0.0.0:8085}&amp;#039; &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change the &amp;lt;code&amp;gt;--v4l2-width&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--v4l2-height&amp;lt;/code&amp;gt; to adjust the screen resolution.&lt;br /&gt;
I&amp;#039;ve tested up to 1900 x 1080.&lt;br /&gt;
Change &amp;lt;code&amp;gt;8085&amp;lt;/code&amp;gt; to adjust the port to broadcast on.&lt;br /&gt;
&lt;br /&gt;
=== Monitor the Stream ===&lt;br /&gt;
Check that this is working by monitoring the stream on anther PC (is best).&lt;br /&gt;
We need to know the IP address of your Pi on your network and the port (from above):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ifconfig | grep &amp;#039;inet addr:&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
should give something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    inet addr:192.168.0.31  Bcast:192.168.0.255  Mask:255.255.255.0&lt;br /&gt;
    inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Point your Firefox browser to the address &amp;lt;code&amp;gt;http://192.168.0.31:8085&amp;lt;/code&amp;gt; to see the live feed.&lt;br /&gt;
Alternatively use the same address in the VLC GUI under a &amp;#039;Open Network Stream&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Stream Capture ==&lt;br /&gt;
It is possible to capture the stream on any computer than can see the stream.&lt;br /&gt;
If your router is correctly configured the stream can be viewed by any computer on the internet.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Use VLC to record the stream (use the figures below as a guide)&lt;br /&gt;
# Enter the network stream address&lt;br /&gt;
# Select the Convert Save button&lt;br /&gt;
# Create a Raw Capture Profile using the &lt;br /&gt;
# Select the Raw profile and select the file save location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:VLC_convert_save.png|VLC_convert_save.png&lt;br /&gt;
File:VLC_convert_save_open_media_network.png|VLC_convert_save_open_media_network.png&lt;br /&gt;
File:VLC_convert_save_raw_profile.png|VLC_convert_save_raw_profile.png&lt;br /&gt;
File:VLC_convert_save_open_media_network_convert.png|VLC_convert_save_open_media_network_convert.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for running the code from a script&lt;br /&gt;
# How to set up a router to forward a stream port&lt;br /&gt;
# How to get your internet IP address for external viewing (no-ip)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.ics.com/blog/raspberry-pi-camera-module#.VJFhbyvF-b8 ICS Insight Blog&amp;gt;The Raspberry Pi Camera Module]&lt;br /&gt;
# [http://thepihut.com/blogs/raspberry-pi-tutorials/16021420-how-to-install-use-the-raspberry-pi-camera How to take a photo with your Raspberry Pi]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save_raw_profile.png&amp;diff=851</id>
		<title>File:VLC convert save raw profile.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save_raw_profile.png&amp;diff=851"/>
				<updated>2015-03-28T16:41:45Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save_open_media_network_convert.png&amp;diff=850</id>
		<title>File:VLC convert save open media network convert.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save_open_media_network_convert.png&amp;diff=850"/>
				<updated>2015-03-28T16:41:31Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save_open_media_network.png&amp;diff=849</id>
		<title>File:VLC convert save open media network.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save_open_media_network.png&amp;diff=849"/>
				<updated>2015-03-28T16:41:19Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save_open_media.png&amp;diff=848</id>
		<title>File:VLC convert save open media.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save_open_media.png&amp;diff=848"/>
				<updated>2015-03-28T16:41:04Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save.png&amp;diff=847</id>
		<title>File:VLC convert save.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:VLC_convert_save.png&amp;diff=847"/>
				<updated>2015-03-28T16:40:43Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=846</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=846"/>
				<updated>2015-03-28T13:36:02Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* init.d */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions you are assumed to have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
Here we simulate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget --output-document=motion.conf_for_motionstills_debug.conf &amp;quot;http://pastebin.com/raw.php?i=tSjgys2q&amp;quot;&lt;br /&gt;
$ ./motion -n -c motion.conf_for_motionstills_debug.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Auto Running at Boot ==&lt;br /&gt;
There are several methods to do this.&lt;br /&gt;
&lt;br /&gt;
=== cron ===&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
=== rc.local ===&lt;br /&gt;
edit the rc.local file as superuser and add the command to the end of the file.&lt;br /&gt;
see &lt;br /&gt;
http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/auto-running-programs&lt;br /&gt;
&lt;br /&gt;
=== init.d ===&lt;br /&gt;
create a runtime script for motion in the init.d folder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo nano /etc/init.d/run_motion.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
/home/pi/motion/./motion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit using Ctrl-X&lt;br /&gt;
&lt;br /&gt;
Initialise the runtime using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$  sudo update-rc.d run_motion.sh defaults&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== disable init.d ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo update-rc.d run_motion.sh stop levels .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo  update-rc.d -f run_motion.sh remove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For temporary disable add a &amp;#039;#&amp;#039; to the call to the motion program, re-save the script and reboot the Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# /home/pi/motion/./motion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=845</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=845"/>
				<updated>2015-03-28T13:13:15Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Adapting the Config File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions you are assumed to have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
Here we simulate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget --output-document=motion.conf_for_motionstills_debug.conf &amp;quot;http://pastebin.com/raw.php?i=tSjgys2q&amp;quot;&lt;br /&gt;
$ ./motion -n -c motion.conf_for_motionstills_debug.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Auto Running at Boot ==&lt;br /&gt;
There are several methods to do this.&lt;br /&gt;
&lt;br /&gt;
=== cron ===&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
=== rc.local ===&lt;br /&gt;
edit the rc.local file as superuser and add the command to the end of the file.&lt;br /&gt;
see &lt;br /&gt;
http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/auto-running-programs&lt;br /&gt;
&lt;br /&gt;
=== init.d ===&lt;br /&gt;
create a runtime script for motion in the init.d folder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo nano /etc/init.d/run_motion.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add the following lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
/home/pi/motion/./motion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit using Ctrl-X&lt;br /&gt;
&lt;br /&gt;
Initialise the runtime using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$  sudo update-rc.d run_motion.sh defaults&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to prevent the autostart either delete the script or for temporary disable add a &amp;#039;#&amp;#039; to the call to the motion program, resave the script and reboot the Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# /home/pi/motion/./motion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:Robox3DPrinter20140925_171644.jpg&amp;diff=844</id>
		<title>File:Robox3DPrinter20140925 171644.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:Robox3DPrinter20140925_171644.jpg&amp;diff=844"/>
				<updated>2014-10-13T18:05:56Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: Kickstarter 3D Printer, ROBOX&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Kickstarter 3D Printer, ROBOX&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:CISECOPiLite.JPG&amp;diff=843</id>
		<title>File:CISECOPiLite.JPG</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:CISECOPiLite.JPG&amp;diff=843"/>
				<updated>2013-12-24T11:54:53Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: CISECO PiLite LED array for Raspberry Pi.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CISECO PiLite LED array for Raspberry Pi.&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=842</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=842"/>
				<updated>2013-12-23T00:53:37Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
Install minicom&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install --pre xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/298-pilite-twitter-feed&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls -l ~/PiLite/Python_Examples/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1622 Dec 23 00:36 Bargraph_tk.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  7117 Dec 23 00:36 BarScroll.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  3232 Dec 23 00:36 BarUpDown.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   646 Dec 23 00:36 Pacman.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi 29151 Dec 23 00:36 PiLiteEmulator.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1635 Dec 23 00:36 PiLiteLib.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1146 Dec 23 00:36 PiLiteStock.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1898 Dec 23 00:36 PiLiteTwitter.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   874 Dec 23 00:36 PiLiteWeather.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   720 Dec 23 00:36 PiLiteWorldTime.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   931 Dec 23 00:36 PiLiteXively.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1895 Dec 23 00:36 ReadMe.txt&lt;br /&gt;
drwxr-xr-x 2 pi pi  4096 Dec 23 00:36 twitter&lt;br /&gt;
-rwxr-xr-x 1 pi pi   913 Dec 23 00:36 VUSample.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   655 Dec 23 00:36 VU_tk.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python ~/PiLite/Python_Examples/PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using Minicom ==&lt;br /&gt;
Access the serial port using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
minicom -b 9600 -o -D /dev/ttyAMA0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Welcome to minicom 2.6.1&lt;br /&gt;
&lt;br /&gt;
OPTIONS: I18n &lt;br /&gt;
Compiled on Apr 28 2012, 19:24:31.&lt;br /&gt;
Port /dev/ttyAMA0&lt;br /&gt;
&lt;br /&gt;
Press CTRL-A Z for help on special keys&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Short phrases can be types to the terminal, due to the timeout longer phrases should be pasted from a text file, try this&lt;br /&gt;
&amp;lt;code&amp;gt;The quick brown fox jumped over the lazy dog.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To exit the terminal press CTRL-A then x to access the quit prompt.&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
== Known Issues ==&lt;br /&gt;
# &amp;#039;PiLiteXively.py&amp;#039; does not work and throws an error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
python ~/PiLite/Python_Examples/PiLiteXively.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 42, in &amp;lt;module&amp;gt;&lt;br /&gt;
    main()&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 34, in main&lt;br /&gt;
    source = XivelyDatastream(44519)&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 24, in __init__&lt;br /&gt;
    self.api = xively.XivelyAPIClient(conf.get(&amp;#039;xively&amp;#039;, &amp;#039;apikey&amp;#039;))&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.7/ConfigParser.py&amp;quot;, line 607, in get&lt;br /&gt;
    raise NoSectionError(section)&lt;br /&gt;
ConfigParser.NoSectionError: No section: &amp;#039;xively&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=841</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=841"/>
				<updated>2013-12-23T00:45:55Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Minicom */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
Install minicom&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install --pre xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/298-pilite-twitter-feed&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls -l ~/PiLite/Python_Examples/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1622 Dec 23 00:36 Bargraph_tk.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  7117 Dec 23 00:36 BarScroll.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  3232 Dec 23 00:36 BarUpDown.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   646 Dec 23 00:36 Pacman.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi 29151 Dec 23 00:36 PiLiteEmulator.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1635 Dec 23 00:36 PiLiteLib.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1146 Dec 23 00:36 PiLiteStock.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1898 Dec 23 00:36 PiLiteTwitter.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   874 Dec 23 00:36 PiLiteWeather.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   720 Dec 23 00:36 PiLiteWorldTime.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   931 Dec 23 00:36 PiLiteXively.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1895 Dec 23 00:36 ReadMe.txt&lt;br /&gt;
drwxr-xr-x 2 pi pi  4096 Dec 23 00:36 twitter&lt;br /&gt;
-rwxr-xr-x 1 pi pi   913 Dec 23 00:36 VUSample.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   655 Dec 23 00:36 VU_tk.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python ~/PiLite/Python_Examples/PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
== Known Issues ==&lt;br /&gt;
# &amp;#039;PiLiteXively.py&amp;#039; does not work and throws an error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
python ~/PiLite/Python_Examples/PiLiteXively.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 42, in &amp;lt;module&amp;gt;&lt;br /&gt;
    main()&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 34, in main&lt;br /&gt;
    source = XivelyDatastream(44519)&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 24, in __init__&lt;br /&gt;
    self.api = xively.XivelyAPIClient(conf.get(&amp;#039;xively&amp;#039;, &amp;#039;apikey&amp;#039;))&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.7/ConfigParser.py&amp;quot;, line 607, in get&lt;br /&gt;
    raise NoSectionError(section)&lt;br /&gt;
ConfigParser.NoSectionError: No section: &amp;#039;xively&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=840</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=840"/>
				<updated>2013-12-23T00:43:38Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Twitter Feed Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install --pre xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/298-pilite-twitter-feed&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls -l ~/PiLite/Python_Examples/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1622 Dec 23 00:36 Bargraph_tk.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  7117 Dec 23 00:36 BarScroll.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  3232 Dec 23 00:36 BarUpDown.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   646 Dec 23 00:36 Pacman.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi 29151 Dec 23 00:36 PiLiteEmulator.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1635 Dec 23 00:36 PiLiteLib.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1146 Dec 23 00:36 PiLiteStock.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1898 Dec 23 00:36 PiLiteTwitter.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   874 Dec 23 00:36 PiLiteWeather.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   720 Dec 23 00:36 PiLiteWorldTime.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   931 Dec 23 00:36 PiLiteXively.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1895 Dec 23 00:36 ReadMe.txt&lt;br /&gt;
drwxr-xr-x 2 pi pi  4096 Dec 23 00:36 twitter&lt;br /&gt;
-rwxr-xr-x 1 pi pi   913 Dec 23 00:36 VUSample.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   655 Dec 23 00:36 VU_tk.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python ~/PiLite/Python_Examples/PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
== Known Issues ==&lt;br /&gt;
# &amp;#039;PiLiteXively.py&amp;#039; does not work and throws an error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
python ~/PiLite/Python_Examples/PiLiteXively.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 42, in &amp;lt;module&amp;gt;&lt;br /&gt;
    main()&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 34, in main&lt;br /&gt;
    source = XivelyDatastream(44519)&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 24, in __init__&lt;br /&gt;
    self.api = xively.XivelyAPIClient(conf.get(&amp;#039;xively&amp;#039;, &amp;#039;apikey&amp;#039;))&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.7/ConfigParser.py&amp;quot;, line 607, in get&lt;br /&gt;
    raise NoSectionError(section)&lt;br /&gt;
ConfigParser.NoSectionError: No section: &amp;#039;xively&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=839</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=839"/>
				<updated>2013-12-23T00:42:34Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install --pre xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls -l ~/PiLite/Python_Examples/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1622 Dec 23 00:36 Bargraph_tk.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  7117 Dec 23 00:36 BarScroll.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  3232 Dec 23 00:36 BarUpDown.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   646 Dec 23 00:36 Pacman.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi 29151 Dec 23 00:36 PiLiteEmulator.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1635 Dec 23 00:36 PiLiteLib.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1146 Dec 23 00:36 PiLiteStock.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1898 Dec 23 00:36 PiLiteTwitter.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   874 Dec 23 00:36 PiLiteWeather.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   720 Dec 23 00:36 PiLiteWorldTime.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   931 Dec 23 00:36 PiLiteXively.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1895 Dec 23 00:36 ReadMe.txt&lt;br /&gt;
drwxr-xr-x 2 pi pi  4096 Dec 23 00:36 twitter&lt;br /&gt;
-rwxr-xr-x 1 pi pi   913 Dec 23 00:36 VUSample.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   655 Dec 23 00:36 VU_tk.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python ~/PiLite/Python_Examples/PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
== Known Issues ==&lt;br /&gt;
# &amp;#039;PiLiteXively.py&amp;#039; does not work and throws an error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
python ~/PiLite/Python_Examples/PiLiteXively.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 42, in &amp;lt;module&amp;gt;&lt;br /&gt;
    main()&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 34, in main&lt;br /&gt;
    source = XivelyDatastream(44519)&lt;br /&gt;
  File &amp;quot;/home/pi/PiLite/Python_Examples/PiLiteXively.py&amp;quot;, line 24, in __init__&lt;br /&gt;
    self.api = xively.XivelyAPIClient(conf.get(&amp;#039;xively&amp;#039;, &amp;#039;apikey&amp;#039;))&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.7/ConfigParser.py&amp;quot;, line 607, in get&lt;br /&gt;
    raise NoSectionError(section)&lt;br /&gt;
ConfigParser.NoSectionError: No section: &amp;#039;xively&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=838</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=838"/>
				<updated>2013-12-23T00:38:26Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Example Python Programmes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install --pre xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls -l ~/PiLite/Python_Examples/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1622 Dec 23 00:36 Bargraph_tk.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  7117 Dec 23 00:36 BarScroll.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  3232 Dec 23 00:36 BarUpDown.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   646 Dec 23 00:36 Pacman.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi 29151 Dec 23 00:36 PiLiteEmulator.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1635 Dec 23 00:36 PiLiteLib.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1146 Dec 23 00:36 PiLiteStock.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1898 Dec 23 00:36 PiLiteTwitter.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   874 Dec 23 00:36 PiLiteWeather.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   720 Dec 23 00:36 PiLiteWorldTime.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   931 Dec 23 00:36 PiLiteXively.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1895 Dec 23 00:36 ReadMe.txt&lt;br /&gt;
drwxr-xr-x 2 pi pi  4096 Dec 23 00:36 twitter&lt;br /&gt;
-rwxr-xr-x 1 pi pi   913 Dec 23 00:36 VUSample.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   655 Dec 23 00:36 VU_tk.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python ~/PiLite/Python_Examples/PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=837</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=837"/>
				<updated>2013-12-23T00:36:22Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Example Python Programmes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install --pre xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls -l ~/PiLite/Python_Examples/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1622 Dec 23 00:36 Bargraph_tk.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  7117 Dec 23 00:36 BarScroll.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  3232 Dec 23 00:36 BarUpDown.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   646 Dec 23 00:36 Pacman.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi 29151 Dec 23 00:36 PiLiteEmulator.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1635 Dec 23 00:36 PiLiteLib.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1146 Dec 23 00:36 PiLiteStock.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1898 Dec 23 00:36 PiLiteTwitter.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   874 Dec 23 00:36 PiLiteWeather.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   720 Dec 23 00:36 PiLiteWorldTime.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   931 Dec 23 00:36 PiLiteXively.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1895 Dec 23 00:36 ReadMe.txt&lt;br /&gt;
drwxr-xr-x 2 pi pi  4096 Dec 23 00:36 twitter&lt;br /&gt;
-rwxr-xr-x 1 pi pi   913 Dec 23 00:36 VUSample.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   655 Dec 23 00:36 VU_tk.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=836</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=836"/>
				<updated>2013-12-23T00:31:38Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Example Python Programmes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install --pre xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls -l ~/PiLite/Python_Examples/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1622 Dec 23 00:36 Bargraph_tk.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  7117 Dec 23 00:36 BarScroll.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  3232 Dec 23 00:36 BarUpDown.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   646 Dec 23 00:36 Pacman.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi 29151 Dec 23 00:36 PiLiteEmulator.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1635 Dec 23 00:36 PiLiteLib.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1146 Dec 23 00:36 PiLiteStock.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi  1898 Dec 23 00:36 PiLiteTwitter.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   874 Dec 23 00:36 PiLiteWeather.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   720 Dec 23 00:36 PiLiteWorldTime.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   931 Dec 23 00:36 PiLiteXively.py&lt;br /&gt;
-rw-r--r-- 1 pi pi  1895 Dec 23 00:36 ReadMe.txt&lt;br /&gt;
drwxr-xr-x 2 pi pi  4096 Dec 23 00:36 twitter&lt;br /&gt;
-rwxr-xr-x 1 pi pi   913 Dec 23 00:36 VUSample.py&lt;br /&gt;
-rwxr-xr-x 1 pi pi   655 Dec 23 00:36 VU_tk.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;./PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=835</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=835"/>
				<updated>2013-12-23T00:29:36Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* GIT the code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install --pre xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
list of examples here &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;./PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=834</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=834"/>
				<updated>2013-12-23T00:25:30Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Starting Point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]].&lt;br /&gt;
Your RPi is connected to the internet ans is up to date.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
list of examples here &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;./PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=833</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=833"/>
				<updated>2013-12-23T00:24:21Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* GIT the code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools&lt;br /&gt;
sudo easy_install pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
list of examples here &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;./PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=832</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=832"/>
				<updated>2013-12-23T00:18:04Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Access to the serial port */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;. Its at the end of the file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
list of examples here &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;./PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=831</id>
		<title>Pi Lite</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Pi_Lite&amp;diff=831"/>
				<updated>2013-12-23T00:10:27Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: initial version - not tested!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:NOOBS]]&lt;br /&gt;
&lt;br /&gt;
The Pi-Lite is an LED matrix display designed for scrolling text and graphics. It connects directly into the Raspberry Pi GPIO ports and requires no hardware hacking [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/] &lt;br /&gt;
&lt;br /&gt;
== Starting Point ==&lt;br /&gt;
The following assumes you have a working RPi set-up with the default user, see [[Setup_NOOBS]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
The Pi-Lite developer provides the full documentation [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide] and user guide [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi]&lt;br /&gt;
&lt;br /&gt;
The following assumes you are logging into your Raspberry Pi via ans SSH terminal [[Enable_SSH#Connect_via_SSH_on_a_Local_network]]&lt;br /&gt;
&lt;br /&gt;
=== Access to the serial port ===&lt;br /&gt;
By default the Raspberry Pi’s serial port is configured to be used for console input/output. Whilst this is useful if you want to login using the serial port, it means you can&amp;#039;t use the Serial Port in your programs. The Pi-Lite requires access to the Serial Port.&lt;br /&gt;
&lt;br /&gt;
To enable the serial port for your own use you need to disable login on the port. There are two files that need to be edited &amp;#039;/etc/inittab&amp;#039; and &amp;#039;/boot/cmdline.txt&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Edit &amp;#039;inittab&amp;#039; and comment out the line &amp;#039;T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&amp;#039; using the &amp;#039;#&amp;#039;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/inittab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit &amp;#039;cmdline.txt&amp;#039; and delete the &amp;lt;b&amp;gt;highlighted section&amp;lt;/b&amp;gt;&lt;br /&gt;
dwc_otg.lpm_enable=0 &amp;lt;b&amp;gt;console=ttyAMA0,115200 kgdboc=ttyAMA0,115200&amp;lt;/b&amp;gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /boot/cmdline.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your Pi.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Minicom ===&lt;br /&gt;
sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
=== Serial Port Access Group : DialOut ===&lt;br /&gt;
Add the pi user to the dialout group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo usermod -a -G dialout pi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GIT the code ===&lt;br /&gt;
Install the required tools&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/303-pi-lite-setting-up-for-python-examples&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install git python-serial python-setuptools pip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo pip install arrow&lt;br /&gt;
sudo pip install xively-python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clone the Pi-Lite GIT repository&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~ &amp;amp;&amp;amp; git clone git://github.com/CisecoPlc/PiLite.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Twitter Feed Installation ====&lt;br /&gt;
The Twitter module installation is a bit more involved&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/bear/python-twitter.git&lt;br /&gt;
cd python-twitter&lt;br /&gt;
sudo pip install -r requirements.txt&lt;br /&gt;
python setup.py build&lt;br /&gt;
sudo python setup.py install&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Example Python Programmes ==&lt;br /&gt;
List the examples with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
list of examples here &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run any of the examples using the script name&lt;br /&gt;
&amp;lt;pre&amp;gt;python PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;./PiLiteWeather.py&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing your own uses ==&lt;br /&gt;
The Pi-lite developers offer a user graphical interface for emulating the Pi-Lite, thisi is useful for development and experimentation.&lt;br /&gt;
&lt;br /&gt;
http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/305-pi-lite-python-emulator&lt;br /&gt;
&lt;br /&gt;
see&lt;br /&gt;
&amp;#039;Python_Examples/PiLiteEmulator.py&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-0805-red/ Pi-Lite - Lots of LEDs for the Raspberry Pi]&lt;br /&gt;
# [http://www.openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide Pi-lite documentation]&lt;br /&gt;
# [http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/283-setting-up-my-raspberry-pi Pi-Lite set-up user guide]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Setup_NOOBS&amp;diff=830</id>
		<title>Setup NOOBS</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Setup_NOOBS&amp;diff=830"/>
				<updated>2013-12-22T23:54:44Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Updates */  patience notice&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
&lt;br /&gt;
This article aims to walk through the installation process as defined for NOOBS version 1.3.2 (Nov 2013). The official documentation can be found here. [http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf]&lt;br /&gt;
&lt;br /&gt;
== What is NOOBS ==&lt;br /&gt;
NOOBS is the Raspberry Pi Foundations own simple Operating System installation software for the Raspberry Pi. It&amp;#039;s called &amp;#039;New Out Of Box Software&amp;#039; (NOOBS) [http://www.raspberrypi.org/archives/4100]&lt;br /&gt;
&lt;br /&gt;
The NOOBS system aims to reduce the complexity of installation by providing the user a simpler method of copying the operating system the RPi SD card and to allow multiple operating systems to be installed on the same SD card (subject to capacity).&lt;br /&gt;
&lt;br /&gt;
== Download the NOOBS ZIP File ==&lt;br /&gt;
The RPi Foundation maintains numerous ways of obtaining the NOOBS installation package. [http://www.raspberrypi.org/downloads].&lt;br /&gt;
Whichever way you download NOOBS you end up with a single zip file like &amp;#039;NOOBS_v1_3_2.zip&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Format your SD card ==&lt;br /&gt;
There areseveral ways of doing this depending on the operating system of the computer you have available.&lt;br /&gt;
=== Windows ===&lt;br /&gt;
Download and install the SD Association&amp;#039;s Formatting tool from [https://www.sdcard.org/downloads/formatter_4/eula_windows/]. &lt;br /&gt;
Install the tools and Open the Application. Simple follow the oline instructions.&lt;br /&gt;
&lt;br /&gt;
=== Linux GUI ===&lt;br /&gt;
If you&amp;#039;re using a flavour of Linux with a user interface it is recommended to use &amp;#039;gparted&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Raspberry Pi or Linux Command Line ===&lt;br /&gt;
The following describes each step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo fdisk -cu /dev/sdc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt; Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000e7b31&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            8192      122879       57344    c  W95 FAT32 (LBA)&lt;br /&gt;
/dev/sdc2          122880    15278079     7577600   83  Linux&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The example SD card has an existing installation, delete the partitions using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): d&lt;br /&gt;
Partition number (1-4): 1&lt;br /&gt;
&lt;br /&gt;
Command (m for help): d&lt;br /&gt;
Selected partition 2&lt;br /&gt;
&lt;br /&gt;
Command (m for help):&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a new partion and set the type to FAT32&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): n&lt;br /&gt;
Command action&lt;br /&gt;
   e   extended&lt;br /&gt;
   p   primary partition (1-4)&lt;br /&gt;
p&lt;br /&gt;
Partition number (1-4): 1&lt;br /&gt;
First sector (2048-15278079, default 2048): &lt;br /&gt;
Using default value 2048&lt;br /&gt;
Last sector, +sectors or +size{K,M,G} (2048-15278079, default 15278079): &lt;br /&gt;
Using default value 15278079&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Change the partion type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000c7b31&lt;br /&gt;
&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            2048    15278079     7638016   83  Linux&lt;br /&gt;
&lt;br /&gt;
Command (m for help): t&lt;br /&gt;
Selected partition 1&lt;br /&gt;
Hex code (type L to list codes): L&lt;br /&gt;
&lt;br /&gt;
 0  Empty           24  NEC DOS         81  Minix / old Lin bf  Solaris        &lt;br /&gt;
 1  FAT12           39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-&lt;br /&gt;
 2  XENIX root      3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-&lt;br /&gt;
 3  XENIX usr       40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-&lt;br /&gt;
 4  FAT16 &amp;lt;32M      41  PPC PReP Boot   85  Linux extended  c7  Syrinx         &lt;br /&gt;
 5  Extended        42  SFS             86  NTFS volume set da  Non-FS data    &lt;br /&gt;
 6  FAT16           4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .&lt;br /&gt;
 7  HPFS/NTFS       4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility   &lt;br /&gt;
 8  AIX             4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt         &lt;br /&gt;
 9  AIX bootable    50  OnTrack DM      93  Amoeba          e1  DOS access     &lt;br /&gt;
 a  OS/2 Boot Manag 51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O        &lt;br /&gt;
 b  W95 FAT32       52  CP/M            9f  BSD/OS          e4  SpeedStor      &lt;br /&gt;
 c  W95 FAT32 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs        &lt;br /&gt;
 e  W95 FAT16 (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  GPT            &lt;br /&gt;
 f  W95 Ext&amp;#039;d (LBA) 55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/&lt;br /&gt;
10  OPUS            56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b&lt;br /&gt;
11  Hidden FAT12    5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor      &lt;br /&gt;
12  Compaq diagnost 61  SpeedStor       a9  NetBSD          f4  SpeedStor      &lt;br /&gt;
14  Hidden FAT16 &amp;lt;3 63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary  &lt;br /&gt;
16  Hidden FAT16    64  Novell Netware  af  HFS / HFS+      fb  VMware VMFS    &lt;br /&gt;
17  Hidden HPFS/NTF 65  Novell Netware  b7  BSDI fs         fc  VMware VMKCORE &lt;br /&gt;
18  AST SmartSleep  70  DiskSecure Mult b8  BSDI swap       fd  Linux raid auto&lt;br /&gt;
1b  Hidden W95 FAT3 75  PC/IX           bb  Boot Wizard hid fe  LANstep        &lt;br /&gt;
1c  Hidden W95 FAT3 80  Old Minix       be  Solaris boot    ff  BBT            &lt;br /&gt;
1e  Hidden W95 FAT1&lt;br /&gt;
Hex code (type L to list codes): c&lt;br /&gt;
Changed system type of partition 1 to c (W95 FAT32 (LBA))&lt;br /&gt;
&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000c7b31&lt;br /&gt;
&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            2048    15278079     7638016    c  W95 FAT32 (LBA)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Write the changes and exist&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): w&lt;br /&gt;
The partition table has been altered!&lt;br /&gt;
&lt;br /&gt;
Calling ioctl() to re-read partition table.&lt;br /&gt;
&lt;br /&gt;
WARNING: If you have created or modified any DOS 6.x&lt;br /&gt;
partitions, please see the fdisk manual page for additional&lt;br /&gt;
information.&lt;br /&gt;
Syncing disks.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Format the partition&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkfs.vfat /dev/sdc1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copy contents of the NOOBS zip ==&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
Copy and extract the files to your SD Card, note the device can be found using the &amp;lt;code&amp;gt; df -h &amp;lt;/code&amp;gt; command one the SD card is re-inserted to the host machine and auto mounted.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
unzip NOOBS_v1_3_2.zip -d /media/3D4D-A03B/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unmount the SD card&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo umount /media/3D4D-A03B/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the SD card in your RPi SD Card slot, make sure your Pi si connected to a monitor. mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
== NOOBS First Boot == &lt;br /&gt;
Power up your RPi and you&amp;#039;ll be presented with a screen image on your monitor or TV that shows it formatting the spare space on your SD card then showing the OS selection prompt / screen.&lt;br /&gt;
&lt;br /&gt;
Select the Operating System of your choice (here we select the recommended Raspian).&lt;br /&gt;
&lt;br /&gt;
Wait whilst the NOOBS installer overwrites the SD card. Approximately 2GB of data (@NOOBS 1.3.2) is required, on my system the write speed is ~1MB/s, the installation requires about 3minutes.&lt;br /&gt;
&lt;br /&gt;
If you are new to the RPI its worth watching the screen shots during installation as they offer a wealth of useful info.&lt;br /&gt;
&lt;br /&gt;
Click OK once the installation prompt appears and the RPi will reboot.&lt;br /&gt;
&lt;br /&gt;
== Post installation set-up == &lt;br /&gt;
On first boot the NOOBS installation of Raspian will show the installation helper raspi-config which allow location and many other features to be defined.&lt;br /&gt;
&lt;br /&gt;
Consult the official documentation for the many options available. The minimum is to set your language,location,timezone and keyboard.&lt;br /&gt;
&lt;br /&gt;
Remember the default user is &amp;#039;pi&amp;#039; and the username is &amp;#039;raspberry&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Updates ==&lt;br /&gt;
Optionally after intial set-up its recommended that the user update their operating system, this is easily achieved using the command line interface using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get -y upgrade&lt;br /&gt;
sudo /usr/bin/rpi-update&lt;br /&gt;
sudo apt-get clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sequence of commands can be executed is series using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get -y upgrade &amp;amp;&amp;amp; sudo /usr/bin/rpi-update &amp;amp;&amp;amp; sudo apt-get clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on how many changes there are, updating can take a long time, please be patient.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf NOOBS quick Start Guide from the RPI Foundation]&lt;br /&gt;
# [http://www.raspberrypi.org/archives/4100 Raspberry Pi Foundation NOOBS release notification]&lt;br /&gt;
# http://www.raspberrypi.org/downloads&lt;br /&gt;
# [https://www.sdcard.org/downloads/formatter_4/eula_windows/ Official Windows SD card formatting tools]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Setup_NOOBS&amp;diff=829</id>
		<title>Setup NOOBS</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Setup_NOOBS&amp;diff=829"/>
				<updated>2013-12-22T23:53:46Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Format you SD card */  typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
&lt;br /&gt;
This article aims to walk through the installation process as defined for NOOBS version 1.3.2 (Nov 2013). The official documentation can be found here. [http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf]&lt;br /&gt;
&lt;br /&gt;
== What is NOOBS ==&lt;br /&gt;
NOOBS is the Raspberry Pi Foundations own simple Operating System installation software for the Raspberry Pi. It&amp;#039;s called &amp;#039;New Out Of Box Software&amp;#039; (NOOBS) [http://www.raspberrypi.org/archives/4100]&lt;br /&gt;
&lt;br /&gt;
The NOOBS system aims to reduce the complexity of installation by providing the user a simpler method of copying the operating system the RPi SD card and to allow multiple operating systems to be installed on the same SD card (subject to capacity).&lt;br /&gt;
&lt;br /&gt;
== Download the NOOBS ZIP File ==&lt;br /&gt;
The RPi Foundation maintains numerous ways of obtaining the NOOBS installation package. [http://www.raspberrypi.org/downloads].&lt;br /&gt;
Whichever way you download NOOBS you end up with a single zip file like &amp;#039;NOOBS_v1_3_2.zip&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Format your SD card ==&lt;br /&gt;
There areseveral ways of doing this depending on the operating system of the computer you have available.&lt;br /&gt;
=== Windows ===&lt;br /&gt;
Download and install the SD Association&amp;#039;s Formatting tool from [https://www.sdcard.org/downloads/formatter_4/eula_windows/]. &lt;br /&gt;
Install the tools and Open the Application. Simple follow the oline instructions.&lt;br /&gt;
&lt;br /&gt;
=== Linux GUI ===&lt;br /&gt;
If you&amp;#039;re using a flavour of Linux with a user interface it is recommended to use &amp;#039;gparted&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Raspberry Pi or Linux Command Line ===&lt;br /&gt;
The following describes each step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo fdisk -cu /dev/sdc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt; Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000e7b31&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            8192      122879       57344    c  W95 FAT32 (LBA)&lt;br /&gt;
/dev/sdc2          122880    15278079     7577600   83  Linux&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The example SD card has an existing installation, delete the partitions using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): d&lt;br /&gt;
Partition number (1-4): 1&lt;br /&gt;
&lt;br /&gt;
Command (m for help): d&lt;br /&gt;
Selected partition 2&lt;br /&gt;
&lt;br /&gt;
Command (m for help):&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a new partion and set the type to FAT32&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): n&lt;br /&gt;
Command action&lt;br /&gt;
   e   extended&lt;br /&gt;
   p   primary partition (1-4)&lt;br /&gt;
p&lt;br /&gt;
Partition number (1-4): 1&lt;br /&gt;
First sector (2048-15278079, default 2048): &lt;br /&gt;
Using default value 2048&lt;br /&gt;
Last sector, +sectors or +size{K,M,G} (2048-15278079, default 15278079): &lt;br /&gt;
Using default value 15278079&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Change the partion type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000c7b31&lt;br /&gt;
&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            2048    15278079     7638016   83  Linux&lt;br /&gt;
&lt;br /&gt;
Command (m for help): t&lt;br /&gt;
Selected partition 1&lt;br /&gt;
Hex code (type L to list codes): L&lt;br /&gt;
&lt;br /&gt;
 0  Empty           24  NEC DOS         81  Minix / old Lin bf  Solaris        &lt;br /&gt;
 1  FAT12           39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-&lt;br /&gt;
 2  XENIX root      3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-&lt;br /&gt;
 3  XENIX usr       40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-&lt;br /&gt;
 4  FAT16 &amp;lt;32M      41  PPC PReP Boot   85  Linux extended  c7  Syrinx         &lt;br /&gt;
 5  Extended        42  SFS             86  NTFS volume set da  Non-FS data    &lt;br /&gt;
 6  FAT16           4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .&lt;br /&gt;
 7  HPFS/NTFS       4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility   &lt;br /&gt;
 8  AIX             4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt         &lt;br /&gt;
 9  AIX bootable    50  OnTrack DM      93  Amoeba          e1  DOS access     &lt;br /&gt;
 a  OS/2 Boot Manag 51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O        &lt;br /&gt;
 b  W95 FAT32       52  CP/M            9f  BSD/OS          e4  SpeedStor      &lt;br /&gt;
 c  W95 FAT32 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs        &lt;br /&gt;
 e  W95 FAT16 (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  GPT            &lt;br /&gt;
 f  W95 Ext&amp;#039;d (LBA) 55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/&lt;br /&gt;
10  OPUS            56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b&lt;br /&gt;
11  Hidden FAT12    5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor      &lt;br /&gt;
12  Compaq diagnost 61  SpeedStor       a9  NetBSD          f4  SpeedStor      &lt;br /&gt;
14  Hidden FAT16 &amp;lt;3 63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary  &lt;br /&gt;
16  Hidden FAT16    64  Novell Netware  af  HFS / HFS+      fb  VMware VMFS    &lt;br /&gt;
17  Hidden HPFS/NTF 65  Novell Netware  b7  BSDI fs         fc  VMware VMKCORE &lt;br /&gt;
18  AST SmartSleep  70  DiskSecure Mult b8  BSDI swap       fd  Linux raid auto&lt;br /&gt;
1b  Hidden W95 FAT3 75  PC/IX           bb  Boot Wizard hid fe  LANstep        &lt;br /&gt;
1c  Hidden W95 FAT3 80  Old Minix       be  Solaris boot    ff  BBT            &lt;br /&gt;
1e  Hidden W95 FAT1&lt;br /&gt;
Hex code (type L to list codes): c&lt;br /&gt;
Changed system type of partition 1 to c (W95 FAT32 (LBA))&lt;br /&gt;
&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000c7b31&lt;br /&gt;
&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            2048    15278079     7638016    c  W95 FAT32 (LBA)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Write the changes and exist&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): w&lt;br /&gt;
The partition table has been altered!&lt;br /&gt;
&lt;br /&gt;
Calling ioctl() to re-read partition table.&lt;br /&gt;
&lt;br /&gt;
WARNING: If you have created or modified any DOS 6.x&lt;br /&gt;
partitions, please see the fdisk manual page for additional&lt;br /&gt;
information.&lt;br /&gt;
Syncing disks.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Format the partition&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkfs.vfat /dev/sdc1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copy contents of the NOOBS zip ==&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
Copy and extract the files to your SD Card, note the device can be found using the &amp;lt;code&amp;gt; df -h &amp;lt;/code&amp;gt; command one the SD card is re-inserted to the host machine and auto mounted.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
unzip NOOBS_v1_3_2.zip -d /media/3D4D-A03B/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unmount the SD card&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo umount /media/3D4D-A03B/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the SD card in your RPi SD Card slot, make sure your Pi si connected to a monitor. mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
== NOOBS First Boot == &lt;br /&gt;
Power up your RPi and you&amp;#039;ll be presented with a screen image on your monitor or TV that shows it formatting the spare space on your SD card then showing the OS selection prompt / screen.&lt;br /&gt;
&lt;br /&gt;
Select the Operating System of your choice (here we select the recommended Raspian).&lt;br /&gt;
&lt;br /&gt;
Wait whilst the NOOBS installer overwrites the SD card. Approximately 2GB of data (@NOOBS 1.3.2) is required, on my system the write speed is ~1MB/s, the installation requires about 3minutes.&lt;br /&gt;
&lt;br /&gt;
If you are new to the RPI its worth watching the screen shots during installation as they offer a wealth of useful info.&lt;br /&gt;
&lt;br /&gt;
Click OK once the installation prompt appears and the RPi will reboot.&lt;br /&gt;
&lt;br /&gt;
== Post installation set-up == &lt;br /&gt;
On first boot the NOOBS installation of Raspian will show the installation helper raspi-config which allow location and many other features to be defined.&lt;br /&gt;
&lt;br /&gt;
Consult the official documentation for the many options available. The minimum is to set your language,location,timezone and keyboard.&lt;br /&gt;
&lt;br /&gt;
Remember the default user is &amp;#039;pi&amp;#039; and the username is &amp;#039;raspberry&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Updates ==&lt;br /&gt;
Optionally after intial set-up its recommended that the user update their operating system, this is easily achieved using the command line interface using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get -y upgrade&lt;br /&gt;
sudo /usr/bin/rpi-update&lt;br /&gt;
sudo apt-get clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sequence of commands can be executed is series using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get -y upgrade &amp;amp;&amp;amp; sudo /usr/bin/rpi-update &amp;amp;&amp;amp; sudo apt-get clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf NOOBS quick Start Guide from the RPI Foundation]&lt;br /&gt;
# [http://www.raspberrypi.org/archives/4100 Raspberry Pi Foundation NOOBS release notification]&lt;br /&gt;
# http://www.raspberrypi.org/downloads&lt;br /&gt;
# [https://www.sdcard.org/downloads/formatter_4/eula_windows/ Official Windows SD card formatting tools]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Setup_NOOBS&amp;diff=828</id>
		<title>Setup NOOBS</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Setup_NOOBS&amp;diff=828"/>
				<updated>2013-12-22T23:25:07Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: added update commands&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
&lt;br /&gt;
This article aims to walk through the installation process as defined for NOOBS version 1.3.2 (Nov 2013). The official documentation can be found here. [http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf]&lt;br /&gt;
&lt;br /&gt;
== What is NOOBS ==&lt;br /&gt;
NOOBS is the Raspberry Pi Foundations own simple Operating System installation software for the Raspberry Pi. It&amp;#039;s called &amp;#039;New Out Of Box Software&amp;#039; (NOOBS) [http://www.raspberrypi.org/archives/4100]&lt;br /&gt;
&lt;br /&gt;
The NOOBS system aims to reduce the complexity of installation by providing the user a simpler method of copying the operating system the RPi SD card and to allow multiple operating systems to be installed on the same SD card (subject to capacity).&lt;br /&gt;
&lt;br /&gt;
== Download the NOOBS ZIP File ==&lt;br /&gt;
The RPi Foundation maintains numerous ways of obtaining the NOOBS installation package. [http://www.raspberrypi.org/downloads].&lt;br /&gt;
Whichever way you download NOOBS you end up with a single zip file like &amp;#039;NOOBS_v1_3_2.zip&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Format you SD card ==&lt;br /&gt;
There areseveral ways of doing this depending on the operating system of the computer you have available.&lt;br /&gt;
=== Windows ===&lt;br /&gt;
Download and install the SD Association&amp;#039;s Formatting tool from [https://www.sdcard.org/downloads/formatter_4/eula_windows/]. &lt;br /&gt;
Install the tools and Open the Application. Simple follow the oline instructions.&lt;br /&gt;
&lt;br /&gt;
=== Linux GUI ===&lt;br /&gt;
If you&amp;#039;re using a flavour of Linux with a user interface it is recommended to use &amp;#039;gparted&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Raspberry Pi or Linux Command Line ===&lt;br /&gt;
The following describes each step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo fdisk -cu /dev/sdc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt; Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000e7b31&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            8192      122879       57344    c  W95 FAT32 (LBA)&lt;br /&gt;
/dev/sdc2          122880    15278079     7577600   83  Linux&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The example SD card has an existing installation, delete the partitions using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): d&lt;br /&gt;
Partition number (1-4): 1&lt;br /&gt;
&lt;br /&gt;
Command (m for help): d&lt;br /&gt;
Selected partition 2&lt;br /&gt;
&lt;br /&gt;
Command (m for help):&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a new partion and set the type to FAT32&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): n&lt;br /&gt;
Command action&lt;br /&gt;
   e   extended&lt;br /&gt;
   p   primary partition (1-4)&lt;br /&gt;
p&lt;br /&gt;
Partition number (1-4): 1&lt;br /&gt;
First sector (2048-15278079, default 2048): &lt;br /&gt;
Using default value 2048&lt;br /&gt;
Last sector, +sectors or +size{K,M,G} (2048-15278079, default 15278079): &lt;br /&gt;
Using default value 15278079&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Change the partion type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000c7b31&lt;br /&gt;
&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            2048    15278079     7638016   83  Linux&lt;br /&gt;
&lt;br /&gt;
Command (m for help): t&lt;br /&gt;
Selected partition 1&lt;br /&gt;
Hex code (type L to list codes): L&lt;br /&gt;
&lt;br /&gt;
 0  Empty           24  NEC DOS         81  Minix / old Lin bf  Solaris        &lt;br /&gt;
 1  FAT12           39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-&lt;br /&gt;
 2  XENIX root      3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-&lt;br /&gt;
 3  XENIX usr       40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-&lt;br /&gt;
 4  FAT16 &amp;lt;32M      41  PPC PReP Boot   85  Linux extended  c7  Syrinx         &lt;br /&gt;
 5  Extended        42  SFS             86  NTFS volume set da  Non-FS data    &lt;br /&gt;
 6  FAT16           4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .&lt;br /&gt;
 7  HPFS/NTFS       4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility   &lt;br /&gt;
 8  AIX             4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt         &lt;br /&gt;
 9  AIX bootable    50  OnTrack DM      93  Amoeba          e1  DOS access     &lt;br /&gt;
 a  OS/2 Boot Manag 51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O        &lt;br /&gt;
 b  W95 FAT32       52  CP/M            9f  BSD/OS          e4  SpeedStor      &lt;br /&gt;
 c  W95 FAT32 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs        &lt;br /&gt;
 e  W95 FAT16 (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  GPT            &lt;br /&gt;
 f  W95 Ext&amp;#039;d (LBA) 55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/&lt;br /&gt;
10  OPUS            56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b&lt;br /&gt;
11  Hidden FAT12    5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor      &lt;br /&gt;
12  Compaq diagnost 61  SpeedStor       a9  NetBSD          f4  SpeedStor      &lt;br /&gt;
14  Hidden FAT16 &amp;lt;3 63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary  &lt;br /&gt;
16  Hidden FAT16    64  Novell Netware  af  HFS / HFS+      fb  VMware VMFS    &lt;br /&gt;
17  Hidden HPFS/NTF 65  Novell Netware  b7  BSDI fs         fc  VMware VMKCORE &lt;br /&gt;
18  AST SmartSleep  70  DiskSecure Mult b8  BSDI swap       fd  Linux raid auto&lt;br /&gt;
1b  Hidden W95 FAT3 75  PC/IX           bb  Boot Wizard hid fe  LANstep        &lt;br /&gt;
1c  Hidden W95 FAT3 80  Old Minix       be  Solaris boot    ff  BBT            &lt;br /&gt;
1e  Hidden W95 FAT1&lt;br /&gt;
Hex code (type L to list codes): c&lt;br /&gt;
Changed system type of partition 1 to c (W95 FAT32 (LBA))&lt;br /&gt;
&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000c7b31&lt;br /&gt;
&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            2048    15278079     7638016    c  W95 FAT32 (LBA)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Write the changes and exist&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): w&lt;br /&gt;
The partition table has been altered!&lt;br /&gt;
&lt;br /&gt;
Calling ioctl() to re-read partition table.&lt;br /&gt;
&lt;br /&gt;
WARNING: If you have created or modified any DOS 6.x&lt;br /&gt;
partitions, please see the fdisk manual page for additional&lt;br /&gt;
information.&lt;br /&gt;
Syncing disks.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Format the partition&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkfs.vfat /dev/sdc1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copy contents of the NOOBS zip ==&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
Copy and extract the files to your SD Card, note the device can be found using the &amp;lt;code&amp;gt; df -h &amp;lt;/code&amp;gt; command one the SD card is re-inserted to the host machine and auto mounted.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
unzip NOOBS_v1_3_2.zip -d /media/3D4D-A03B/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unmount the SD card&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo umount /media/3D4D-A03B/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the SD card in your RPi SD Card slot, make sure your Pi si connected to a monitor. mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
== NOOBS First Boot == &lt;br /&gt;
Power up your RPi and you&amp;#039;ll be presented with a screen image on your monitor or TV that shows it formatting the spare space on your SD card then showing the OS selection prompt / screen.&lt;br /&gt;
&lt;br /&gt;
Select the Operating System of your choice (here we select the recommended Raspian).&lt;br /&gt;
&lt;br /&gt;
Wait whilst the NOOBS installer overwrites the SD card. Approximately 2GB of data (@NOOBS 1.3.2) is required, on my system the write speed is ~1MB/s, the installation requires about 3minutes.&lt;br /&gt;
&lt;br /&gt;
If you are new to the RPI its worth watching the screen shots during installation as they offer a wealth of useful info.&lt;br /&gt;
&lt;br /&gt;
Click OK once the installation prompt appears and the RPi will reboot.&lt;br /&gt;
&lt;br /&gt;
== Post installation set-up == &lt;br /&gt;
On first boot the NOOBS installation of Raspian will show the installation helper raspi-config which allow location and many other features to be defined.&lt;br /&gt;
&lt;br /&gt;
Consult the official documentation for the many options available. The minimum is to set your language,location,timezone and keyboard.&lt;br /&gt;
&lt;br /&gt;
Remember the default user is &amp;#039;pi&amp;#039; and the username is &amp;#039;raspberry&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Updates ==&lt;br /&gt;
Optionally after intial set-up its recommended that the user update their operating system, this is easily achieved using the command line interface using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get -y upgrade&lt;br /&gt;
sudo /usr/bin/rpi-update&lt;br /&gt;
sudo apt-get clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sequence of commands can be executed is series using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get -y upgrade &amp;amp;&amp;amp; sudo /usr/bin/rpi-update &amp;amp;&amp;amp; sudo apt-get clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf NOOBS quick Start Guide from the RPI Foundation]&lt;br /&gt;
# [http://www.raspberrypi.org/archives/4100 Raspberry Pi Foundation NOOBS release notification]&lt;br /&gt;
# http://www.raspberrypi.org/downloads&lt;br /&gt;
# [https://www.sdcard.org/downloads/formatter_4/eula_windows/ Official Windows SD card formatting tools]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Setup_NOOBS&amp;diff=827</id>
		<title>Setup NOOBS</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Setup_NOOBS&amp;diff=827"/>
				<updated>2013-12-22T23:16:42Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: Initial NOOBS installation for Raspian&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
&lt;br /&gt;
This article aims to walk through the installation process as defined for NOOBS version 1.3.2 (Nov 2013). The official documentation can be found here. [http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf]&lt;br /&gt;
&lt;br /&gt;
== What is NOOBS ==&lt;br /&gt;
NOOBS is the Raspberry Pi Foundations own simple Operating System installation software for the Raspberry Pi. It&amp;#039;s called &amp;#039;New Out Of Box Software&amp;#039; (NOOBS) [http://www.raspberrypi.org/archives/4100]&lt;br /&gt;
&lt;br /&gt;
The NOOBS system aims to reduce the complexity of installation by providing the user a simpler method of copying the operating system the RPi SD card and to allow multiple operating systems to be installed on the same SD card (subject to capacity).&lt;br /&gt;
&lt;br /&gt;
== Download the NOOBS ZIP File ==&lt;br /&gt;
The RPi Foundation maintains numerous ways of obtaining the NOOBS installation package. [http://www.raspberrypi.org/downloads].&lt;br /&gt;
Whichever way you download NOOBS you end up with a single zip file like &amp;#039;NOOBS_v1_3_2.zip&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Format you SD card ==&lt;br /&gt;
There areseveral ways of doing this depending on the operating system of the computer you have available.&lt;br /&gt;
=== Windows ===&lt;br /&gt;
Download and install the SD Association&amp;#039;s Formatting tool from [https://www.sdcard.org/downloads/formatter_4/eula_windows/]. &lt;br /&gt;
Install the tools and Open the Application. Simple follow the oline instructions.&lt;br /&gt;
&lt;br /&gt;
=== Linux GUI ===&lt;br /&gt;
If you&amp;#039;re using a flavour of Linux with a user interface it is recommended to use &amp;#039;gparted&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Raspberry Pi or Linux Command Line ===&lt;br /&gt;
The following describes each step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo fdisk -cu /dev/sdc&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt; Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000e7b31&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            8192      122879       57344    c  W95 FAT32 (LBA)&lt;br /&gt;
/dev/sdc2          122880    15278079     7577600   83  Linux&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The example SD card has an existing installation, delete the partitions using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): d&lt;br /&gt;
Partition number (1-4): 1&lt;br /&gt;
&lt;br /&gt;
Command (m for help): d&lt;br /&gt;
Selected partition 2&lt;br /&gt;
&lt;br /&gt;
Command (m for help):&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a new partion and set the type to FAT32&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): n&lt;br /&gt;
Command action&lt;br /&gt;
   e   extended&lt;br /&gt;
   p   primary partition (1-4)&lt;br /&gt;
p&lt;br /&gt;
Partition number (1-4): 1&lt;br /&gt;
First sector (2048-15278079, default 2048): &lt;br /&gt;
Using default value 2048&lt;br /&gt;
Last sector, +sectors or +size{K,M,G} (2048-15278079, default 15278079): &lt;br /&gt;
Using default value 15278079&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Change the partion type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000c7b31&lt;br /&gt;
&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            2048    15278079     7638016   83  Linux&lt;br /&gt;
&lt;br /&gt;
Command (m for help): t&lt;br /&gt;
Selected partition 1&lt;br /&gt;
Hex code (type L to list codes): L&lt;br /&gt;
&lt;br /&gt;
 0  Empty           24  NEC DOS         81  Minix / old Lin bf  Solaris        &lt;br /&gt;
 1  FAT12           39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-&lt;br /&gt;
 2  XENIX root      3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-&lt;br /&gt;
 3  XENIX usr       40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-&lt;br /&gt;
 4  FAT16 &amp;lt;32M      41  PPC PReP Boot   85  Linux extended  c7  Syrinx         &lt;br /&gt;
 5  Extended        42  SFS             86  NTFS volume set da  Non-FS data    &lt;br /&gt;
 6  FAT16           4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .&lt;br /&gt;
 7  HPFS/NTFS       4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility   &lt;br /&gt;
 8  AIX             4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt         &lt;br /&gt;
 9  AIX bootable    50  OnTrack DM      93  Amoeba          e1  DOS access     &lt;br /&gt;
 a  OS/2 Boot Manag 51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O        &lt;br /&gt;
 b  W95 FAT32       52  CP/M            9f  BSD/OS          e4  SpeedStor      &lt;br /&gt;
 c  W95 FAT32 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs        &lt;br /&gt;
 e  W95 FAT16 (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  GPT            &lt;br /&gt;
 f  W95 Ext&amp;#039;d (LBA) 55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/&lt;br /&gt;
10  OPUS            56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b&lt;br /&gt;
11  Hidden FAT12    5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor      &lt;br /&gt;
12  Compaq diagnost 61  SpeedStor       a9  NetBSD          f4  SpeedStor      &lt;br /&gt;
14  Hidden FAT16 &amp;lt;3 63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary  &lt;br /&gt;
16  Hidden FAT16    64  Novell Netware  af  HFS / HFS+      fb  VMware VMFS    &lt;br /&gt;
17  Hidden HPFS/NTF 65  Novell Netware  b7  BSDI fs         fc  VMware VMKCORE &lt;br /&gt;
18  AST SmartSleep  70  DiskSecure Mult b8  BSDI swap       fd  Linux raid auto&lt;br /&gt;
1b  Hidden W95 FAT3 75  PC/IX           bb  Boot Wizard hid fe  LANstep        &lt;br /&gt;
1c  Hidden W95 FAT3 80  Old Minix       be  Solaris boot    ff  BBT            &lt;br /&gt;
1e  Hidden W95 FAT1&lt;br /&gt;
Hex code (type L to list codes): c&lt;br /&gt;
Changed system type of partition 1 to c (W95 FAT32 (LBA))&lt;br /&gt;
&lt;br /&gt;
Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdc: 7822 MB, 7822376960 bytes&lt;br /&gt;
241 heads, 62 sectors/track, 1022 cylinders, total 15278080 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x000c7b31&lt;br /&gt;
&lt;br /&gt;
   Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/sdc1            2048    15278079     7638016    c  W95 FAT32 (LBA)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Write the changes and exist&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (m for help): w&lt;br /&gt;
The partition table has been altered!&lt;br /&gt;
&lt;br /&gt;
Calling ioctl() to re-read partition table.&lt;br /&gt;
&lt;br /&gt;
WARNING: If you have created or modified any DOS 6.x&lt;br /&gt;
partitions, please see the fdisk manual page for additional&lt;br /&gt;
information.&lt;br /&gt;
Syncing disks.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Format the partition&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkfs.vfat /dev/sdc1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copy contents of the NOOBS zip ==&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
Copy and extract the files to your SD Card, note the device can be found using the &amp;lt;code&amp;gt; df -h &amp;lt;/code&amp;gt; command one the SD card is re-inserted to the host machine and auto mounted.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
unzip NOOBS_v1_3_2.zip -d /media/3D4D-A03B/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unmount the SD card&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo umount /media/3D4D-A03B/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the SD card in your RPi SD Card slot, make sure your Pi si connected to a monitor. mouse and keyboard.&lt;br /&gt;
&lt;br /&gt;
== NOOBS First Boot == &lt;br /&gt;
Power up your RPi and you&amp;#039;ll be presented with a screen image on your monitor or TV that shows it formatting the spare space on your SD card then showing the OS selection prompt / screen.&lt;br /&gt;
&lt;br /&gt;
Select the Operating System of your choice (here we select the recommended Raspian).&lt;br /&gt;
&lt;br /&gt;
Wait whilst the NOOBS installer overwrites the SD card. Approximately 2GB of data (@NOOBS 1.3.2) is required, on my system the write speed is ~1MB/s, the installation requires about 3minutes.&lt;br /&gt;
&lt;br /&gt;
If you are new to the RPI its worth watching the screen shots during installation as they offer a wealth of useful info.&lt;br /&gt;
&lt;br /&gt;
Click OK once the installation prompt appears and the RPi will reboot.&lt;br /&gt;
&lt;br /&gt;
== Post installation set-up == &lt;br /&gt;
On first boot the NOOBS installation of Raspian will show the installation helper raspi-config which allow location and many other features to be defined.&lt;br /&gt;
&lt;br /&gt;
Consult the official documentation for the many options available. The minimum is to set your language,location,timezone and keyboard.&lt;br /&gt;
&lt;br /&gt;
Remember the default user is &amp;#039;pi&amp;#039; and the username is &amp;#039;raspberry&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf NOOBS quick Start Guide from the RPI Foundation]&lt;br /&gt;
# [http://www.raspberrypi.org/archives/4100 Raspberry Pi Foundation NOOBS release notification]&lt;br /&gt;
# http://www.raspberrypi.org/downloads&lt;br /&gt;
# [https://www.sdcard.org/downloads/formatter_4/eula_windows/ Official Windows SD card formatting tools]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=826</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=826"/>
				<updated>2013-10-22T21:43:15Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Adapting the Config File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions you are assumed to have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
Here we simulate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget --output-document=motion.conf_for_motionstills_debug.conf &amp;quot;http://pastebin.com/raw.php?i=tSjgys2q&amp;quot;&lt;br /&gt;
$ ./motion -n -c motion.conf_for_motionstills_debug.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=825</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=825"/>
				<updated>2013-10-22T21:41:41Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Adapting the Config File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions you are assumed to have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
Here we simulate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget --output-document=motion.conf_for_motionstills_debug.conf &amp;quot;http://pastebin.com/raw.php?i=tSjgys2q&amp;quot;&lt;br /&gt;
./motion -n -c motion.conf_for_motionstills_debug.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=824</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=824"/>
				<updated>2013-10-22T21:33:50Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions you are assumed to have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
Here we simulate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://pastebin.com/raw.php?i=tSjgys2q&lt;br /&gt;
mv raw.php?i=tSjgys2q motion.conf_for_motionstills_debug.txt&lt;br /&gt;
./motion -n -c motion.conf_for_motionstills_debug.txt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=823</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=823"/>
				<updated>2013-10-22T21:32:51Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Install dependencies for Motion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions assume you have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
Here we simulate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://pastebin.com/raw.php?i=tSjgys2q&lt;br /&gt;
mv raw.php?i=tSjgys2q motion.conf_for_motionstills_debug.txt&lt;br /&gt;
./motion -n -c motion.conf_for_motionstills_debug.txt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=822</id>
		<title>Motion MMAL</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Motion_MMAL&amp;diff=822"/>
				<updated>2013-10-22T21:12:56Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: first version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:RaspberryPi]]&lt;br /&gt;
[[Category:Projects]]&lt;br /&gt;
&lt;br /&gt;
Collated from the [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The objective of this How To is install a special binary of Motion compiled with support for the Raspberry Pi Camera Module.&lt;br /&gt;
&lt;br /&gt;
A special binary for motion has been compiled by the RPi community. Specifically dozencrows [http://www.raspberrypi.org/phpBB3/memberlist.php?mode=viewprofile&amp;amp;u=29285]&lt;br /&gt;
&lt;br /&gt;
Before you start these instructions assume you have a configured RPi running an up to date version of Raspian, a RPi Camera module plugged in and working with stock tools such as the &amp;lt;code&amp;gt;raspistill&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
=== Install dependencies for Motion ===&lt;br /&gt;
He we similate the installation of the standard version of motion which works with USB webcams but not the RPi Camera.&lt;br /&gt;
The purpose is to determine what packages and dependencies are needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get -s install motion&amp;lt;/pre&amp;gt;&lt;br /&gt;
Should return something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree&lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following extra packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 mysql-common&lt;br /&gt;
Suggested packages:&lt;br /&gt;
  jackd2 libraw1394-doc speex mysql-client postgresql-client&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53&lt;br /&gt;
  libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0&lt;br /&gt;
  libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3&lt;br /&gt;
  libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1&lt;br /&gt;
  libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion&lt;br /&gt;
  mysql-common&lt;br /&gt;
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the dependcies using&lt;br /&gt;
&amp;lt;pre&amp;gt; $ sudo apt-get install -y &amp;lt;list from the above step here&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
on my system this is&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt; $ sudo apt-get install -y ffmpeg libav-tools libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51 libdc1394-22 libdirac-encoder0 libgsm1 libjack-jackd2-0 libmp3lame0 libmysqlclient18 libopencv-core2.3 libopencv-imgproc2.3 libpostproc52 libpq5 libraw1394-11 libschroedinger-1.0-0 libspeex1 libswscale2 libtheora0 libva1 libvpx1 libx264-123 libxvidcore4 motion mysql-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait patiently for the installation to complete.&lt;br /&gt;
&lt;br /&gt;
=== Download the pre-compiled binary ===&lt;br /&gt;
Download and unzip the binary provided by Dozencrows.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz&lt;br /&gt;
$ tar -zxvf motion-mmal.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Run ===&lt;br /&gt;
Run motion with the default configuration file and monitor the output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./motion -n -c motion-mmalcam.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Naviate to &amp;lt;your.RPI.IP&amp;gt;:8081 from anther computer to see the video. Some users have reported issues with this when using InternetExplorer on windows. An alternative browser such as FireFox or Chrome should work.&lt;br /&gt;
&lt;br /&gt;
== Adapting the Config File ==&lt;br /&gt;
My test download file can be downloaded and tried using the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://pastebin.com/raw.php?i=tSjgys2q&lt;br /&gt;
mv raw.php?i=tSjgys2q motion.conf_for_motionstills_debug.txt&lt;br /&gt;
./motion -n -c motion.conf_for_motionstills_debug.txt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:MotionExampleImg3044.jpg|200px|thumb|left| Example Output running at 1920x720]]&lt;br /&gt;
&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; &lt;br /&gt;
== TO DO LIST ==&lt;br /&gt;
# Add scripts for starting and stopping motion with Cron.&lt;br /&gt;
# Set up Motion to work with a NAS to record data [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;br /&gt;
# Offload Motion to another Pi or Linux PC using streaming (should improve frame rates).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&amp;amp;t=44966 Raspberry Pi forum for using Motion with a Raspberry Pi Camera Module]&lt;br /&gt;
# [http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=821</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=821"/>
				<updated>2013-09-29T12:54:39Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Install TV Card Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / reload loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the database schema is updated, the hostname needs to be changed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there are other changes to file and folder structures these need to be all changed before any fronends are connected to the restored backend.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;I can never get this to work satisfactorily&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Alternative Approach to Database Backup ===&lt;br /&gt;
It seems I can never port an old system and the database sucessfully, usually there&amp;#039;s a conflict with some setting or I&amp;#039;ve restructured the support systems. &lt;br /&gt;
Either way, one possible way to export all your recording and reimporting them as videos without changing the can done using mythlink.pl[http://www.mythtv.org/wiki/Mythlink.pl].&lt;br /&gt;
# run mythlink to create simlinks on our old backend.&lt;br /&gt;
# cp the simlinks to a backup drive, NAS or other external media with plenty of space. When copied the simlink will retain the folder and name structure from mythlink making the filenames user readable.&lt;br /&gt;
# Import the old recording into the video folder&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
Drivers can be obtained from http://www.tbsdtv.com/download/#tbs6280 other resources which i use to determine if there are updated drivers include:&lt;br /&gt;
# https://www.changedetection.com/log/tbsdtv/drivers-applications-update_log.html&lt;br /&gt;
# http://www.changedetection.com/accountfeed.xml?feedid=427127285759800&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver: use &amp;lt;code&amp;gt;-j3&amp;lt;/code&amp;gt; for dual core and &amp;lt;code&amp;gt;-j5&amp;lt;/code&amp;gt; for quad to speed up the compilation.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make -j5&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make clean&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting ===&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard, follow the simple instructions to select and test your audio and video.&lt;br /&gt;
My system which uses an Intel GPU supports Audio over HDMI and VA-API[http://en.wikipedia.org/wiki/Video_Acceleration_API]&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.1.AudioVideoSetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.2.AudioSettingsetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.3.VideoSettingsVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.4.VideoTestVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Adding Tuner Cards ==&lt;br /&gt;
&amp;lt;code&amp;gt;Application/System/MythBackendSetup&amp;lt;/code&amp;gt;, the backend will have to be stopped before you can continue, agree to the prompt and authorise it with your password.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:10.1.BackEndSetupOverview.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== General ===&lt;br /&gt;
Follow the wizard, the defaults are fine, just make sure you set the IP address and select the correct TV Format for the region.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:8.1.MythtvSetupGeneral001.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Capture Cards ===&lt;br /&gt;
Follow the prompts and add your cards, these should be auto detected if the drivers were properly installed [[Mythbuntu12.04#Install_TV_Card_Drivers]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:10.2.CaptureCardsList001.png|200px|Initial Screen After Reboot]]&lt;br /&gt;
[[File:10.3.CaptureCardsList002.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Video Sources ===&lt;br /&gt;
My prefered video source is to use XMLTV, use the following [http://www.mythtv.org/wiki/Uk_xmltv#RECOMMENDED]&lt;br /&gt;
&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;br /&gt;
# http://en.wikipedia.org/wiki/Video_Acceleration_API&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=820</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=820"/>
				<updated>2013-09-13T21:07:00Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Audio and Video Setting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / reload loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the database schema is updated, the hostname needs to be changed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there are other changes to file and folder structures these need to be all changed before any fronends are connected to the restored backend.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;I can never get this to work satisfactorily&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Alternative Approach to Database Backup ===&lt;br /&gt;
It seems I can never port an old system and the database sucessfully, usually there&amp;#039;s a conflict with some setting or I&amp;#039;ve restructured the support systems. &lt;br /&gt;
Either way, one possible way to export all your recording and reimporting them as videos without changing the can done using mythlink.pl[http://www.mythtv.org/wiki/Mythlink.pl].&lt;br /&gt;
# run mythlink to create simlinks on our old backend.&lt;br /&gt;
# cp the simlinks to a backup drive, NAS or other external media with plenty of space. When copied the simlink will retain the folder and name structure from mythlink making the filenames user readable.&lt;br /&gt;
# Import the old recording into the video folder&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting ===&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard, follow the simple instructions to select and test your audio and video.&lt;br /&gt;
My system which uses an Intel GPU supports Audio over HDMI and VA-API[http://en.wikipedia.org/wiki/Video_Acceleration_API]&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.1.AudioVideoSetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.2.AudioSettingsetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.3.VideoSettingsVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.4.VideoTestVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Adding Tuner Cards ==&lt;br /&gt;
&amp;lt;code&amp;gt;Application/System/MythBackendSetup&amp;lt;/code&amp;gt;, the backend will have to be stopped before you can continue, agree to the prompt and authorise it with your password.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:10.1.BackEndSetupOverview.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== General ===&lt;br /&gt;
Follow the wizard, the defaults are fine, just make sure you set the IP address and select the correct TV Format for the region.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:8.1.MythtvSetupGeneral001.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Capture Cards ===&lt;br /&gt;
Follow the prompts and add your cards, these should be auto detected if the drivers were properly installed [[Mythbuntu12.04#Install_TV_Card_Drivers]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:10.2.CaptureCardsList001.png|200px|Initial Screen After Reboot]]&lt;br /&gt;
[[File:10.3.CaptureCardsList002.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Video Sources ===&lt;br /&gt;
My prefered video source is to use XMLTV, use the following [http://www.mythtv.org/wiki/Uk_xmltv#RECOMMENDED]&lt;br /&gt;
&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;br /&gt;
# http://en.wikipedia.org/wiki/Video_Acceleration_API&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:10.3.CaptureCardsList002.png&amp;diff=819</id>
		<title>File:10.3.CaptureCardsList002.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:10.3.CaptureCardsList002.png&amp;diff=819"/>
				<updated>2013-09-13T20:17:45Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:10.2.CaptureCardsList001.png&amp;diff=818</id>
		<title>File:10.2.CaptureCardsList001.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:10.2.CaptureCardsList001.png&amp;diff=818"/>
				<updated>2013-09-13T20:17:22Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:10.1.BackEndSetupOverview.png&amp;diff=817</id>
		<title>File:10.1.BackEndSetupOverview.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:10.1.BackEndSetupOverview.png&amp;diff=817"/>
				<updated>2013-09-13T20:15:57Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:8.1.MythtvSetupGeneral001.png&amp;diff=816</id>
		<title>File:8.1.MythtvSetupGeneral001.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:8.1.MythtvSetupGeneral001.png&amp;diff=816"/>
				<updated>2013-09-13T19:28:10Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=815</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=815"/>
				<updated>2013-09-09T22:07:42Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / reload loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the database schema is updated, the hostname needs to be changed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there are other changes to file and folder structures these need to be all changed before any fronends are connected to the restored backend.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;I can never get this to work satisfactorily&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Alternative Approach to Database Backup ===&lt;br /&gt;
It seems I can never port an old system and the database sucessfully, usually there&amp;#039;s a conflict with some setting or I&amp;#039;ve restructured the support systems. &lt;br /&gt;
Either way, one possible way to export all your recording and reimporting them as videos without changing the can done using mythlink.pl[http://www.mythtv.org/wiki/Mythlink.pl].&lt;br /&gt;
# run mythlink to create simlinks on our old backend.&lt;br /&gt;
# cp the simlinks to a backup drive, NAS or other external media with plenty of space. When copied the simlink will retain the folder and name structure from mythlink making the filenames user readable.&lt;br /&gt;
# Import the old recording into the video folder&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting ===&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard, follow the simple instructions to select and test your audio and video.&lt;br /&gt;
My system which uses an Intel GPU supports Audio over HDMI and VA-API[http://en.wikipedia.org/wiki/Video_Acceleration_API]&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.1.AudioVideoSetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.2.AudioSettingsetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.3.VideoSettingsVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.4.VideoTestVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;br /&gt;
# http://en.wikipedia.org/wiki/Video_Acceleration_API&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=814</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=814"/>
				<updated>2013-09-09T22:06:57Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / reload loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the database schema is updated, the hostname needs to be changed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there are other changes to file and folder structures these need to be all changed before any fronends are connected to the restored backend.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;I can never get this to work satisfactorily&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Alternative Approach to Database Backup ===&lt;br /&gt;
It seems I can never port an old system and the database sucessfully, usually there&amp;#039;s a conflict with some setting or I&amp;#039;ve restructured the support systems. &lt;br /&gt;
Either way, one possible way to export all your recording and reimporting them as videos without changing the can done using mythlink.pl[http://www.mythtv.org/wiki/Mythlink.pl].&lt;br /&gt;
# run mythlink to create simlinks on our old backend.&lt;br /&gt;
# cp the simlinks to a backup drive, NAS or other external media with plenty of space. When copied the simlink will retain the folder and name structure from mythlink making the filenames user readable.&lt;br /&gt;
# Import the old recording into the video folder&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting ===&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard, follow the simple instructions to select and test your audio and video.&lt;br /&gt;
My system which uses an Intel GPU supports Audio over HDMI and VA-API[http://en.wikipedia.org/wiki/Video_Acceleration_API]&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.1.AudioVideoSetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.2.AudioSettingsetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.3.VideoSettingsVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.4.VideoTestVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;br /&gt;
#&lt;br /&gt;
# http://en.wikipedia.org/wiki/Video_Acceleration_API&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=813</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=813"/>
				<updated>2013-09-09T22:06:11Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Audio and Video Setting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / reload loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the database schema is updated, the hostname needs to be changed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there are other changes to file and folder structures these need to be all changed before any fronends are connected to the restored backend.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;I can never get this to work satisfactorily&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Alternative Approach to Database Backup ===&lt;br /&gt;
It seems I can never port an old system and the database sucessfully, usually there&amp;#039;s a conflict with some setting or I&amp;#039;ve restructured the support systems. &lt;br /&gt;
Either way, one possible way to export all your recording and reimporting them as videos without changing the can done using mythlink.pl[http://www.mythtv.org/wiki/Mythlink.pl].&lt;br /&gt;
# run mythlink to create simlinks on our old backend.&lt;br /&gt;
# cp the simlinks to a backup drive, NAS or other external media with plenty of space. When copied the simlink will retain the folder and name structure from mythlink making the filenames user readable.&lt;br /&gt;
# Import the old recording into the video folder&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting ===&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard, follow the simple instructions to select and test your audio and video.&lt;br /&gt;
My system which uses an Intel GPU supports Audio over HDMI and VA-API[http://en.wikipedia.org/wiki/Video_Acceleration_API]&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.1.AudioVideoSetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.2.AudioSettingsetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:7.3.VideoSettingsVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &lt;br /&gt;
[[File:7.4.VideoTestVAAPISetupWizard.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:7.4.VideoTestVAAPISetupWizard.png&amp;diff=812</id>
		<title>File:7.4.VideoTestVAAPISetupWizard.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:7.4.VideoTestVAAPISetupWizard.png&amp;diff=812"/>
				<updated>2013-09-09T22:06:10Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:7.3.VideoSettingsVAAPISetupWizard.png&amp;diff=811</id>
		<title>File:7.3.VideoSettingsVAAPISetupWizard.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:7.3.VideoSettingsVAAPISetupWizard.png&amp;diff=811"/>
				<updated>2013-09-09T22:05:10Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:7.2.AudioSettingsetupWizard.png&amp;diff=810</id>
		<title>File:7.2.AudioSettingsetupWizard.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:7.2.AudioSettingsetupWizard.png&amp;diff=810"/>
				<updated>2013-09-09T22:03:55Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=809</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=809"/>
				<updated>2013-09-09T21:59:44Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Install TV Card Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / reload loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the database schema is updated, the hostname needs to be changed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there are other changes to file and folder structures these need to be all changed before any fronends are connected to the restored backend.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;I can never get this to work satisfactorily&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Alternative Approach to Database Backup ===&lt;br /&gt;
It seems I can never port an old system and the database sucessfully, usually there&amp;#039;s a conflict with some setting or I&amp;#039;ve restructured the support systems. &lt;br /&gt;
Either way, one possible way to export all your recording and reimporting them as videos without changing the can done using mythlink.pl[http://www.mythtv.org/wiki/Mythlink.pl].&lt;br /&gt;
# run mythlink to create simlinks on our old backend.&lt;br /&gt;
# cp the simlinks to a backup drive, NAS or other external media with plenty of space. When copied the simlink will retain the folder and name structure from mythlink making the filenames user readable.&lt;br /&gt;
# Import the old recording into the video folder&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting ===&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard&lt;br /&gt;
&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=File:7.1.AudioVideoSetupWizard.png&amp;diff=808</id>
		<title>File:7.1.AudioVideoSetupWizard.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=File:7.1.AudioVideoSetupWizard.png&amp;diff=808"/>
				<updated>2013-09-09T21:59:26Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=807</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=807"/>
				<updated>2013-09-08T21:14:41Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Restoring Old Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / reload loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the database schema is updated, the hostname needs to be changed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there are other changes to file and folder structures these need to be all changed before any fronends are connected to the restored backend.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;I can never get this to work satisfactorily&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Alternative Approach to Database Backup ===&lt;br /&gt;
It seems I can never port an old system and the database sucessfully, usually there&amp;#039;s a conflict with some setting or I&amp;#039;ve restructured the support systems. &lt;br /&gt;
Either way, one possible way to export all your recording and reimporting them as videos without changing the can done using mythlink.pl[http://www.mythtv.org/wiki/Mythlink.pl].&lt;br /&gt;
# run mythlink to create simlinks on our old backend.&lt;br /&gt;
# cp the simlinks to a backup drive, NAS or other external media with plenty of space. When copied the simlink will retain the folder and name structure from mythlink making the filenames user readable.&lt;br /&gt;
# Import the old recording into the video folder&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=806</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=806"/>
				<updated>2013-09-08T21:11:47Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Restoring Old Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Also need to change the hostname.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / relode loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Alternative Approach to Database Backup ===&lt;br /&gt;
It seems I can never port an old system and the database sucessfully, usually there&amp;#039;s a conflict with some setting or I&amp;#039;ve restructured the support systems. &lt;br /&gt;
Either way, one possible way to export all your recording and reimporting them as videos without changing the can done using mythlink.pl[http://www.mythtv.org/wiki/Mythlink.pl].&lt;br /&gt;
# run mythlink to create simlinks on our old backend.&lt;br /&gt;
# cp the simlinks to a backup drive, NAS or other external media with plenty of space. When copied the simlink will retain the folder and name structure from mythlink making the filenames user readable.&lt;br /&gt;
# Import the old recording into the video folder&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=805</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=805"/>
				<updated>2013-09-08T16:37:55Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Also need to change the hostname.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname=&amp;quot;mr-flibble&amp;quot; --new_hostname=&amp;quot;BlueMidget&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / relode loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Audio and Video Setting&lt;br /&gt;
In the MythtvFronend selection the Setup/Setup Wizard&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=804</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=804"/>
				<updated>2013-09-08T14:19:01Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Accessing Network Shares */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
don&amp;#039;t forget &lt;br /&gt;
# create creds file &amp;lt;code&amp;gt;$ nano ~/cifs.cred&amp;lt;/code&amp;gt;&lt;br /&gt;
# add NAS IP and hostname to &amp;lt;code&amp;gt;/etc/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / relode loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	<entry>
		<id>http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=803</id>
		<title>Mythbuntu12.04</title>
		<link rel="alternate" type="text/html" href="http://wiki.raspberrytorte.com/index.php?title=Mythbuntu12.04&amp;diff=803"/>
				<updated>2013-09-08T14:15:14Z</updated>
		
		<summary type="html">&lt;p&gt;Martin: /* Accessing Network Shares */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: MythTV]]&lt;br /&gt;
This page records the setup of Mythbuntu [http://www.mythbuntu.org/] a standalone media PVR suite based on MythTV [http://www.mythtv.org/]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
*Streacom FC9 Black Full Aluminium Fanless Chassis&lt;br /&gt;
*Gigabyte GA-Z87MX-D3H LGA1150 Micro ATX Motherboard&lt;br /&gt;
*Intel 4th Gen Core i7 4770 3.4GHz 84W HD4600 8M Quad Core CPU&lt;br /&gt;
*Corsair 16GB (2x8GB) Vengeance LP DDR3 Memory&lt;br /&gt;
*picoPSU 160W picoPSU and AC/DC adapter block&lt;br /&gt;
*Intel 80GB 335 Solid State Drive SSD&lt;br /&gt;
*2 off WD Green Power WD20NPVX 2TB 2.5in HDD OEM&lt;br /&gt;
*Streacom ST-OB2 Slot-Load Blu-ray Drive for Streacom Chassis&lt;br /&gt;
*Streacom Internal IR Receiver and Remote Control&lt;br /&gt;
*TBS 6280 Dual Freeview HD Low-profile PCIe TV Tuner Card DVB-T2&lt;br /&gt;
*TBS 6981 Dual Satellite HD Low-profile PCIe TV Tuner Card DVB-S2&lt;br /&gt;
&lt;br /&gt;
This machines memory and CPU is overkill even for HD TV, the important things are that there is at least one TV tuner source and ample storage space for recordings.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Firstly identify the architecture of your PC, most CPUs these days (2013) are 64Bit.&lt;br /&gt;
Head over to the download page [http://www.mythbuntu.org/download-type] and download the required iso file.&lt;br /&gt;
This guide covers the installation of Mythbuntu12.04 on to a vanilla system, that is an entirely fresh install using &amp;#039;&amp;#039;&amp;#039;mythbuntu-12.04.3-desktop-amd64.iso&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Basic Installation is straightforward but is somewhat dependent on you hardware and BIOS settings.&lt;br /&gt;
This system is connected to a SHARP Aquos TV via an HDMI cable with a USB keyboard and mouse and connected to the internet and my network via an ethernet cable.&lt;br /&gt;
# Burn the ISO to a DVD&lt;br /&gt;
# Install and boot the PC from the ISO&lt;br /&gt;
# Select &amp;#039;Install Mythbuntu&amp;#039;&lt;br /&gt;
# Select the Drive to install the OS too. I used the SSD drive and disabled LVM so i can mount the main storage myself later.&lt;br /&gt;
# Select country, timezone, keyboard etc. This is all the normal questions, pay special attention to the following&lt;br /&gt;
## enable the check box to install 3rd party software that is not Open Source.&lt;br /&gt;
## if you intend to remotely connect to your system during setup, ensure VNC and SSH service are enabled&lt;br /&gt;
&lt;br /&gt;
Once installation is complete the PC will ask you to remove the DVD and press &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; to reboot the machine.&lt;br /&gt;
&lt;br /&gt;
== System Setup ==&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
# Demonstrate HD TV, both live recording&lt;br /&gt;
# Configure TV listings using XMLTV&lt;br /&gt;
# Control the system with the IR Remote&lt;br /&gt;
&lt;br /&gt;
Since this system is replacing my currently deployed HD-PVR I will also be transfering existing MythTV database and SD recordings to the new system.&lt;br /&gt;
&lt;br /&gt;
=== Update the System ===&lt;br /&gt;
Once your PC has rebooted it should autologin with the default user and launch the MythTV Frontend. Note&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:1.MainScreenAfterReboot.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Update Manager or Terminal update the system, you will need to authenticate using the password of the user created during installation.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:2.UpdateManagerGUI.png|200px|Update Manager GUI]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get upgrade&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux BlueMidget 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Mythbuntu Control Center ===&lt;br /&gt;
Launch the Control Center from &amp;lt;code&amp;gt;Applications/System/Mythbuntu Control Center&amp;lt;/code&amp;gt;&lt;br /&gt;
Work through each of the sections selecting the prefered options, in this first pass I&amp;#039;m only interested in&lt;br /&gt;
# Graphics Drivers, this wizard will assist in the installation of proprietary drivers for your GPU which can significantly improve performance. On my systems i&amp;#039;m using the embedded Intel GPU which isn&amp;#039;t identified so I&amp;#039;m using the stock drivers.&lt;br /&gt;
# Repository. This is where you can select which version of MythTV you want to run, the default is v0.25. V0.26 is stable and V0.27 is experimental. I selected V0.26 and added both the Mythbuntu and XMLTV repos.&lt;br /&gt;
# Infrared, this allows you to select enable any remotes for your system. I have a Windows Media Center compatable Receiver and Remote.&lt;br /&gt;
&lt;br /&gt;
After applying any changes it is important to update the system again if you&amp;#039;ve changed MythTV versions.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
$ sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the above SSH you will be presented with the following prompts&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:4.1.SSHUpdatePrompt001.png|200px|Update promt]]&lt;br /&gt;
[[File:4.2.SSHUpdatePrompt002.png|200px|Update prompt]] &amp;lt;br /&amp;gt;&lt;br /&gt;
After a further reboot, the database will be updated.&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:5.1.MythTVDatabaseUpgradePrompt.png|200px|Database Upgrade prompt]]&lt;br /&gt;
[[File:5.2.MythTVDatabaseUpgradeBackupNotification.png|200px|Initial Screen After Reboot]] &amp;lt;br /&amp;gt;&lt;br /&gt;
=== Accessing Network Shares ===&lt;br /&gt;
My system requires access to a NAS for media files, backup etc. I use the method defined here [[Accessing_Network_Shares]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install autofs cifs-utils&lt;br /&gt;
$ nano ~/cifs.cred&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting Addition HardDrives ===&lt;br /&gt;
There are numerous methods for doing this but the follwing is my prefered solution.&lt;br /&gt;
==== Use UUID To Mount Partitions ====&lt;br /&gt;
Identify the hard drive device in you PC.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo lshw -class disk&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@0:0.0.0&lt;br /&gt;
       logical name: /dev/sda&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V5194&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d569&lt;br /&gt;
  *-disk&lt;br /&gt;
       description: ATA Disk&lt;br /&gt;
       product: WDC WD20NPVX-00E&lt;br /&gt;
       vendor: Western Digital&lt;br /&gt;
       physical id: 0.0.0&lt;br /&gt;
       bus info: scsi@2:0.0.0&lt;br /&gt;
       logical name: /dev/sdb&lt;br /&gt;
       version: 01.0&lt;br /&gt;
       serial: WD-WXB1AA3V2082&lt;br /&gt;
       size: 1863GiB (2TB)&lt;br /&gt;
       capabilities: partitioned partitioned:dos&lt;br /&gt;
       configuration: ansiversion=5 signature=11a7d565&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Mine are &amp;lt;code&amp;gt;/dev/sda /dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;fdisk&amp;lt;/code&amp;gt; to manually create single large partitions and format to ext4 [http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html].&lt;br /&gt;
&lt;br /&gt;
Find the UUID of each partition&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo blkid -o full -s UUID&lt;br /&gt;
/dev/sda1: UUID=&amp;quot;dd3e3288-eb4a-48f3-a1c4-42043b96f645&amp;quot;&lt;br /&gt;
/dev/sdb1: UUID=&amp;quot;61d71482-8a81-469c-ae12-d0b539335fc2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the mountpoints&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mkdir /media/disk01&lt;br /&gt;
$ sudo mkdir /media/disk02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following to the end of fstab. [http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/] &lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
UUID=dd3e3288-eb4a-48f3-a1c4-42043b96f645    /media/disk01               ext4    rw 0 0&lt;br /&gt;
UUID=61d71482-8a81-469c-ae12-d0b539335fc2    /media/disk01               ext4    rw 0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount the drives and make the writable.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo mount -a&lt;br /&gt;
$ sudo chown jack:jack /media/disk01/&lt;br /&gt;
$ sudo chown jack:jack /media/disk02/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restoring Old Database ===&lt;br /&gt;
This is only required if your porting a database from and existing system or restoring after a rebuild, see&lt;br /&gt;
[http://www.mythtv.org/wiki/Database_Backup_and_Restore#The_Role_of_mythconverg_backup.pl_When_Changing_MythTV_Versions| Database Backup and Restore] for details. [http://www.mythbuntu.org/upgrading]&lt;br /&gt;
&lt;br /&gt;
Backup the existing database in case anything goes wrong&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ /usr/share/mythtv/mythconverg_backup.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Check the database is created&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
ls -l /var/lib/mythtv/db_backups/&lt;br /&gt;
-rw-r--r-- 1 root   mythtv 39832 Sep  6 19:09 mythconverg-1299-20130906190902.sql.gz&lt;br /&gt;
-rw-r--r-- 1 mythtv mythtv 47373 Sep  7 14:36 mythconverg-1299-20130907133615.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 49280 Sep  7 14:36 mythconverg-1307-20130907133652.sql.gz&lt;br /&gt;
-rw-rw-r-- 1 mythtv mythtv 50022 Sep  7 18:41 mythconverg-1307-20130907184143.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the original database from its location to the default &amp;#039;/var/lib/mythtv/db_backups/&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cp /media/nfsshares/mythtv_db_backups/mythconverg-1264-20130907185125.sql.gz /var/lib/mythtv/db_backups/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Stop the backend:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo stop mythtv-backend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Obtain the mythtv password from here:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ grep DBPassword /etc/mythtv/config.xml&lt;br /&gt;
 &amp;lt;DBPassword&amp;gt;JHxeUhn0&amp;lt;/DBPassword&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Restore the original system database to the new system using:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
/usr/share/mythtv/mythconverg_restore.pl --drop_database --create_database --directory /var/lib/mythtv/db_backups --filename mythconverg-1264-20130907185125.sql.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
At this stage your system is fragile. You must do the following&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mythtv-setup&amp;lt;/code&amp;gt; and allow the schema to be upgraded&lt;br /&gt;
# Check the setting in mythtv-setup, in particular the IP address of the backend etc.&lt;br /&gt;
&lt;br /&gt;
If you reboot the system and the frontend get stuck in a crash / relode loop, Kill the frontend using&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo killall mythfrontend&lt;br /&gt;
$ sudo killall mythfrontend.real&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt; [[File:6.1.SchemaUpdateNotification.png|200px|Schema Update Notification]]&lt;br /&gt;
[[File:6.2.NetworkProtocolNotification.png|200px|Network Protocol Notification]] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensure both the front and backends are at version 75 shown by:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ mythfrontend --version&lt;br /&gt;
xprop:  unable to open display &amp;#039;&amp;#039;&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&lt;br /&gt;
$ mythbackend --version&lt;br /&gt;
Please attach all output as a file in bug reports.&lt;br /&gt;
MythTV Version : v0.26.1-14-gdbdd455&lt;br /&gt;
MythTV Branch : fixes/0.26&lt;br /&gt;
Network Protocol : 75&lt;br /&gt;
Library API : 0.26.20130225-1&lt;br /&gt;
QT Version : 4.8.1&lt;br /&gt;
Options compiled in:&lt;br /&gt;
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Install TV Card Drivers ===&lt;br /&gt;
The TV cards in the system require drivers to be compiled in to the kernel, which means this needs to be repeated each time theres a kernel update.&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ lspci | grep media&lt;br /&gt;
01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)&lt;br /&gt;
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Installing the drivers [http://linuxtv.org/wiki/index.php/TBS6280].&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ~&lt;br /&gt;
$ wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
--2013-09-07 20:58:24--  http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130802.zip&lt;br /&gt;
Resolving www.tbsdtv.com (www.tbsdtv.com)... 143.95.60.2&lt;br /&gt;
Connecting to www.tbsdtv.com (www.tbsdtv.com)|143.95.60.2|:80... connected.&lt;br /&gt;
HTTP request sent, awaiting response... 200 OK&lt;br /&gt;
Length: 16296304 (16M) [application/zip]&lt;br /&gt;
Saving to: `tbs-linux-drivers_v130802.zip&amp;#039;&lt;br /&gt;
&lt;br /&gt;
100%[======================================&amp;gt;] 16,296,304  1.27M/s   in 22s&lt;br /&gt;
&lt;br /&gt;
2013-09-07 20:58:46 (731 KB/s) - `tbs-linux-drivers_v130802.zip&amp;#039; saved [16296304/16296304]&lt;br /&gt;
$ mkdir tbs-linux-drivers&lt;br /&gt;
$ cd tbs-linux-drivers&lt;br /&gt;
$ sudo apt-get install unzip&lt;br /&gt;
$ sudo apt-get install build-essential&lt;br /&gt;
$ unzip ../tbs-linux-drivers_v130802.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instructions for the continued installation are in the readme file &amp;lt;code&amp;gt;README_TBS6981&amp;lt;/code&amp;gt;.&lt;br /&gt;
Extract linux-tbs-drivers.tar.bz2 archive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ tar xjvf linux-tbs-drivers.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The permissions of the tarball are wrong, this can be corrected using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod -R 755 .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The build script needed is depending on your kernel version. Determine the kernel version using:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uname -a&lt;br /&gt;
3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for any x86_64 kernel (x86 64 bit installations of Linux):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd linux-tbs-drivers/&lt;br /&gt;
~/tbs-linux-drivers/linux-tbs-drivers&lt;br /&gt;
$ ./v4l/tbs-x86_64.sh&lt;br /&gt;
TBS drivers configured for x86_64 platform.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Build and install the driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Reboot in order to load the newly installed driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After reboot check that the newly installed driver is loaded correctly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything is OK, the output from the above command lists the registered&lt;br /&gt;
frontends for your card model and their number is equal to the number of&lt;br /&gt;
tuners on the card, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DVB: registering adapter 0 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
DVB: registering adapter 1 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If its not ok you&amp;#039;ll get something like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[    1.355497] videobuf_dvb: disagrees about version of symbol dvb_frontend_deta                                    ch&lt;br /&gt;
[    1.355498] videobuf_dvb: Unknown symbol dvb_frontend_detach (err -22)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix it...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap;&amp;quot;&amp;gt;&lt;br /&gt;
sudo rm -R /lib/modules/$(uname -r)/kernel/drivers/media&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Try again!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dmesg | grep frontend&lt;br /&gt;
[    2.087311] DVB: registering adapter 0 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.174999] DVB: registering adapter 1 frontend 0 (TurboSight TBS 62x0 DVBT/T2 frontend)...&lt;br /&gt;
[    2.676974] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.760952] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
[    2.787563] cx23885_dvb_register() allocating 1 frontend(s)&lt;br /&gt;
[    2.867740] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6981 DVBS/S2 frontend)...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Success.&lt;br /&gt;
&lt;br /&gt;
=== Figure Gallery ===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot;&amp;gt;&lt;br /&gt;
Image:1.MainScreenAfterReboot.png| &amp;#039;&amp;#039;Initial Screen After Reboot&amp;#039;&amp;#039; (Oscar)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]&amp;#039;&amp;#039; (Giant grouper)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Pterois volitans|Pterois volitans]]&amp;#039;&amp;#039; (Red Lionfish)&lt;br /&gt;
Image:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Macropodus opercularis|Macropodus opercularis]]&amp;#039;&amp;#039; (Paradise fish)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Psetta maxima|Psetta maxima]]&amp;#039;&amp;#039; (Turbot)&lt;br /&gt;
File:CloseUpCameraModuleRev1 3.jpg|&amp;#039;&amp;#039;[[commons:Category:Ecsenius|Ecsenius axelrodi]]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
# http://www.mythbuntu.org/&lt;br /&gt;
# http://www.mythtv.org/&lt;br /&gt;
# http://www.mythbuntu.org/download-type&lt;br /&gt;
# http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html&lt;br /&gt;
# http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab&lt;br /&gt;
# http://www.mythbuntu.org/upgrading&lt;br /&gt;
# http://linuxtv.org/wiki/index.php/TBS6280&lt;/div&gt;</summary>
		<author><name>Martin</name></author>	</entry>

	</feed>