<?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>Madox.NET &#187; Ubuntu</title>
	<atom:link href="http://www.madox.net/blog/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madox.net/blog</link>
	<description>Perversions of an Engineer</description>
	<lastBuildDate>Mon, 30 Jan 2012 12:21:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>HP5310m un2420 Wireless Gobi2000 Module in Ubuntu</title>
		<link>http://www.madox.net/blog/2010/01/06/hp5310m-un2420-wireless-gobi2000-module-in-ubuntu/</link>
		<comments>http://www.madox.net/blog/2010/01/06/hp5310m-un2420-wireless-gobi2000-module-in-ubuntu/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 15:43:39 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=585</guid>
		<description><![CDATA[QUICK POST TO BE CLEANED UP LATER If you have a Windows 7 installation (as it should be pre-installed) and with the Window&#8217;s Qualcomm driver&#8217;s loaded, find the driver log directory. e.g. C:\ProgramData\QUALCOMM\QDLService2k There should be two files, Options2kHP.txt and QDLService2kHP.txt. Open Options2kHP.txt and you should see 3 lines similar to :- C:\Program Files\Qualcomm\Images\HP\UMTS\AMSS.mbn C:\Program [...]]]></description>
			<content:encoded><![CDATA[<h1>QUICK POST TO BE CLEANED UP LATER <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </h1>
<p>If you have a Windows 7 installation (as it should be pre-installed) and with the Window&#8217;s Qualcomm driver&#8217;s loaded, find the driver log directory.</p>
<blockquote><p>e.g. C:\ProgramData\QUALCOMM\QDLService2k</p></blockquote>
<p>There should be two files, Options2kHP.txt and QDLService2kHP.txt.</p>
<p>Open Options2kHP.txt and you should see 3 lines similar to :-</p>
<blockquote><p>C:\Program Files\Qualcomm\Images\HP\UMTS\AMSS.mbn<br />
C:\Program Files\Qualcomm\Images\HP\UMTS\Apps.mbn<br />
C:\Program Files\Qualcomm\Images\HP\0\UQCN.mbn</p></blockquote>
<p>Copy these 3 files listed into</p>
<blockquote><p>/lib/firmware/gobi</p></blockquote>
<p>The other file is a log file of the firmware loading done by the Windows driver if you&#8217;re curious.</p>
<p>The device ID for the firmware loader on the HP 5310m, un2420 module is 0x241d.<br />
The device ID for the modem is 0x251d.<br />
If the firmware is not loaded, you should see the firmware loader device.<br />
If the firmware is loaded correctly, you should only see the modem device.</p>
<p>Short Instructions (Request in comments if you need debugging/testing instructions).</p>
<p>Download, compile and install the updated qcserial driver.<a href="http://www.madox.net/blog/wp-content/uploads/2010/01/qcserial_5Jan10.zip">qcserial_5Jan10</a><br />
Download, compile and install the modified gobi_loader.<a href="http://www.madox.net/blog/wp-content/uploads/2010/01/gb2kload_5Jan10.zip">gb2kload_5Jan10</a><br />
Reboot and pray that network manager now shows your modem <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>*UDEV ISNT WORKING AT THE MOMENT &#8230; WILL FIX SOON &#8230; Run in manually like below&#8230;*</p>
<blockquote><p>madox@madox-5310m:~$ lsusb -d 03f0:251d<br />
Bus 001 Device 003: ID 03f0:251d Hewlett-Packard</p></blockquote>
<p>Blah blah</p>
<p>Gobi Loader manually run and output</p>
<blockquote><p>madox@madox-5310m:~/projects/gb2kload$ ./gobi_loader /dev/ttyUSB0 /lib/firmware/gobi<br />
QDL protocol server request sent<br />
01 51 43 4f 4d 20 68 69 67 68 20 73 70 65 65 64<br />
20 70 72 6f 74 6f 63 6f 6c 20 68 73 74 00 00 00<br />
00 04 04 30 03 0b<br />
QDL protocol server response received<br />
7e 0d 05 00 00 00 00 04 e4 7e<br />
QDL protocol server request sent (Retry as gobi2000)<br />
01 51 43 4f 4d 20 68 69 67 68 20 73 70 65 65 64<br />
20 70 72 6f 74 6f 63 6f 6c 20 68 73 74 00 00 00<br />
00 05 05 30 07 48<br />
QDL protocol server response received (Retry as gobi2000)<br />
7e 02 51 43 4f 4d 20 68 69 67 68 20 73 70 65 65<br />
64 20 70 72 6f 74 6f 63 6f 6c ff ff ff ff 24 00<br />
17 5c 05 05 00 00 00 00 00 00 00 00 00 00 00 00<br />
00 30 d6 8a 7e<br />
QDL protocol server request sent<br />
25 05 2c 50 a9 00 01 00 00 00 04 00 00 40 97<br />
QDL protocol server response received<br />
7e 26 00 00 01 00 00 00 04 52 65 7e<br />
QDL protocol server request sent<br />
27 00 00 00 00 00 00 2c 50 a9 00 db ae<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 610348 bytes of image<br />
QDL protocol server response received<br />
7e 28 00 00 00 00 00 00 00 00 14 39 7e<br />
QDL protocol server request sent<br />
25 06 2c 60 2f 00 01 00 00 00 04 00 00 81 0e<br />
QDL protocol server response received<br />
7e 26 00 00 01 00 00 00 04 52 65 7e<br />
QDL protocol server request sent<br />
27 00 00 00 00 00 00 2c 60 2f 00 69 f0<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1048576 bytes of image<br />
QDL protocol server sent 1007660 bytes of image<br />
QDL protocol server response received<br />
7e 28 00 00 00 00 00 00 00 00 14 39 7e<br />
QDL protocol server request sent<br />
25 0d 44 24 00 00 01 00 00 00 04 00 00 50 90<br />
QDL protocol server response received<br />
7e 26 00 00 01 00 00 00 04 52 65 7e<br />
QDL protocol server request sent<br />
27 00 00 00 00 00 00 44 24 00 00 b9 49<br />
QDL protocol server sent 9284 bytes of image<br />
QDL protocol server response received<br />
7e 28 00 00 00 00 00 00 00 00 14 39 7e<br />
QDL protocol server request sent<br />
29 bb 4c<br />
Firmware Loading Complete</p></blockquote>
<p>You might need to kill modem-manager if you&#8217;re doing this manually&#8230;</p>
<blockquote><p>sudo pkill modem-manager</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2010/01/06/hp5310m-un2420-wireless-gobi2000-module-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>HTC Sense UI on HTC Magic</title>
		<link>http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/</link>
		<comments>http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 12:37:20 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=555</guid>
		<description><![CDATA[Well I&#8217;ve installed the official HTC Magic update with the new Sense UI a week ago and I have to say I&#8217;m pleasant amazed at HTC&#8217;s work with the Sense UI and how responsive the update is.  Just purely love it. Other than the annoying thing that I couldn&#8217;t download it using Firefox or Linux, [...]]]></description>
			<content:encoded><![CDATA[<p>Well I&#8217;ve installed the official HTC Magic update with the new Sense UI a week ago and I have to say I&#8217;m pleasant amazed at HTC&#8217;s work with the Sense UI and how responsive the update is.  Just purely love it.</p>
<p><a href="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0909.JPG"><img class="aligncenter size-medium wp-image-564" title="IMGP0909" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0909-450x600.jpg" alt="IMGP0909" width="450" height="600" /></a></p>
<p>Other than the annoying thing that I couldn&#8217;t download it using Firefox or Linux, and that you need to update using Windows and HTC Sync&#8230; its awesome.  Even though it&#8217;s a Taiwan ChungHwa ROM, there is an English option luckily <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In addition to the Sense UI and its wonderful feature set, another interesting but hidden away feature is &#8220;Mobile Internet Sharing&#8221;, aka tethering!  Azilink is now redundant with this new firmware, and honestly I was getting annoyed with Azilink&#8217;s performance and constant dropping out.  On Ubuntu at least, it was &#8216;plug-and-play&#8217; without any other tricks.  Awesome.</p>
<p>Now I&#8217;m not so jealous about all the HTC Hero&#8217;s my friends and relatives have&#8230;</p>
<p>Photos (pretty boring) after the break.</p>
<p><span id="more-555"></span>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0897/' title='IMGP0897'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0897-150x150.jpg" class="attachment-thumbnail" alt="IMGP0897" title="IMGP0897" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0900/' title='IMGP0900'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0900-150x150.jpg" class="attachment-thumbnail" alt="IMGP0900" title="IMGP0900" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0901/' title='IMGP0901'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0901-150x150.jpg" class="attachment-thumbnail" alt="IMGP0901" title="IMGP0901" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0903/' title='IMGP0903'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0903-150x150.jpg" class="attachment-thumbnail" alt="IMGP0903" title="IMGP0903" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0904/' title='IMGP0904'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0904-150x150.jpg" class="attachment-thumbnail" alt="IMGP0904" title="IMGP0904" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0905/' title='IMGP0905'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0905-150x150.jpg" class="attachment-thumbnail" alt="IMGP0905" title="IMGP0905" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0906/' title='IMGP0906'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0906-150x150.jpg" class="attachment-thumbnail" alt="IMGP0906" title="IMGP0906" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0908/' title='IMGP0908'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0908-150x150.jpg" class="attachment-thumbnail" alt="IMGP0908" title="IMGP0908" /></a>
<a href='http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/imgp0909/' title='IMGP0909'><img width="150" height="150" src="http://www.madox.net/blog/wp-content/uploads/2009/11/IMGP0909-150x150.jpg" class="attachment-thumbnail" alt="IMGP0909" title="IMGP0909" /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/11/01/htc-sense-ui-on-htc-magic/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>EasySync USB-CAN Bus Adapter &#8211; Works great in Ubuntu after some fiddling</title>
		<link>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/</link>
		<comments>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 12:52:30 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[CAN Bus]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[FTDI]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=476</guid>
		<description><![CDATA[The toys just keep coming in!  Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by EasySync that promises a great interface and should work in Linux!  This will give a little bump start to my Mazda CAN Bus / [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_477" class="wp-caption aligncenter" style="width: 368px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2414A.JPG"><img class="size-medium wp-image-477" title="CIMG2414A" src="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2414A-358x300.jpg" alt="Neat little package" width="358" height="300" /></a><p class="wp-caption-text">Neat little package</p></div>
<p>The toys just keep coming in!  Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by <a href="http://www.easysync.co.uk/" target="_blank">EasySync</a> that promises a great interface and should work in Linux!  This will give a little bump start to my <a href="http://www.madox.net/blog/mazda-can-bus/" target="_blank">Mazda CAN Bus</a> / <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a> projects.</p>
<p><em>Note : EasySync UK&#8217;s online form doesn&#8217;t allow international shipping but a short E-mail or two managed that.  There is a US subsidiary with US and international shipping, but the international shipping rates on the US site is plain ridiculous [$68USD to ship a $88 device to Australia].</em></p>
<p><em>Note 2 : I hear the interface is mimicking the Lawicel CAN-USB interface&#8230;only hearsay&#8230;<br />
</em></p>
<p>Plugged it in &#8211; didn&#8217;t work.  Doh!  Took a peek at the manual and website, nothing on Linux other than &#8220;Linux drivers provided&#8221;&#8230; So much for the marketing material, guess I have to try make it work myself.  (Yes I got it working, read on for the quick run-down post aimed at helping others)</p>
<p><span id="more-476"></span></p>
<div id="attachment_478" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2417A.JPG"><img class="size-medium wp-image-478" title="CIMG2417A" src="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2417A-450x282.jpg" alt="Sneak peek inside the box" width="450" height="282" /></a><p class="wp-caption-text">Sneak peek inside the box</p></div>
<p>Now with the photos out of the way, a little bit of detective work is ahead of us&#8230; why doesn&#8217;t this thing work&#8230; I paid so much money for it to replace the qprotos adapter!</p>
<p>A little bit of lsusb (or cat /proc/bus/usb/devices if you&#8217;ve got usbdevfs) sleuthing later&#8230;</p>
<blockquote>
<pre>Bus 003 Device 004: ID 0403:fac6 Future Technology Devices International, Ltd
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0         8
 idVendor           0x0403 Future Technology Devices International, Ltd
 idProduct          0xfac6
 bcdDevice            6.00
 iManufacturer           1 EasySync
 iProduct                2 USB2-F-7001 CAN-Plus Adapter
 iSerial                 3 ESNFWLPL
 bNumConfigurations      1
 Configuration Descriptor:
 bLength                 9
 bDescriptorType         2
 wTotalLength           32
 bNumInterfaces          1
 bConfigurationValue     1
 iConfiguration          0
 bmAttributes         0x80
 (Bus Powered)
 MaxPower              150mA
 Interface Descriptor:
 bLength                 9
 bDescriptorType         4
 bInterfaceNumber        0
 bAlternateSetting       0
 bNumEndpoints           2
 bInterfaceClass       255 Vendor Specific Class
 bInterfaceSubClass    255 Vendor Specific Subclass
 bInterfaceProtocol    255 Vendor Specific Protocol
 iInterface              2 USB2-F-7001 CAN-Plus Adapter
 Endpoint Descriptor:
 bLength                 7
 bDescriptorType         5
 bEndpointAddress     0x81  EP 1 IN
 bmAttributes            2
 Transfer Type            Bulk
 Synch Type               None
 Usage Type               Data
 wMaxPacketSize     0x0040  1x 64 bytes
 bInterval               0
 Endpoint Descriptor:
 bLength                 7
 bDescriptorType         5
 bEndpointAddress     0x02  EP 2 OUT
 bmAttributes            2
 Transfer Type            Bulk
 Synch Type               None
 Usage Type               Data
 wMaxPacketSize     0x0040  1x 64 bytes
 bInterval               0
Device Status:     0x0000
 (Bus Powered)</pre>
</blockquote>
<p>Yup definitely a FTDI device, even with the FTDI vendor ID (Did I mention I love FTDI?).  Looks like EasySync decided they wanted their own unique product ID, unfortunately that means the vanilla ftdi_sio drive won&#8217;t pick it up without a little bit of coercing.</p>
<p>The little bit of coercing goes like&#8230;</p>
<blockquote><p><em>modprobe ftdi_sio vendor=0&#215;0403 product=0xfac6</em></p></blockquote>
<p>And bingo&#8230;</p>
<blockquote>
<pre>[ 6372.229046] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 6372.437247] usb 2-2: configuration #1 chosen from 1 choice
[ 6372.439834] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[ 6372.439872] usb 2-2: Detected FT232RL
[ 6372.439934] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0</pre>
</blockquote>
<p>Using putty to connect to ttyUSB0 at 115200, and typing &#8220;H&#8221; followed by &#8220;Enter&#8221; gives us</p>
<blockquote>
<pre>=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2009.06.30 21:23:18 =~=~=~=~=~=~=~=~=~=~=~=
H
List of Supported Commands
O - Open CAN Channel
C - Close CAN Channel
t - Transmit Standard Frame
T - Transmit Extended Frame
F - Read Status Flag
V - USB2-F-7001 Version
N - Serial Number of USB2-F-7001
Z - TimeStamp Option On/Off
S - Set CAN Bit Rate
s - Set BRGCON Registers
m - Set Acceptance Mask
M - Set Acceptance Filter
B - Enter Bootload Mode
L - Set Listen Mode
E - Clear Buffers and Echo Char
R - Reset USB2-F-7001
H, ? or h - Help on USB2-F-7001 Commands</pre>
</blockquote>
<p>Only problem is that its Mac style line endings.  Even the append CR to LF option in putty is useless because the stream seems to be CR without LF&#8230;  Doesn&#8217;t hurt too much except displaying it is a bit annoying.</p>
<p>The EasySync USB-CAN adapter&#8217;s pinout is pretty much standard DB9 for CAN Bus and all I had to do was connect my existing J1962 (aka OBD-II aka DLC-2) cable on and onto the car I went.</p>
<p>A couple of short &#8220;S6&#8243; (500kbps) &#8220;L&#8221; (Open connection for listen mode) commands later, I had CAN data being spat back at me</p>
<blockquote>
<pre>t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t20F8FFFF27104000FF01
t2118FFFF000040000001
t4B082710271027102710
t19080000000000000000</pre>
</blockquote>
<p>All is good&#8230;except I just deleted my Chumby Development Virtual Machine a few hours ago&#8230;ooops&#8230;another day before I use this neat little adapter for <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Citrix Linux Client 64bit (AMD64) for Ubuntu Jaunty 9.04</title>
		<link>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/</link>
		<comments>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/#comments</comments>
		<pubDate>Sun, 03 May 2009 15:16:55 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=330</guid>
		<description><![CDATA[This post is record to help myself if I ever decide to do a fresh install again, so it might be a bit messy.  (Posting helps me keep these untitled files off my hard-drive hehe) Download the Citrix Linux client (v11) from :- http://www.citrix.com/English/ss/downloads/index.asp URL mileage may vary, go back to the home page if [...]]]></description>
			<content:encoded><![CDATA[<p>This post is record to help myself if I ever decide to do a fresh install again, so it might be a bit messy.  (Posting helps me keep these untitled files off my hard-drive hehe)</p>
<p>Download the Citrix Linux client (v11) from :-<br />
<a href="http://www.citrix.com/English/ss/downloads/index.asp" target="_blank">http://www.citrix.com/English/ss/downloads/index.asp</a><br />
URL mileage may vary, go back to the home page if its not right.</p>
<p>Unpack the tarball and install&#8230; e.g.</p>
<blockquote>
<pre>tar -xvzf linuxx86-11.0.140395.tar.gz
sudo ./setupwfc</pre>
</blockquote>
<p>Might be missing a &#8216;cd&#8217; step here obviously&#8230;<br />
If run using sudo, default installs to /usr/lib/ICAClient</p>
<p>Confirm it doesn&#8217;t run because of libmotif</p>
<blockquote><p>/usr/lib/ICAClient/wfcmgr<br />
/usr/lib/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory</p></blockquote>
<p>Download a 32bit (i386) Open Motif package from :-<br />
<a href="http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/" target="_blank">http://ftp.ubuntu.com/ubuntu/pool/multiverse/o/openmotif/</a></p>
<p>Rip out libXm from it&#8230;</p>
<blockquote>
<pre>$ dpkg -x libmotif3_2.2.3-4_i386.deb ./tmp
$ cd ./tmp
~/tmp$ cd usr/lib
~/tmp/usr/lib$ ls
libMrm.so.3      libUil.so.3      libXm.so.3      X11
libMrm.so.3.0.2  libUil.so.3.0.2  libXm.so.3.0.2
~/tmp/usr/lib$ sudo cp libXm.so.3 /usr/lib32/
~/tmp/usr/lib$ cd /usr/lib32
/usr/lib32$ sudo ln -s libXm.so.3 libXm.so.4</pre>
</blockquote>
<p>Then this stupid error&#8230;<br />
You have not chosen to trust &#8220;Equifax Secure Global eBusiness CA-1&#8243;, the issuer of the servers security certificate (SSL error 61).</p>
<p>Download the root 1 (Base64) Cert from :-<br />
<a href="http://www.geotrust.com/resources/root-certificates/index.html" target="_blank">http://www.geotrust.com/resources/root-certificates/index.html</a><br />
Change the extension to .crt<br />
Copy it to Citrix Installation Path/ICAClient/keystore/cacerts</p>
<p>$ mv Equifax_Secure_Global_eBusiness_CA-1.cer Equifax_Secure_Global_eBusiness_CA-1.crt<br />
$ sudo cp Equifax_Secure_Global_eBusiness_CA-1.crt /usr/lib/ICAClient/keystore/cacerts/</p>
<p>Set firefox to open the ICA with /usr/lib/ICAClient/wfica</p>
<p>Voila&#8230;</p>
<p>Need to tidy this post up in the future</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/05/04/citrix-linux-client-64bit-amd64-for-ubuntu-jaunty-904/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 &#8211; Jaunty Jackalope AMD64 (64 bit)</title>
		<link>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/</link>
		<comments>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 10:40:17 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=317</guid>
		<description><![CDATA[I&#8217;ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation.  There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use. How to install Adobe Flash Plugin 64 Bit for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation.  There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use.</p>
<h2>How to install Adobe Flash Plugin 64 Bit for Ubuntu 9.04</h2>
<p>A lot of the tutorials/guides online will tell you to use nspluginwrapper or similar.  Adobe has released an &#8216;alpha&#8217; version of their 64 bit player which is pretty stable so far&#8230;</p>
<p>Download it from :-<a href="http://labs.adobe.com/downloads/flashplayer10.html" target="_blank">http://labs.adobe.com/downloads/flashplayer10.html</a></p>
<p>Unpack the archive and copy the only file to the Firefox plugins folder in &#8216;<em>/usr/lib/firefox-addons/plugins</em>&#8216; :-</p>
<blockquote><p>sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins</p></blockquote>
<h2>How to install Skype 64 bit for Ubuntu 9.04</h2>
<p>You would think you could just go to www.skype.com and ask for a download and it&#8217;ll be like the Adobe site detecting that you have a 64 bit system right?  Wrong (at time of writing).  Annoyingly that&#8217;ll just let you download an i386 package!</p>
<p>You could manually remedy this by downloading the AMD64 .deb package from :-<br />
<a href="http://www.skype.com/go/getskype-linux-ubuntu-amd64" target="_blank">http://www.skype.com/go/getskype-linux-ubuntu-amd64</a></p>
<h2>Everything else?</h2>
<p>So far the respositories have been kind to me&#8230; but i&#8217;ll update if I run into any other troubles <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Voila happy 64 bit Ubuntu&#8217;ing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>MChumby &#8211; Interface Design</title>
		<link>http://www.madox.net/blog/2009/04/06/mchumby-interface-design/</link>
		<comments>http://www.madox.net/blog/2009/04/06/mchumby-interface-design/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 14:31:39 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Geany]]></category>
		<category><![CDATA[Gnash]]></category>
		<category><![CDATA[HaXe]]></category>
		<category><![CDATA[Mazda]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=278</guid>
		<description><![CDATA[Working a 70 hour week dampened my enthusiasm for the MChumby but I managed to scrape a couple of hours today to try my hand with HaXe + Flash to prototype the Chumby Interface. A few interesting tidbits were learned from the experiments :- HaXe + Geany are great for developing flash widgets for the [...]]]></description>
			<content:encoded><![CDATA[<p>Working a 70 hour week dampened my enthusiasm for the <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">MChumby</a> but I managed to scrape a couple of hours today to try my hand with <a href="http://www.haxe.org/" target="_blank">HaXe</a> + Flash to prototype the <a href="http://www.chumby.com/" target="_blank">Chumby</a> Interface.</p>
<div id="attachment_283" class="wp-caption aligncenter" style="width: 330px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-mchumbyswf-1.png"><img class="size-full wp-image-283" title="screenshot-mchumbyswf-1" src="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-mchumbyswf-1.png" alt="Test of revised layout" width="320" height="265" /></a><p class="wp-caption-text">Test of revised layout</p></div>
<p>A few interesting tidbits were learned from the experiments :-</p>
<ol>
<li>HaXe + Geany are great for developing flash widgets for the Chumby</li>
<li>Gnash doesn&#8217;t render the same as Linux Adobe Flash</li>
<li>Chumby renders the same as Adobe Flash</li>
<li>Text vertical alignment in flash is crap</li>
</ol>
<p>A bit of background and a demo video of the widget on the Chumby after the break.</p>
<p><span id="more-278"></span></p>
<p>The <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">last post</a> describes my resurrection of a two year old project.  Here&#8217;s a super short summary with many pictures, photos and videos!</p>
<h2>The original layout</h2>
<div id="attachment_279" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/layout.png"><img class="size-medium wp-image-279" title="layout" src="http://www.madox.net/blog/wp-content/uploads/2009/04/layout-450x249.png" alt="Original concept layout..." width="450" height="249" /></a><p class="wp-caption-text">Original concept layout...</p></div>
<h2>Original layout prototyped</h2>
<div id="attachment_282" class="wp-caption aligncenter" style="width: 330px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-file-home-madox-mchumby-mchumbyswf.png"><img class="size-full wp-image-282" title="screenshot-file-home-madox-mchumby-mchumbyswf" src="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-file-home-madox-mchumby-mchumbyswf.png" alt="Test of original layout" width="320" height="265" /></a><p class="wp-caption-text">Test of original layout</p></div>
<p>I thought the speed gauge didn&#8217;t look too bad but I got convinced by a friend to redesign the layout.  Plus I really didn&#8217;t know why I needed a song name on the display or the blinker indicators&#8230;</p>
<h2>The revised layout</h2>
<div class="mceTemp mceIEcenter" style="text-align: left;">
<dl id="attachment_280" class="wp-caption aligncenter" style="width: 330px;">
<dt class="wp-caption-dt"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/layout2.png"><img class="size-full wp-image-280" title="layout2" src="http://www.madox.net/blog/wp-content/uploads/2009/04/layout2.png" alt="Revised layout" width="320" height="240" /></a></dt>
</dl>
<p>Revised layout legend/summary :-</p>
<ul style="text-align: left;">
<li>The speed gauge is the outer display.</li>
<li>The arcs are for the tachometer and accelerator position.</li>
<li>The yellow bar is like a fuel remaining indicator</li>
<li>Red boxes are for the transmission (mode/gear)</li>
<li>The cyan box is for a graph of&#8230; don&#8217;t know yet.  Speed graph? Fuel economy graph? Any suggestions?</li>
</ul>
</div>
<h2>Gah Gnash vs Adobe Flash</h2>
<p>I&#8217;ve been using Geany to write the HaXe code for this and it is pretty easy to link it in with Gnash to view the resultant Flash when compiling/executing.  So all it all it seemed like a good package for flash development until I realised Gnash doesn&#8217;t render quite the same as Adobe&#8230; (&#8220;Gah&#8221; is my sign of exasperation that Gnash renders the flash differently&#8230;).</p>
<p>That&#8217;s not the important bit&#8230;the important bit is that it doesn&#8217;t render like the Chumby either!!!  ARGH.  (P.S. The fault is with Gnash rendering textfields vertically centered whereas flash render&#8217;s them top aligned, easy enough to fix&#8230;)</p>
<div id="attachment_281" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot.png"><img class="size-medium wp-image-281" title="screenshot" src="http://www.madox.net/blog/wp-content/uploads/2009/04/screenshot-450x221.png" alt="Gnash vs Flash player in Ubuntu" width="450" height="221" /></a><p class="wp-caption-text">Gnash vs Flash player in Ubuntu</p></div>
<h2>
<p><div id="attachment_286" class="wp-caption aligncenter" style="width: 410px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/04/chumbygnashflash.jpg"><img class="size-medium wp-image-286" title="chumbygnashflash" src="http://www.madox.net/blog/wp-content/uploads/2009/04/chumbygnashflash-400x300.jpg" alt="Chumby vs Gnash vs Linux Flash" width="400" height="300" /></a><p class="wp-caption-text">Chumby vs Gnash vs Linux Flash</p></div></h2>
<h2>Chumby gesture interface test video</h2>
<p style="text-align: center;"><object classid="clsid:166b1bca-3f9c-11cf-8075-444553540000" width="320" height="240" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0"><param name="sound" value="true" /><param name="progress" value="true" /><param name="autostart" value="true" /><param name="swstretchstyle" value="none" /><param name="swstretchhalign" value="none" /><param name="swstretchvalign" value="none" /><param name="src" value="http://www.madox.net/blog/wp-content/uploads/2009/04/chumbydemo.flv" /><embed type="application/x-director" width="320" height="240" src="http://www.madox.net/blog/wp-content/uploads/2009/04/chumbydemo.flv" swstretchvalign="none" swstretchhalign="none" swstretchstyle="none" swliveconnect="false" autostart="true" progress="true" sound="true"></embed></object></p>
<p style="text-align: left;">Works pretty well I have to say <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/04/06/mchumby-interface-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling a toolchain for ARM7 under Ubuntu</title>
		<link>http://www.madox.net/blog/2008/11/26/compiling-a-toolchain-for-arm7-under-ubuntu/</link>
		<comments>http://www.madox.net/blog/2008/11/26/compiling-a-toolchain-for-arm7-under-ubuntu/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 22:55:35 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[Crosscompiling]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=54</guid>
		<description><![CDATA[Well this chronicles my first attempt at compiling a toolchain for programming ARM&#8217;s in ELF code. Why do I need a toolchain for programming ARMs? I found a LPC2378-STK development board in my room I want to give ARM programming a try (PS WinAVR is great for programming AVRs) I found I have some spare [...]]]></description>
			<content:encoded><![CDATA[<p>Well this chronicles my first attempt at compiling a toolchain for programming ARM&#8217;s in ELF code.</p>
<p>Why do I need a toolchain for programming ARMs?</p>
<ol>
<li>I found a <a href="http://www.google.com.au/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.olimex.com%2Fdev%2Flpc-2378stk.html&amp;ei=2XYsSdLNB5S48ATzw_26BA&amp;usg=AFQjCNEMrqCur9EzTwEAWo7Xr2y93wepgw&amp;sig2=484jqe6-NCOgdYedM5Yd7Q" target="_blank">LPC2378-STK development board</a> in my room</li>
<li>I want to give ARM programming a try (PS WinAVR is great for programming AVRs)</li>
<li>I found I have some spare ARM7 LPC2378&#8242;s lying around (WTF?) and thought I&#8217;ll actually complete my Chumby Speedometer on my car project!</li>
</ol>
<p><span id="more-54"></span>The compile process should be pretty straight forward, but I made a few stuffup&#8217;s along the way.</p>
<ul>
<li>I had originally wanted to keep it neat and install to a new directory, then the PATH annoyance thing hit me.  Setting the path under my user shell didn&#8217;t carry over when using sudo which is required to make install.  Solved using <em>sudo -s</em>, but then in the end i just redid it all and installed to <em>/usr/local/</em>.</li>
<li>Realised (should have known) that you need &#8216;GMP&#8217; and &#8216;MPFR&#8217; to compile GCC.  Available as packages <em>libgmp3-dev</em> and<em> libmpfr-dev</em> in Ubuntu.</li>
<li>Did my usual of forgetting to set up the prefix install location when configuring&#8230;minor boo boo</li>
</ul>
<h2>Setting it all up</h2>
<p>Install any packages you need&#8230; <em>build-essential</em> is probably essential&#8230; GMP and MPFR could be got by using</p>
<blockquote><p>sudo apt-get install libgmp3-dev libmpfr-dev</p></blockquote>
<p>Set-up some directories&#8230;I opted to use create an &#8216;arm-elf&#8217; directory in my home to hold both the source and build directories&#8230;</p>
<blockquote><p>cd ~<br />
mkdir arm-elf arm-elf/src<br />
cd ~/arm-elf/src</p></blockquote>
<h3>Get the latest sources&#8230;</h3>
<p>Get the latest sources for <a href="http://www.gnu.org/software/binutils/" target="_blank">binutils</a>, <a href="http://gcc.gnu.org/" target="_blank">gcc</a>, <a href="http://sourceware.org/newlib/" target="_blank">newlib</a>, <a href="http://sources.redhat.com/insight/" target="_blank">insight</a> (click the links if you need).  The versions I used should be obvious from the filenames below.  Just be wary that the insight front page is not kept up to date but you&#8217;ll find the latest if you follow any of the release links anyway.</p>
<blockquote><p>wget http://ftp.gnu.org/gnu/binutils/binutils-2.19.tar.bz2<br />
wget http://gcc.releasenotes.org/releases/gcc-4.3.2/gcc-4.3.2.tar.bz2<br />
wget ftp://sources.redhat.com/pub/newlib/newlib-1.16.0.tar.gz<br />
wget ftp://sourceware.org/pub/insight/releases/insight-6.8.tar.bz2</p></blockquote>
<h3>Unpack the sources&#8230;</h3>
<blockquote><p>tar -xvjf binutils-2.19.tar.bz2<br />
tar -xvjf gcc-4.3.2.tar.bz2<br />
tar -xvzf newlib-1.16.0.tar.gz<br />
tar -xvjf insight-6.8.tar.bz2</p></blockquote>
<h3>Tweak the gcc source config&#8230;</h3>
<p>Make a minor config tweak to the gcc source.  Edit gcc-4.3.2/gcc/config/arm/t-arm-elf and append <em>mno-thumb-interwork/mthumb-interwork</em> after MULTILIB_OPTIONS and <em>normal interwork</em> after MULTILIB_DIRNAMES.  I used nano, see the screenshot below if I haven&#8217;t been too clear <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-madoxmadox-laptop-armelf-src-gcc-432-gcc-config-arm.png"><img class="aligncenter size-full wp-image-55" title="src-gcc-432-gcc-config-arm" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-madoxmadox-laptop-armelf-src-gcc-432-gcc-config-arm.png" alt="" width="500" height="331" /></a></p>
<blockquote><p>nano ~/arm-elf/src/gcc-4.3.2/gcc/config/arm/t-arm-elf</p></blockquote>
<h3>Start building with fingers crossed&#8230;</h3>
<p>Now we can start building the toolchain.  Note my prefix is <em>/usr/local</em>.  First off binutils!</p>
<blockquote><p>cd ~/arm-elf/<br />
mkdir build build/binutils-2.19 build/insight-6.8 build/gcc-4.3.2 build/newlib-1.16.0</p>
<p>cd ~/arm-elf/build/binutils-2.19<br />
~/arm-elf/src/binutils-2.19/configure &#8211;target=arm-elf &#8211;prefix=/usr/local &#8211;enable-interwork &#8211;enable-multilib &#8211;with-float=soft &#8211;disable-werror<br />
sudo make all install</p></blockquote>
<p>Next just the gcc part of gcc&#8230;note we configure the newlib src headers here&#8230;</p>
<blockquote><p>cd ~/arm-elf/build/gcc-4.3.2<br />
~/arm-elf/src/gcc-4.3.2/configure &#8211;target=arm-elf &#8211;prefix=/usr/local &#8211;enable-interwork &#8211;enable-multilib &#8211;with-float=soft &#8211;disable-werror &#8211;enable-languages=&#8221;c,c++&#8221; &#8211;with-newlib  &#8211;with-headers=~/arm-elf/src/newlib-1.16.0/newlib/libc/include<br />
sudo make all-gcc install-gcc</p></blockquote>
<p>Now newlib&#8230;</p>
<blockquote><p>cd ~/arm-elf/build/newlib-1.16.0<br />
~/arm-elf/src/newlib-1.16.0/configure &#8211;target=arm-elf &#8211;prefix=/usr/local &#8211;enable-interwork &#8211;enable-multilib &#8211;with-float=soft &#8211;disable-werror<br />
sudo make all install</p></blockquote>
<p>Coming back for the rest off gcc (needed newlib)</p>
<blockquote><p>cd ~/arm-elf/build/gcc-4.3.2<br />
sudo make all install</p></blockquote>
<p>&#8230;and finally insight gdb</p>
<blockquote><p>cd ~/arm-elf/build/insight-6.8<br />
~/arm-elf/src/insight-6.8/configure &#8211;target=arm-elf &#8211;prefix=/usr/local &#8211;enable-interwork &#8211;enable-multilib &#8211;with-float=soft &#8211;disable-werror<br />
sudo make all install</p></blockquote>
<p>Voila done!  I should now have all my arm-elf tools!  Just a check&#8230;</p>
<blockquote>
<pre>madox@madox-laptop:/usr/local/bin$ ls arm*
arm-elf-addr2line  arm-elf-gcc        arm-elf-insight  arm-elf-run
arm-elf-ar         arm-elf-gcc-4.3.2  arm-elf-ld       arm-elf-size
arm-elf-as         arm-elf-gccbug     arm-elf-nm       arm-elf-strings
arm-elf-c++        arm-elf-gcov       arm-elf-objcopy  arm-elf-strip
arm-elf-c++filt    arm-elf-gdb        arm-elf-objdump
arm-elf-cpp        arm-elf-gdbtui     arm-elf-ranlib
arm-elf-g++        arm-elf-gprof      arm-elf-readelf</pre>
</blockquote>
<p>Yup all there and runs <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Now the search for the LPC header files&#8230; argh</p>
<p>PS : If you copy and paste my commands, be wary of line breaks&#8230; I didn&#8217;t put \&#8217;s anywhere&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/26/compiling-a-toolchain-for-arm7-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to open Canon CR2 Raws in Ubuntu</title>
		<link>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/</link>
		<comments>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 13:21:28 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=45</guid>
		<description><![CDATA[Or more correctly, how to open Canon CR2 Raw Files for editing in Ubuntu using GIMP.  F-Spot the default image viewer in Ubuntu already allows you to open Canon CR2 Raw images for viewing. Gimp should come pre-installed with Ubuntu.  If you don&#8217;t have it installed for any reason (uninstalled?), install it using the command [...]]]></description>
			<content:encoded><![CDATA[<p>Or more correctly, how to open Canon CR2 Raw Files for editing in Ubuntu using <a href="http://www.gimp.org/" target="_blank">GIMP</a>.  F-Spot the default image viewer in Ubuntu already allows you to open Canon CR2 Raw images for viewing.</p>
<p><span id="more-45"></span></p>
<p>Gimp should come pre-installed with Ubuntu.  If you don&#8217;t have it installed for any reason (uninstalled?), install it using the command :</p>
<blockquote><p>sudo apt-get install gimp</p></blockquote>
<p>Next you need <a href="http://ufraw.sourceforge.net/" target="_blank">UFRaw</a> which is a utility to read and manipulate raw images from digital cameras.  Or in our case, it is better to use the GIMP UFRaw plugin.  Get it by using the command :</p>
<blockquote><p>sudo apt-get install gimp-ufraw</p></blockquote>
<p>Now wasn&#8217;t that easy?  Now all you need to do is simply right click on any .CR2 file, Select Open With &gt; Open With &#8220;Gimp Image Editor&#8221; and GIMP UFRaw dialog should appear like below.</p>
<div id="attachment_47" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/ufraw.png"><img class="size-medium wp-image-47" title="UFRaw Dialog" src="http://www.madox.net/blog/wp-content/uploads/2008/11/ufraw-300x173.png" alt="UFRaw Dialog" width="300" height="173" /></a><p class="wp-caption-text">UFRaw Dialog</p></div>
<p>I had to collapse some of the options to make the dialog appear on my small laptop (800 vertical pixel) screen, so if you can&#8217;t see the &#8220;OK&#8221; button don&#8217;t fret and resize the window.  There are a few options you can tweak with before you need to click &#8220;OK&#8221; as shown below.</p>
<div id="attachment_48" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader.png"><img class="size-medium wp-image-48" title="UFRaw Dialog Options" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-300x173.png" alt="UFRaw Dialog Options" width="300" height="173" /></a><p class="wp-caption-text">UFRaw Dialog Options</p></div>
<p>There&#8217;s crop options too&#8230; but wonder why the &#8216;usual&#8217; print aspects aren&#8217;t there <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<div id="attachment_49" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-1.png"><img class="size-medium wp-image-49" title="More UFRaw Options" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-1-300x173.png" alt="More UFRaw Options" width="300" height="173" /></a><p class="wp-caption-text">More UFRaw Options</p></div>
<p>And finally, the CR2 raw image makes its way into GIMP for glorious editing&#8230; I think I&#8217;ll add whiskers and cat&#8217;s ears to her face now&#8230;</p>
<div id="attachment_50" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-_mg_5724cr2-10-rgb-1-layer-3252x2602-e28093-gimp-1.png"><img class="size-medium wp-image-50" title="CR2 image opened in GIMP" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-_mg_5724cr2-10-rgb-1-layer-3252x2602-e28093-gimp-1-300x151.png" alt="CR2 image opened in GIMP" width="300" height="151" /></a><p class="wp-caption-text">CR2 image opened in GIMP</p></div>
<p>This post is dedicated to <a href="http://www.auandy.com/" target="_blank">Andy Au</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Cowsay?  Madoxsay!  Fun (or oh so wrong) things in Ubuntu&#8230;</title>
		<link>http://www.madox.net/blog/2008/11/19/cowsay-madoxsay-fun-or-oh-so-wrong-things-in-ubuntu/</link>
		<comments>http://www.madox.net/blog/2008/11/19/cowsay-madoxsay-fun-or-oh-so-wrong-things-in-ubuntu/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 11:51:43 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Cows]]></category>
		<category><![CDATA[Fun Software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=40</guid>
		<description><![CDATA[It started with a colleague walking by my desk today and asking me if I had &#8216;cowsays&#8217; installed on my machine, never having heard of it before he dared me to just try run it.  A short command not found and a subsequent apt-get install later&#8230; I didn&#8217;t know whether to burst out laughing or [...]]]></description>
			<content:encoded><![CDATA[<p>It started with a colleague walking by my desk today and asking me if I had &#8216;cowsays&#8217; installed on my machine, never having heard of it before he dared me to just try run it.  A short command not found and a subsequent apt-get install later&#8230; I didn&#8217;t know whether to burst out laughing or slap my forehead.</p>
<blockquote>
<pre> ________________________________________
/ This is a very very useful and         \
| productive program available in Ubuntu |
\ and other Debian distributions...      /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||</pre>
</blockquote>
<p><span id="more-40"></span></p>
<p>I actually found a legitimate use for it!  It just happened that I was supposed to get a thermal printer to work over a RS232 RS485 converter over a Ethernet link all powered from 24V powered by an isolated 110V-24V converter which was fed by 240V&#8230;. Yup&#8230; Cowsay was the perfect print test material!</p>
<p>How do you get it?</p>
<blockquote><p>sudo apt-get install cowsay</p></blockquote>
<p>Usage is pretty self explanatory and the man page, but one nifty feature is that you can replace the cow with a library of animals using the &#8216;<em>-f</em>&#8216; option.  The list of animals is stored in (for <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> anyway) in <em>/usr/share/cowsay/cows/</em></p>
<p>List of animals&#8230;</p>
<blockquote>
<pre>madox@madox-laptop:~$ ls /usr/share/cowsay/cows/
apt.cow             elephant-in-snake.cow  milk.cow             supermilker.cow
beavis.zen.cow      eyes.cow               moofasa.cow          surgery.cow
bong.cow            flaming-sheep.cow      moose.cow            telebears.cow
bud-frogs.cow       ghostbusters.cow       mutilated.cow        three-eyes.cow
bunny.cow           head-in.cow            ren.cow              turkey.cow
cheese.cow          hellokitty.cow         satanic.cow          turtle.cow
cower.cow           kiss.cow               sheep.cow            tux.cow
daemon.cow          kitty.cow              skeleton.cow         udder.cow
default.cow         koala.cow              small.cow            vader.cow
dragon-and-cow.cow  kosh.cow               sodomized.cow        vader-koala.cow
dragon.cow          luke-koala.cow         sodomized-sheep.cow  www.cow
duck.cow            mech-and-cow.cow       stegosaurus.cow
elephant.cow        meow.cow               stimpy.cow</pre>
</blockquote>
<p>Now you simply use it by typing the following command</p>
<blockquote><p>cowsay -f animal whatyouwanttheanimaltosayhere</p></blockquote>
<p>The perfect case of a <strong>bad</strong> example&#8230;</p>
<blockquote>
<pre>madox@madox-laptop:~$ cowsay -f sodomized WTF? This is sooo wrong...
 ____________________________
&lt; WTF? This is sooo wrong... &gt;
 ----------------------------
      \                _
       \              (_)
        \   ^__^       / \
         \  (oo)\_____/_\ \
            (__)\       ) /
                ||----w ((
                ||     ||&gt;&gt;</pre>
</blockquote>
<p>Ok&#8230;maybe not so fun&#8230;but other more sane selections exist!  Tweaks on the animal eyes and more if you explore the man pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/19/cowsay-madoxsay-fun-or-oh-so-wrong-things-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Java not working on Firefox 3.0.4 in Ubuntu 8.10 Intrepid Ibex?</title>
		<link>http://www.madox.net/blog/2008/11/19/java-not-working-on-firefox-304-in-ubuntu-810-intrepid-ibex/</link>
		<comments>http://www.madox.net/blog/2008/11/19/java-not-working-on-firefox-304-in-ubuntu-810-intrepid-ibex/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 14:26:12 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=32</guid>
		<description><![CDATA[Well it was just nagging me, and for anyone who runs into this problem here&#8217;s the solution (to the ever moving Firefox path problem) cd /usr/lib/firefox-3.0.4/plugins sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so Assuming you already had the sun-java packages (anyway if not just get it).]]></description>
			<content:encoded><![CDATA[<p>Well it was just nagging me, and for anyone who runs into this problem here&#8217;s the solution (to the ever moving Firefox path problem)</p>
<blockquote><p>cd /usr/lib/firefox-3.0.4/plugins</p>
<p>sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so</p></blockquote>
<p>Assuming you already had the sun-java packages (anyway if not just get it).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/19/java-not-working-on-firefox-304-in-ubuntu-810-intrepid-ibex/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

