<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BritishIdeas &#187; Linux</title>
	<atom:link href="http://www.britishideas.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.britishideas.com</link>
	<description>Interesting Tech Projects</description>
	<lastBuildDate>Sun, 23 Oct 2011 20:05:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Convert Any Audio Source Into MP3</title>
		<link>http://www.britishideas.com/2011/07/06/convert-any-audio-source-into-mp3/</link>
		<comments>http://www.britishideas.com/2011/07/06/convert-any-audio-source-into-mp3/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 13:10:47 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/?p=364</guid>
		<description><![CDATA[Here is my method that I know works. If you have a better one feel free to post it in the comments section. It may not produce the best quality audio but I&#8217;m sure it can be improved.
Obtain a 3.5mm to 3.5mm audio cable, for example this one. Connect one end to the audio source]]></description>
			<content:encoded><![CDATA[<p>Here is my method that I know works. If you have a better one feel free to post it in the comments section. It may not produce the best quality audio but I&#8217;m sure it can be improved.</p>
<p>Obtain a 3.5mm to 3.5mm audio cable, for example <a href="http://www.amazon.com/Cables-Unlimited-AUD-1100-06-6-Feet-Stereo/dp/B000SE6IV8" target="_blank">this one</a>. Connect one end to the audio source (for example a PC) and the other end to the microphone in on your linux box (I tried line in but that didn&#8217;t work for some reason).</p>
<p>Make sure ALSA utilities and ffmpeg are installed (at a console prompt):</p>
<pre class="brush: bash;">$ sudo apt-get install alsa-utils ffpmeg</pre>
<p>Start recording with:</p>
<pre class="brush: bash;">$ arecord -f cd -t wav test.wav</pre>
<p>Start the audio source and once complete press Ctrl-C to stop recording. Convert to MP3 with:</p>
<pre class="brush: bash;">$ ffmpeg -b 128k -i test.wav test.mp3</pre>
<p>I then run the file through <a href="http://mp3gain.sourceforge.net/" target="_blank">MP3Gain</a> as the recordings tend to be a bit quiet and add tags in iTunes.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d364').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d364" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d364').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d364').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2011/07/06/convert-any-audio-source-into-mp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphing Ping Times</title>
		<link>http://www.britishideas.com/2011/03/29/graphing-ping-times/</link>
		<comments>http://www.britishideas.com/2011/03/29/graphing-ping-times/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 21:14:33 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[networks]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/?p=355</guid>
		<description><![CDATA[I recently had the need to generate a graph of ping times between my PC and a British Telecom server. After a quick web search the only options I found were commercial programs or free software that was incredibly bloated, complex to configure and with lots of dependencies. There must be a simpler way, and]]></description>
			<content:encoded><![CDATA[<p>I recently had the need to generate a graph of ping times between my PC and a British Telecom server. After a quick web search the only options I found were commercial programs or free software that was incredibly bloated, complex to configure and with lots of dependencies. There must be a simpler way, and there is. Perl.</p>
<p>Here is my script:</p>
<pre class="brush: perl;">
#!/usr/bin/perl
# Converts ping output into a CSV file for graphing
# andy at british ideas dot com - March 29th 2011
# Public Domain
# Run using:
# ping -D 100.101.102.103 | ./pingtocsv.pl &gt; output.csv
# or:
# cat pingdump.txt | ./pingtocsv.pl &gt; output.csv
print &quot;Measurement Time,Ping Time\n&quot;;
while (&lt;STDIN&gt;) {
  if ($_ =~ m/^\[([0-9\.]+)\].*time\=([0-9\.]+).*/i) {
    print &quot;$1,$2\n&quot;;
  }
}
close(STDIN);
</pre>
<p><span id="more-355"></span>Run this using something like:</p>
<pre>ping -D 100.101.102.103 | ./perltocsv.pl &gt; pingtimes.csv</pre>
<p>This will generate a CSV file. Hit Ctrl-C to terminate. Now use LibreOffice to open the CSV file and generate a graph. Here is mine (click to enlarge):</p>
<p><a href="http://www.britishideas.com/wp-content/uploads/2011/03/badping.png"><img class="aligncenter size-medium wp-image-356" title="Ping Graph" src="http://www.britishideas.com/wp-content/uploads/2011/03/badping-300x150.png" alt="" width="300" height="150" /></a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d355').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d355" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d355').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d355').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2011/03/29/graphing-ping-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Progress of Linux</title>
		<link>http://www.britishideas.com/2011/03/04/the-progress-of-linux/</link>
		<comments>http://www.britishideas.com/2011/03/04/the-progress-of-linux/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 11:51:21 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/?p=351</guid>
		<description><![CDATA[Back in 1998 I tried installing RedHat 6 on a spare PC. When the desktop loaded it was, ummm, wobbly. I then spent the best part of the next two weeks fighing with X configuration files setting obscure items such as front and back porches in a futile attempt to stabilize the display so it]]></description>
			<content:encoded><![CDATA[<p>Back in 1998 I tried installing RedHat 6 on a spare PC. When the desktop loaded it was, ummm, wobbly. I then spent the best part of the next two weeks fighing with X configuration files setting obscure items such as front and back porches in a futile attempt to stabilize the display so it would be usable. I gave up.</p>
<p>Fast forward to March 2011 and Ubuntu 10.10. I&#8217;ve used lots of different versions of Ubuntu since 2006 on a variety of machines including for CNC control, but the last time I installed in a dual boot system was two years ago. Ubuntu 10.10 works fine in a virtual machine inside Windows 7 but I wanted to run it at full speed.<span id="more-351"></span></p>
<p>I had a blank PC with two hard drives, both blank and installed Windows 7 on the first one. That went fine.</p>
<p>Next I installed Ubuntu 10.10 on the second blank drive choosing the option to install &#8220;alongside another operating system&#8221;. That&#8217;s when it went pear-shaped of course.</p>
<p>The first issue was when I was prompted to reboot. That produced a cascade of errors saying the hard drive that it just installed on wasn&#8217;t accessible. Eh? Then it stopped and I had to use the reset button.</p>
<p>Upon booting there was no grub bootloader! It went straight to Ubuntu. OK, fine. I know where /boot/grub/menu.lst is so this will be easy to fix. No such luck. Things have obviously changed and now I am back in 1998 searching web pages for possible solutions on how to avoid reinstalling Windows 7.</p>
<p>First attempt: gedit /etc/default/grub. Oops. Obscure error time again.</p>
<p>Second attempt: I know nano and at least that worked giving me access to the file. Sadly the contents of the file don&#8217;t show any references to kernels like I expected.</p>
<p>Third attempt: apt-get install startupmanager. Looks good. Shows Ubuntu as the only option though. No way to add additional operating systems &#8211; how useless is that?</p>
<p>The last issue I noticed is that Ubuntu failed to detect I had two monitors and stretch the desktop automatically. This is after installing the proprietary ATI drivers. I remember the Linux Action Show complaining of this exact issue with Ubuntu over two years ago!</p>
<p>At this point I am fed up and regretting venturing back into the Ubuntu world. I don&#8217;t want to spend hours working out how to get access back to Windows 7. Perhaps I am too stupid to use it?</p>
<p>If this is how the user experience is after years of hard work then I can&#8217;t see how Linux will ever make any significant gain on the desktop.</p>
<p>Some things never change.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d351').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d351" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d351').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d351').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2011/03/04/the-progress-of-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>You Tube, H.264, High Definition and FFmpeg</title>
		<link>http://www.britishideas.com/2010/06/03/you-tube-h-264-high-definition-and-ffmpeg/</link>
		<comments>http://www.britishideas.com/2010/06/03/you-tube-h-264-high-definition-and-ffmpeg/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 03:29:16 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[h.264]]></category>
		<category><![CDATA[time lapse]]></category>
		<category><![CDATA[you tube]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/?p=185</guid>
		<description><![CDATA[Recently I had the need to take a set of jpeg images and convert them into a high definition time lapse video, then upload to You Tube. Easier said than done&#8230;
To get the best quality I wanted to use H.264/MP4, which is also recommended by You Tube. I also wanted 1080P. The problem is that]]></description>
			<content:encoded><![CDATA[<p>Recently I had the need to take a set of jpeg images and convert them into a high definition time lapse video, then upload to You Tube. Easier said than done&#8230;</p>
<p>To get the best quality I wanted to use H.264/MP4, which is also recommended by You Tube. I also wanted 1080P. The problem is that You Tube doesn&#8217;t seem to like B-frames in the file, and messes up the start of videos. So here is the solution I found.</p>
<p>Firstly I needed to upgrade my Debian server to Squeeze.</p>
<p>Next I compiled x264 and FFmpeg as described in <a title="How To Build FFmpeg on Debian Squeeze" href="http://stream0.org/2009/10/howto-build-ffmpeg-on-debian-s.html" target="_blank">How To Build FFmpeg on Debian Squeeze</a>.</p>
<p>Finally I ran the following FFmpeg command line to generate a time lapse video at 24 frames per second (-r 24), using 1080P (-s hd1080) with no B-frames (-bf 0):</p>
<pre class="brush: bash;">
ffmpeg -r 24 -i %04d.jpg -s hd1080 -vcodec libx264 -vpre hq -bf 0 -crf 16 myfile.mp4
</pre>
<p>It&#8217;s important that the frame rate is specified before the input source in order to make FFmpeg apply the frame rate to the source. Note that trying to use qt-faststart causes You Tube to complain about the audio, even though there isn&#8217;t any audio.</p>
<p><span class="youtube">
<object width="560" height="340">
<param name="movie" value="http://www.youtube.com/v/rEyH1zJSlts&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;showsearch=0&amp;hd=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="transparent" src="http://www.youtube.com/v/rEyH1zJSlts&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;showsearch=0&amp;hd=1" type="application/x-shockwave-flash" allowfullscreen="true" width="560" height="340"></embed>
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=rEyH1zJSlts&fmt=18">www.youtube.com/watch?v=rEyH1zJSlts</a></p></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d185').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d185" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d185').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d185').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2010/06/03/you-tube-h-264-high-definition-and-ffmpeg/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fireball V90 EMC2 Configuration Files</title>
		<link>http://www.britishideas.com/2009/03/04/fireball-v90-emc2-configuration-files/</link>
		<comments>http://www.britishideas.com/2009/03/04/fireball-v90-emc2-configuration-files/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 16:51:25 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[emc2]]></category>
		<category><![CDATA[hobbycnc]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/2009/03/04/fireball-v90-emc2-configuration-files/</guid>
		<description><![CDATA[I am making my configuration files available to help anyone trying to get their Fireball V90 machine working with EMC2. The configuration is for inches, 1/4 microstepping and the HobbyCNC Pro board.
To use these files you will first need to perform the latency test and work out the base period for your PC. Open the]]></description>
			<content:encoded><![CDATA[<p>I am making my configuration files available to help anyone trying to get their Fireball V90 machine working with EMC2. The configuration is for inches, 1/4 microstepping and the HobbyCNC Pro board.</p>
<p>To use these files you will first need to perform the latency test and work out the base period for your PC. Open the Stepconf wizard and choose to update this configuration. Put the latency test results into the Stepconf wizard. Then you must double-check the pin configurations for your board if you are not using the same one I am. These changes are easy to make. I recommend 1/4 microstepping as it gives smooth operation without much reduction in power and speed.</p>
<p>Note that Stepconf will tell you that the INI file has changed since the configuration was generated. I changed the DEFAULT_VELOCITY to 0.9 so the default jogging speed is a bit faster.</p>
<p>Download <a href="http://www.britishideas.com/wp-content/uploads/2009/03/fireballcncv90.zip" title="Fireball V90 EMC2 Configuration Files">Fireball V90 EMC2 Configuration Files</a>.</p>
<p>Update: Now with Stepconf generated config files.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d98').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d98" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d98').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d98').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2009/03/04/fireball-v90-emc2-configuration-files/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing Ubuntu Netbook Remix on an Acer Aspire One</title>
		<link>http://www.britishideas.com/2009/01/14/installing-ubuntu-netbook-remix-on-an-acer-aspire-one/</link>
		<comments>http://www.britishideas.com/2009/01/14/installing-ubuntu-netbook-remix-on-an-acer-aspire-one/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 02:13:45 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/2009/01/14/installing-ubuntu-netbook-remix-on-an-acer-aspire-one/</guid>
		<description><![CDATA[The Acer Aspire One is a pretty nice netbook &#8211; for a reasonable price you get 1Gb RAM, 160Gb hard drive, 1024 x 600 screen and 5 1/2 hours of battery life. However it comes with Windows XP or Linpus, which is a customized Linux distribution from Acer. Neither of these options appealed to me.]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://en.wikipedia.org/wiki/Aspire_One">Acer Aspire One</a> is a pretty nice netbook &#8211; for a reasonable price you get 1Gb RAM, 160Gb hard drive, 1024 x 600 screen and 5 1/2 hours of battery life. However it comes with Windows XP or Linpus, which is a customized Linux distribution from Acer. Neither of these options appealed to me. In particular the Aspire One user forums seemed to have a lot of postings on limitations with Linpus.</p>
<p>Enter <a href="http://www.canonical.com/projects/ubuntu/nbr">Ubuntu Netbook Remix</a> (UNR), which is a special version of Ubuntu 8.04 for netbooks. Essentially it is the same as Ubuntu 8.04, but with some additions that make it easier to use on a small screen with limited height. Because netbooks don&#8217;t have optical drives it presents a challege to get a new operating system installed. Below is the process I found to work for me. I used Ubuntu on a desktop PC for all the steps.</p>
<p>Firstly note that I tried and failed to get a USB hard drive to work. I partitioned and formatted it every way I could and couldn&#8217;t get it to work. I managed to the the UNR installer to boot, but it always failed with &#8220;sdb: unknown partition table&#8221;. The process only seems to work with USB flash drives. I used a Sandisk Cruzer Micro 4Gb.</p>
<p>1. Download UNR 1.0.1 image from:</p>
<p><a href="http://oem-images.canonical.com/unr/unr-1.0.1.img">http://oem-images.canonical.com/unr/unr-1.0.1.img</a></p>
<p>2. Plug in USB drive and identify device location. Mine was /dev/sdb mounted to /media/disk.</p>
<p>3. At command prompt:</p>
<p><code>sudo dd if=./unr-1.0.1.img of=/dev/sdb bs=1024</code></p>
<p>4. fdisk -l will then show:</p>
<p><code>Disk /dev/sda: 250.0 GB, 250000000000 bytes<br />
255 heads, 63 sectors/track, 30394 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0x88000000</code></p>
<p><code>Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1               1           8       64228+  de  Dell Utility<br />
/dev/sda2               9        1314    10485760    7  HPFS/NTFS<br />
Partition 2 does not end on cylinder boundary.<br />
/dev/sda3   *        1315        7769    51849787+   7  HPFS/NTFS<br />
/dev/sda4            7770       30394   181735312+   5  Extended<br />
/dev/sda5            7770       23109   123218518+   7  HPFS/NTFS<br />
/dev/sda6           23110       29908    54612936   83  Linux<br />
/dev/sda7           29909       30394     3903763+  82  Linux swap / Solaris</code></p>
<p><code>Disk /dev/sdb: 4016 MB, 4016045568 bytes<br />
124 heads, 62 sectors/track, 1020 cylinders<br />
Units = cylinders of 7688 * 512 = 3936256 bytes<br />
Disk identifier: 0x8ef631df</code></p>
<p><code>This doesn't look like a partition table<br />
Probably you selected the wrong device.</code></p>
<p><code>Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1   ?      274784      529564   979374166   66  Unknown<br />
Partition 1 has different physical/logical beginnings (non-Linux?):<br />
phys=(734, 123, 14) logical=(274783, 70, 21)<br />
Partition 1 has different physical/logical endings:<br />
phys=(120, 143, 6) logical=(529563, 65, 22)<br />
Partition 1 does not end on cylinder boundary.<br />
/dev/sdb2   ?      448668      961719  1972168331    7  HPFS/NTFS<br />
Partition 2 has different physical/logical beginnings (non-Linux?):<br />
phys=(187, 180, 14) logical=(448667, 16, 52)<br />
Partition 2 has different physical/logical endings:<br />
phys=(784, 0, 13) logical=(403059, 76, 1)<br />
Partition 2 does not end on cylinder boundary.<br />
/dev/sdb3   ?      426615      680707   976730017   7d  Unknown<br />
Partition 3 has different physical/logical beginnings (non-Linux?):<br />
phys=(252, 59, 46) logical=(426614, 84, 39)<br />
Partition 3 has different physical/logical endings:<br />
phys=(139, 118, 4) logical=(122048, 22, 28)<br />
Partition 3 does not end on cylinder boundary.<br />
/dev/sdb4   ?       36178       37261     4161536   6f  Unknown<br />
Partition 4 has different physical/logical beginnings (non-Linux?):<br />
phys=(370, 101, 50) logical=(36177, 96, 57)<br />
Partition 4 has different physical/logical endings:<br />
phys=(10, 114, 13) logical=(37260, 47, 62)<br />
Partition 4 does not end on cylinder boundary.</code></p>
<p><code>Partition table entries are not in disk order</code></p>
<p>Don&#8217;t worry about the errors &#8211; they don&#8217;t seem to be important.</p>
<p>5. Unmount the USB drive by right-clicking on the icon on the desktop.</p>
<p>6. Plug USB drive into Aspire one and boot. At Acer screen press F12 to get to the boot menu.</p>
<p>7. On the boot menu the USB drive will appear twice:</p>
<p>USB Floppy Drive<br />
USB CDROM</p>
<p>This because there is a second hard-coded, read only partition that appears as a CDROM drive. Choose the floppy drive option. Press Enter at the prompt and UNR will now install. Follow the on-screen instructions.</p>
<p>8. At this point you probably want to change the name of the computer. It seems to default to the name of the first user. Go to Administration -&gt; Network, click on &#8220;Unlock&#8221; and enter your password.</p>
<p>9. Click on the General tab and enter a new name in the Hostname field.</p>
<p>10. Reboot. Clicking on &#8220;Quit&#8230;&#8221; didn&#8217;t seem to work. Holding down the power button for a second or so brought up the shutdown options screen. Note that after the reboot the &#8220;Quit&#8230;&#8221; option started working, so I guess the reboot is necessary.</p>
<p><strong>Cleaning Up Your USB Drive</strong></p>
<p>1. Install GParted from Add/Remove&#8230;</p>
<p>2. Go to System -&gt; Administration -&gt; Partition Editor</p>
<p>3. Plug in the USB drive and select it from the list at the top right (for example /dev/sdb).</p>
<p>4. Right click on the drive on the desktop and unmount it.</p>
<p>5. Select the partition (there will only be one for some strange reason) and delete it. Click on Apply to confirm.</p>
<p>6. Create a new FAT32 primary partition. Click on Apply.</p>
<p>7. Remove and insert the USB drive to mount it.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d97').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d97" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d97').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d97').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2009/01/14/installing-ubuntu-netbook-remix-on-an-acer-aspire-one/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Inkscape for CNC Designs and DXFs</title>
		<link>http://www.britishideas.com/2008/09/04/using-inkscape-for-cnc-designs-and-dxfs/</link>
		<comments>http://www.britishideas.com/2008/09/04/using-inkscape-for-cnc-designs-and-dxfs/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 05:45:42 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dxf]]></category>
		<category><![CDATA[inkscape]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/2008/09/04/using-inkscape-for-cnc-designs-and-dxfs/</guid>
		<description><![CDATA[Update: see this later post before following the instructions below.
I don&#8217;t care for most of the DXF editors available. They seem a bit clunky and not too friendly. But I do like Inkscape. Unfortunately it doesn&#8217;t export DXF files.
Here is a way of getting Inkscape 0.46 to export DXF files which can then be processed]]></description>
			<content:encoded><![CDATA[<p>Update: see <a href="http://www.britishideas.com/2008/09/15/more-on-inkscape-and-dxf-export/">this later post</a> before following the instructions below.</p>
<p>I don&#8217;t care for most of the DXF editors available. They seem a bit clunky and not too friendly. But I do like Inkscape. Unfortunately it doesn&#8217;t export DXF files.</p>
<p>Here is a way of getting Inkscape 0.46 to export DXF files which can then be processed in a CAM program to generate g-code for a CNC machine.</p>
<p>Firstly install <a href="http://www.inkscape.org/" title="Inkscape">Inkscape</a> 0.46. It must be this version.</p>
<p>Next go to <a href="http://www.bobandeileen.com/?p=198" title="bobandeileen.com">this post on BobandEileen.com</a>, right click on the link to  &#8220;dxf_templates.py&#8221; and save it in C:\Program Files\Inkscape\share\extensions.</p>
<p>Next step is to go to <a href="http://www.bobandeileen.com/?p=202" title="bobandeileen.com">another post on BobandEileen.com</a>, right click on the two .py files (&#8220;simpletransform.py&#8221; and &#8220;better_dxf_outlines.py&#8221;) and save in the same place. Then do the same for &#8220;better_dxf_outlines.inx&#8221;.</p>
<p>Restart Inkscape.</p>
<p>Create a drawing and then move it to the bottom left corner of the page. This corner ends up being the origin. If you want your drawing centered on the origin then center it on the corner of the page.</p>
<p>Go to File -&gt; Save As&#8230;</p>
<p>From the list of file types in the save dialog window choose  &#8220;Better DXF Output (*.dxf)&#8221; and save the file.</p>
<p>Now open the DXF file in your favourite CAM program, such as CamBam.</p>
<p>Note that you may need to scale the drawing in your CAM program. Even though I had my drawings correctly sized in Inkscape, they seemed to be quite a bit bigger. If anyone knows how to solve that please post a comment.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d90').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d90" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d90').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d90').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2008/09/04/using-inkscape-for-cnc-designs-and-dxfs/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Cutting Holes with CNC</title>
		<link>http://www.britishideas.com/2008/06/23/cutting-holes-with-cnc/</link>
		<comments>http://www.britishideas.com/2008/06/23/cutting-holes-with-cnc/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 04:49:57 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[holes]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/2008/06/23/cutting-holes-with-cnc/</guid>
		<description><![CDATA[The next step in testing the CNC machine is to try cutting a hole. For this I needed thinner wood than the scrap pine I&#8217;ve been using. Home Depot sells small boards of oak and poplar so I picked up a piece of poplar. It&#8217;s 1/4&#8243; thick.
I also needed to raise the sacrificial platform so]]></description>
			<content:encoded><![CDATA[<p>The next step in testing the CNC machine is to try cutting a hole. For this I needed thinner wood than the scrap pine I&#8217;ve been using. Home Depot sells small boards of oak and poplar so I picked up a piece of poplar. It&#8217;s 1/4&#8243; thick.</p>
<p>I also needed to raise the sacrificial platform so the tip of the end mill can reach the bottom of the wood. To do that I just cut some more 16&#8243; x 9&#8243; pieces of 1/4&#8243; MDF and stacked them (see the post on fixtures for more information and pictures on what I am talking about).</p>
<p>I used CamBam to draw a 0.5&#8243; x 0.5&#8243; square and then created a profile on the inside using my 1.45mm (0.0571&#8243;) end mill. CamBam showed me that I would have slightly rounded corners, but that&#8217;s ok. I decided to cut the profile in passes, increasing the depth by 0.05&#8243; each time. This results in five passes to get to the bottom of the wood. Tedious, but better than stressing the end mill and Dremel.</p>
<p><a href="http://www.britishideas.com/wp-content/uploads/2008/06/squareholeemc2.jpg" title="EMC2 Square Hole"><img src="http://www.britishideas.com/wp-content/uploads/2008/06/squareholeemc2.thumbnail.jpg" alt="EMC2 Square Hole" /></a></p>
<p>I was afraid that the tip of the end mill might bind in the sticky double-sided carpet tape so I held on to the poplar with one hand and kept my finger on the power button with the other hand just in case. I was also afraid that the cube being cut might fly out as it came free.</p>
<p>It turned out pretty good. No sticky residue on the end mill and no gouging of the sacrifical platform. The cube in the center held in place during cutting and while I lifted the poplar. It came out when I removed the carpet tape.</p>
<p><a href="http://www.britishideas.com/wp-content/uploads/2008/06/squarehole.jpg" title="Square Hole"><img src="http://www.britishideas.com/wp-content/uploads/2008/06/squarehole.thumbnail.jpg" alt="Square Hole" /></a></p>
<p>The cut is nice and clean with no burrs. I guess the carpet tape is a good method to continue using.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d87').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d87" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d87').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d87').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2008/06/23/cutting-holes-with-cnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Steps With CNC</title>
		<link>http://www.britishideas.com/2008/06/22/first-steps-with-cnc/</link>
		<comments>http://www.britishideas.com/2008/06/22/first-steps-with-cnc/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 02:16:27 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/2008/06/22/first-steps-with-cnc/</guid>
		<description><![CDATA[Today I took my first steps cutting some scrap pine. I started off with a 2&#8243; diameter circle then measured it. This is an acid test to check the CNC machine for accuracy and squareness. I used a 1.45mm four flute carbide end mill, 10&#8243; per minute speed and cutting to 0.05&#8243; deep.
Next I used]]></description>
			<content:encoded><![CDATA[<p>Today I took my first steps cutting some scrap pine. I started off with a 2&#8243; diameter circle then measured it. This is an acid test to check the CNC machine for accuracy and squareness. I used a 1.45mm four flute carbide end mill, 10&#8243; per minute speed and cutting to 0.05&#8243; deep.</p>
<p>Next I used CamBam to cut my wife&#8217;s name. That also went well, however even with the text 1.5&#8243; high I was running into a limitation of the end mill. A small mill would have improved the detail.</p>
<p><a href="http://www.britishideas.com/wp-content/uploads/2008/06/cyndipine.jpg" title="Text cut into pine"><img src="http://www.britishideas.com/wp-content/uploads/2008/06/cyndipine.thumbnail.jpg" alt="Text cut into pine" /></a></p>
<p>Then I downloaded a DXF file of a horse and tried cutting that. Came out very nicely. The thin strip of wood left between the body and mane is thin enough to see light through it.</p>
<p><a href="http://www.britishideas.com/wp-content/uploads/2008/06/horsepine.jpg" title="Horse cut into pine"><img src="http://www.britishideas.com/wp-content/uploads/2008/06/horsepine.thumbnail.jpg" alt="Horse cut into pine" /></a></p>
<p>Here is a video shows the horse being made.</p>
<p><embed id="VideoPlayback" style="width:400px;height:326px" allowFullScreen="true" src="http://video.google.com/googleplayer.swf?docid=-5536220933492536573&#038;hl=en&#038;fs=true" type="application/x-shockwave-flash"> </embed></p>
<p>For all these I used the same end mill and cutting depth as I did for the circle.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d82').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d82" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d82').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d82').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2008/06/22/first-steps-with-cnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Measuring CNC Backlash and Software Compensation</title>
		<link>http://www.britishideas.com/2008/06/19/measuring-cnc-backlash-and-software-compensation/</link>
		<comments>http://www.britishideas.com/2008/06/19/measuring-cnc-backlash-and-software-compensation/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 04:21:20 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backlash]]></category>

		<guid isPermaLink="false">http://www.britishideas.com/2008/06/19/measuring-cnc-backlash-and-software-compensation/</guid>
		<description><![CDATA[This article describes how I measured the backlash on my CNC machine and then applied software compensation.
To measure backlash I used a Mitutoyo dial indicator with 0.0001&#8243; markings and a full scale of 0.01&#8243;. The dial indicator was attached to an adjustable stand so the plunger could be placed against various surfaces on the machine.]]></description>
			<content:encoded><![CDATA[<p>This article describes how I measured the backlash on my CNC machine and then applied software compensation.</p>
<p>To measure backlash I used a Mitutoyo dial indicator with 0.0001&#8243; markings and a full scale of 0.01&#8243;. The dial indicator was attached to an adjustable stand so the plunger could be placed against various surfaces on the machine. The stand had a heavy base to ensure the dial indicator and stand didn&#8217;t move when pressure was applied to the plunger.</p>
<p>The picture below shows the set up ready to measure the backlash of the X axis.</p>
<p><a href="http://www.britishideas.com/wp-content/uploads/2008/06/backlashx.jpg" title="Measuring backlash on X"><img src="http://www.britishideas.com/wp-content/uploads/2008/06/backlashx.thumbnail.jpg" alt="Measuring backlash on X" /></a></p>
<p>Here is the method I used:</p>
<ol>
<li>Position the plunger on the dial indicator a short distance from a surface that moves in the direction of the axis being measured. The plunger should be perpendicular to the surface.</li>
<li>Jog 0.001&#8243; along the axis being measured into the plunger, until the needle moves at least 0.001&#8243;.</li>
<li>Note the value shown on the dial indicator. We&#8217;ll call this &#8216;S&#8217; for start.</li>
<li>Jog the axis 0.001&#8243; seven times into the plunger. Each jog will cause the needle to move. Be careful not to cause the needle to move to the maximum position.</li>
<li>Jog the axis 0.001&#8243; seven times away from the plunger. The first one, two or three jogs may not cause the needle to move. This is the slack being taken up and hence the backlash.</li>
<li>Note the value shown on the dial indicator. We&#8217;ll call this &#8216;F&#8217; for finish.</li>
<li>Calculate the difference between the finish value and the start value (F -S). This is the amount of backlash.</li>
<li>Jog the axis away from the plunger</li>
<li>Repeat two more times then work out the average value.</li>
</ol>
<p>The next picture shows the position of the dial indicator used to measure the Y axis.</p>
<p><a href="http://www.britishideas.com/wp-content/uploads/2008/06/backlashy.jpg" title="Measuring backlash on y"><img src="http://www.britishideas.com/wp-content/uploads/2008/06/backlashy.thumbnail.jpg" alt="Measuring backlash on y" /></a></p>
<p>The last picture shows the position of the dial indicator used to measure the Z axis.</p>
<p><a href="http://www.britishideas.com/wp-content/uploads/2008/06/backlashz.jpg" title="Measuring backlash on z"><img src="http://www.britishideas.com/wp-content/uploads/2008/06/backlashz.thumbnail.jpg" alt="Measuring backlash on z" /></a></p>
<p>For my machine I measured the backlash as (averages):</p>
<ul>
<li>X = 0.00538&#8243;</li>
<li>Y = 0.00250&#8243;</li>
<li>Z = 0.00030&#8243;</li>
</ul>
<p>EMC2 provides software compensation for backlash. This isn&#8217;t as good as using anti-backlash nuts, but I was curious to see how well it would perform. One thing to keep in mind is that over time wear will cause the backlash to change. To configure EMC2 simply add the backlash values to the axis sections of the INI file. Nice and simple. For example:</p>
<p><code>[AXIS_0]<br />
...<br />
BACKLASH=0.00538</code></p>
<p>I then remeasured the backlash and obtained the following values (averages):</p>
<ul>
<li>X = 0.00073&#8243;</li>
<li>Y = 0.00010&#8243;</li>
<li>Z = 0.00013&#8243;</li>
</ul>
<p>The Y axis saw the greatest improvement (96%) followed by the X axis (86%) and the Z axis (56%). I think this is pretty good.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d81').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark to:</em></strong></a>
<br />
<div class="d81" style="overflow:hidden">
<br />
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d81').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d81').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.britishideas.com/2008/06/19/measuring-cnc-backlash-and-software-compensation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

