<?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>Newsyland Blog &#187; Original</title>
	<atom:link href="http://blog.newsyland.com/category/original/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.newsyland.com</link>
	<description>tail -f /dev/brain &#62;&#62; blog.newsyland.com</description>
	<lastBuildDate>Thu, 11 Aug 2011 19:56:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Switched to WebFaction hosting and LightWord theme</title>
		<link>http://blog.newsyland.com/original/switched-to-webfaction-and-lig</link>
		<comments>http://blog.newsyland.com/original/switched-to-webfaction-and-lig#comments</comments>
		<pubDate>Wed, 07 Jul 2010 19:51:45 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=167</guid>
		<description><![CDATA[Because 1and1 are asses when it comes to allowing SMTP (and other things), I switched my blog over to the WONDERFUL WebFaction hosting service. I also gave the blog a needed facelift with the LightWord theme.]]></description>
			<content:encoded><![CDATA[<p>Because <a href="http://www.1and1.com/?k_id=8170161">1and1</a> are asses when it comes to allowing SMTP (and other things), I switched my blog over to the WONDERFUL <a href="http://www.webfaction.com?affiliate=kirkireson">WebFaction</a> hosting service. I also gave the blog a needed facelift with the <a href="http://www.andrei-webdesign.com/">LightWord</a> theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/original/switched-to-webfaction-and-lig/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silencing Frigidaire mini in-window compact room Air Conditioner Model FAA065P7A</title>
		<link>http://blog.newsyland.com/original/silencing-frigidaire-mini-in-window-compact-room-air-conditioner-model-faa065p7a</link>
		<comments>http://blog.newsyland.com/original/silencing-frigidaire-mini-in-window-compact-room-air-conditioner-model-faa065p7a#comments</comments>
		<pubDate>Thu, 10 Jun 2010 17:51:04 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=144</guid>
		<description><![CDATA[Instructions on Silencing Frigidaire Mini In-Window Compact Room Air Conditioner Model FAA065P7A &#8211; 6000 BTU MSII If you look at reviews for this otherwise nice, small A/C unit, you&#8217;ll see lots of people complaining about a loud beep every time &#8230; <a href="http://blog.newsyland.com/original/silencing-frigidaire-mini-in-window-compact-room-air-conditioner-model-faa065p7a">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Instructions on Silencing Frigidaire Mini In-Window Compact Room Air Conditioner Model FAA065P7A &#8211; 6000 BTU MSII </h3>
<p>If you look at reviews for this otherwise nice, small A/C unit, you&#8217;ll see lots of people <a href="http://www.newegg.com/Product/ProductReview.aspx?Item=N82E16896767777">complaining</a> about a <a href="http://www.amazon.com/a/product-reviews/B000Q7K64M">loud beep</a> every time you press a button on the unit or the remote (e.g. changing fan speed or temperature). It&#8217;s a high pitched, noisy, piercing, annoyingly loud beep, which wakes spouses and babies. I know of no way to disable or turn off this &#8220;feature&#8221;. I looked for a wiring diagram and didn&#8217;t find anything promising, so I decided to slightly disassemble the unit and hope to find a speaker. I wound up fixing it and here&#8217;s how you can to!:</p>
<p><b>Tools required:</b><br />
<a href="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7948.jpg"><img src="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7948.jpg" alt="" title="tools needed" width="518" height="388" class="size-full wp-image-135" /></a></p>
<ul>
<li>Phillips screwdriver</li>
<li>Flathead screwdriver</li>
<li>Glue (I used a glue stick)</li>
</ul>
<p><b>Time required:</b> about 10-15 minutes</p>
<p><b>Skills required:</b> Basic Handyman.  Having said that, here&#8217;s my disclaimer: Only skilled, certified electricians should attempt to fix electronic equipment.  These units may contain capacitors which hold electric charge. Do not touch any of the electronics. I am absolutely not responsible for loss of property or person, damage to this unit or your cat, accuracy of these instructions, nor do I guarantee that this will even work.  Opening this unit may void the warranty.</p>
<p><b>Steps:</b></p>
<ol>
<li>UNPLUG THE UNIT!</li>
<li>Swing open the front vent like you&#8217;re going to change/clean the filter and then gently and slowly swing open further to pop the two bottom hinges until it comes off. Set it and the filter aside.
<p><div id="attachment_136" class="wp-caption alignnone" style="width: 410px"><a href="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7950.jpg"><img src="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7950.jpg" alt="" title="swing open vent" width="400" height="300" class="size-full wp-image-136" /></a><p class="wp-caption-text">( First swing open, then remove vent )</p></div>
</li>
<li>Remove 3 large screws and set aside (be careful not to brush anything up against the fragile aluminum vents).<br />
<div id="attachment_137" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7951.jpg"><img src="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7951-300x225.jpg" alt="" title="3 screws location" width="300" height="225" class="size-medium wp-image-137" /></a><p class="wp-caption-text">( Location of the 3 screws to be removed for removal of outer plastic ring )</p></div>
</li>
<li>Remove 4 (there may only be 3) small screws around the control panel and set aside.<br />
<div id="attachment_139" class="wp-caption alignnone" style="width: 209px"><a href="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7954.jpg"><img src="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7954-199x300.jpg" alt="" title="3 or 4 screws location" width="199" height="300" class="size-medium wp-image-139" /></a><p class="wp-caption-text">( Location of the 3 (or 4) small screws needed to remove the control panel )</p></div>
</li>
<li>Pop off the outer plastic front piece which has the top vents attached. Do this by gently inserting a flathead screwdriver from the inside into the slot about half-way down on the right side until that side comes off. Repeat for the left side. Then, the trick is to try and gently pull this outer plastic piece up (there are two tabs along the top like there were on each side). Be careful as there is a wire which attaches this piece to the rest of the unit, so orient it so that you don&#8217;t put any tension on this wire.<br />
<div id="attachment_138" class="wp-caption alignnone" style="width: 235px"><a href="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7952.jpg"><img src="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7952-225x300.jpg" alt="" title="tab to push" width="225" height="300" class="size-medium wp-image-138" /></a><p class="wp-caption-text">( From along the inside, press tab with screwdriver to assist in removal of outer plastic ring )</p></div><br />
<div id="attachment_140" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7955.jpg"><img src="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7955-300x225.jpg" alt="plastic ring removed" title="front plastic ring removed" width="300" height="225" class="size-medium wp-image-140" /></a><p class="wp-caption-text">( Set plastic ring gently aside -- there's a wire connected to it )</p></div>
</li>
<li>Remove 3 screws (there may only be 2) which were behind the control panel and set aside.<br />
<div id="attachment_141" class="wp-caption alignnone" style="width: 234px"><a href="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7956.jpg"><img src="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7956-224x300.jpg" alt="" title="screw locations" width="224" height="300" class="size-medium wp-image-141" /></a><p class="wp-caption-text">( 2 (or 3) screws to remove from electronics plate )</p></div>
</li>
<li>Lift slightly (there are two hooks along the right edge) and carefully pull out this plate with attached electronics only far enough so that you can see and can just access to the small, black cylinder (about the size of an Altoid mint). This is the PCB mounted speaker.<br />
<div id="attachment_143" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7957.jpg"><img src="http://blog.newsyland.com/wp-content/uploads/2010/06/IMG_7957-300x253.jpg" alt="Top view of Speaker" title="speaker hole" width="300" height="253" class="size-medium wp-image-143" /></a><p class="wp-caption-text">( View of the hole to plug with glue (looking down) )</p></div>
</li>
<li>Take your glue and make a small (about the size of a grain of rice) ball and place on the end of your flathead screwdriver.</li>
<li>Carefully use the screwdriver to apply the glue ball to fill the hole which is at the center of this piece (don&#8217;t get glue on anything else).  Be sure to pack enough in the hole to muffle the sound (about 2 grains of rice worth). You can also use an unfolded paperclip to help push the glue inside the hole and to damage the diaphragm which makes the noise.</li>
<li>Now, carefully reassemble the unit in the reverse order.</li>
</ol>
<p><b>NOTES:</b></p>
<ul>
<li>I would not test your success until you have at least the two electronic panels securely screwed back into place.</li>
<li>For my three attempts at this, one now makes no beep, one left the beep barely audible and the other reduced the volume by half.</li>
<li>I did all this while my units were installed in windows.</li>
<li>If not obvious, this is basically irreversible.</li>
<li>This also works on model # FAA055P7A and may work on these model #s: FAA084P7A, FAC124P1A, FAA086P7A, FAA064P7A and FAC104P1A.</li>
</ul>
<p>Good Luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/original/silencing-frigidaire-mini-in-window-compact-room-air-conditioner-model-faa065p7a/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Skydrive is kinda featureless&#8230;</title>
		<link>http://blog.newsyland.com/original/skydrive-is-kinda-featureless</link>
		<comments>http://blog.newsyland.com/original/skydrive-is-kinda-featureless#comments</comments>
		<pubDate>Wed, 12 May 2010 16:55:21 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=117</guid>
		<description><![CDATA[Micro$oft&#8217;s latest addition of editing online docs to compete directly with Google is great, just check it out: Edit, 05 June, 2010: Wow, just wow, it&#8217;s been 3 weeks and it still looks like that. Stay classy Microsoft.]]></description>
			<content:encoded><![CDATA[<p>Micro$oft&#8217;s latest addition of editing online docs to compete directly with Google is great, just check it out:</p>
<p><a href="http://blog.newsyland.com/wp-content/uploads/2010/05/skydrive.png"><img src="http://blog.newsyland.com/wp-content/uploads/2010/05/skydrive-300x46.png" alt="" title="skydrive" width="300" height="46" class="alignnone size-medium wp-image-122" /></a></p>
<p>Edit, 05 June, 2010:<br />
Wow, just wow, it&#8217;s been 3 weeks and it <b>still</b> looks like that. Stay classy Microsoft.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/original/skydrive-is-kinda-featureless/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Hookup two wireless routers</title>
		<link>http://blog.newsyland.com/original/howto-hookup-two-wireless-routers</link>
		<comments>http://blog.newsyland.com/original/howto-hookup-two-wireless-routers#comments</comments>
		<pubDate>Tue, 01 Sep 2009 03:55:09 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=97</guid>
		<description><![CDATA[I have an Apple Airport Extreme wireless router. Because I have an iPhone (it can&#8217;t connect via 802.11n), I had to have my Airport Radio Mode set to &#8220;802.11n (802.11b/g compatible)&#8221;, which means when the iPhone was connected (and maybe &#8230; <a href="http://blog.newsyland.com/original/howto-hookup-two-wireless-routers">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have an Apple Airport Extreme wireless router.  Because I have an iPhone (it can&#8217;t connect via 802.11n), I had to have my Airport Radio Mode set to &#8220;802.11n (802.11b/g compatible)&#8221;, which means when the iPhone was connected (and maybe at other times) the Airport was broadcasting at the slower b/g protocol speeds.  Well, I also have a spare Linksys WRT54G v2.0 wireless router.  So, I flashed it with <a href="http://www.dd-wrt.com">dd-wrt</a> firmware, and following <a href="http://www.dd-wrt.com/wiki/index.php/Wireless_Access_Point">these instructions</a> I&#8217;ve configured the Linksys as a Wireless Access Point (WAP) and connected an ethernet cable from one of its LAN ports to a LAN port on the Airport (serving as the &#8220;main router&#8221;). I now have a 802.11g router (Linksys) for my iPhone to connect to, and my Airport&#8217;s Radio Mode is now set to &#8220;802.11n (5 GHz)&#8221; for my Macbook Pro and Macbook to connect to at their fastest speeds. Goodness.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/original/howto-hookup-two-wireless-routers/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Get rid of that annoying dashed line around objects when clicking in Firefox</title>
		<link>http://blog.newsyland.com/firefox/get-rid-of-that-annoying-dashed-line-around-objects-when-clicking-in-firefox</link>
		<comments>http://blog.newsyland.com/firefox/get-rid-of-that-annoying-dashed-line-around-objects-when-clicking-in-firefox#comments</comments>
		<pubDate>Mon, 09 Mar 2009 06:09:13 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=56</guid>
		<description><![CDATA[How to get rid of that annoying dashed line around objects when clicking in Firefox: In the url Location Bar, type &#8216;about:config&#8217;. Then in the filter box, type &#8216;browser.display.focus_ring_width&#8217;. Set its value from 1 to 0.]]></description>
			<content:encoded><![CDATA[<p>How to get rid of that annoying dashed line around objects when clicking in Firefox:<br />
<img src="http://blog.newsyland.com/wp-content/uploads/2009/03/firefox_dashed_line_when_clicking.png" alt="Dashed line when clicking in Firefox" title="firefox_dashed_line_when_clicking" width="153" height="52" class="size-full wp-image-57" /><br />
In the url Location Bar, type &#8216;about:config&#8217;.<br />
Then in the filter box, type &#8216;browser.display.focus_ring_width&#8217;.<br />
Set its value from 1 to 0.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/firefox/get-rid-of-that-annoying-dashed-line-around-objects-when-clicking-in-firefox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tolstrup.us</title>
		<link>http://blog.newsyland.com/original/tolstrup</link>
		<comments>http://blog.newsyland.com/original/tolstrup#comments</comments>
		<pubDate>Fri, 06 Mar 2009 06:15:37 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=53</guid>
		<description><![CDATA[Shameless plug for the writings of my grandfather, Arthur Tolstrup, at http://tolstrup.us. You&#8217;ll find stories and pictures of him growing up in the midwest in the early part of the 20th century.]]></description>
			<content:encoded><![CDATA[<p>Shameless plug for the writings of my grandfather, <a href="http://tolstrup.us">Arthur Tolstrup</a>, at <a href="http://tolstrup.us">http://tolstrup.us</a>. You&#8217;ll find stories and <a href="http://tolstrup.us/pictures">pictures</a> of him growing up in the midwest in the early part of the 20th century.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/original/tolstrup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to handle deleting trash in Thunderbird when using IMAP Gmail</title>
		<link>http://blog.newsyland.com/mac-os-x/how-to-handle-deleting-trash-in-thunderbird-when-using-imap-gmail</link>
		<comments>http://blog.newsyland.com/mac-os-x/how-to-handle-deleting-trash-in-thunderbird-when-using-imap-gmail#comments</comments>
		<pubDate>Wed, 15 Oct 2008 20:11:35 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=38</guid>
		<description><![CDATA[The Google team about a year ago added IMAP services to gmail. This is a great way to be able to manage your mail from several different places (e.g. client software at work, and web based gmail page on the &#8230; <a href="http://blog.newsyland.com/mac-os-x/how-to-handle-deleting-trash-in-thunderbird-when-using-imap-gmail">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Google team <a href="http://gmailblog.blogspot.com/2007/10/sync-your-inbox-across-devices-with.html">about a year ago</a> added <a title="IMAP config" href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=78892">IMAP services to gmail</a>. This is a great way to be able to manage your mail from several different places (e.g. client software at work, and web based gmail page on the road) and have everything automatically be in sync.</p>
<p>I&#8217;m also a big fan of the open source <a href="http://www.mozilla.com/thunderbird/">Thunderbird</a> email client. But there is one annoying thing using these two together: when you have a message selected and press &#8216;delete&#8217;, normally this sends the message to Thunderbird&#8217;s trash (which completely removes it from Gmail), but in this case, you want to send it to Gmail&#8217;s trash.</p>
<p>There was a configuration setting you could try, to send the message to [Gmail]/Trash, but Google doesn&#8217;t recommend it (see &#8216;UPDATE 2, Nov 8th&#8217; <a href="http://lifehacker.com/software/geek-to-live/turn-thunderbird-into-the-ultimate-gmail-imap-client-314574.php">here</a>). Instead you are supposed to move (e.g. drag-and-drop) the message to the [Gmail]/Trash folder manually.  Well, that&#8217;s not too convenient when you have a lot of folders. So, what I&#8217;ve found is an add-on <a href="https://addons.mozilla.org/en-US/thunderbird/addon/3254">QuickFolders</a> which will easily make a shortcut to that folder (and others) so that you can more easily drag-n-drop to send that message to gmail&#8217;s &#8216;Trash&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/how-to-handle-deleting-trash-in-thunderbird-when-using-imap-gmail/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>libtiff error in Matlab when attempting to use ImageMagick</title>
		<link>http://blog.newsyland.com/mac-os-x/libtiff-error-in-matlab-when-attempting-to-use-imagemagick</link>
		<comments>http://blog.newsyland.com/mac-os-x/libtiff-error-in-matlab-when-attempting-to-use-imagemagick#comments</comments>
		<pubDate>Sat, 06 Sep 2008 19:20:46 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/?p=15</guid>
		<description><![CDATA[Trying to use the Imagemagick toolbox (for me, installed via MacPorts) sometimes doesn&#8217;t work (for example, converting a png image) in Matlab because Matlab for some reason uses the libraries in its path over those given in system call (this is &#8230; <a href="http://blog.newsyland.com/mac-os-x/libtiff-error-in-matlab-when-attempting-to-use-imagemagick">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Trying to use the <a title="imagemagick.org homepage" href="http://www.imagemagick.org/">Imagemagick</a> toolbox (for me, installed via <a href="http://www.macports.org/">MacPorts</a>) sometimes doesn&#8217;t work (for example, converting a png image) in Matlab because Matlab for some reason uses the libraries in its path over those given in <a title="System Call" href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/system.html">system</a> call (this is for Mac, but probably for *nix and maybe even Windows).</p>
<p>This is an example call:</p>
<p class="code">[s,w] = system([IMAGEMAGICK_PATH,'convert ',pwd,'/',outfile,'.png -rotate 90 ',pwd,'/',outfile,'.png']);</p>
<p>This is the error:</p>
<p class="code">error:<br />
dyld: Library not loaded: /opt/local/lib/libtiff.3.dylib<br />
Referenced from: /opt/local/bin/convert<br />
Reason: Incompatible library version: convert requires version 12.0.0 or later, but libtiff.3.dylib provides version 11.0.0</p>
<p>The work around is to replace the Matlab library with the ImageMagick one (only need to do this once and will stay until you upgrade Matlab):</p>
<p class="code">cd /Applications/MATLAB74/bin/maci/   (or wherever your Matlab is installed)<br />
mv libtiff.3.7.1.dylib  libtiff.3.7.1.dylib.MATLAB  (give it a different name)<br />
ln -s /opt/local/lib/libtiff.3.dylib libtiff.3.7.1.dylib  (create a soft link to the Imagemagick library file)</p>
<p class="code">
<p><strong>EDIT: This is the much better way to handle this</strong>:</p>
<p class="code">
setenv(&#8216;DYLD_LIBRARY_PATH&#8217;,['/opt/local/lib/:' getenv('DYLD_LIBRARY_PATH')])</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/libtiff-error-in-matlab-when-attempting-to-use-imagemagick/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Serial Port communications on Mac via Matlab</title>
		<link>http://blog.newsyland.com/mac-os-x/serial-port-communications-on-mac-via-matlab</link>
		<comments>http://blog.newsyland.com/mac-os-x/serial-port-communications-on-mac-via-matlab#comments</comments>
		<pubDate>Tue, 18 Mar 2008 00:31:12 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/uncategorized/serial-port-communications-on-mac-via-matlab</guid>
		<description><![CDATA[I have a rev B (Core 2 Duo from Dec, 2006) Apple MacBook Pro laptop running Leopard OS X (version 10.5.2) and have Matlab version 7.5.0.338 (R2007b). I&#8217;ve just found that I can NOT use the built-in serial port object, &#8230; <a href="http://blog.newsyland.com/mac-os-x/serial-port-communications-on-mac-via-matlab">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have a rev B (Core 2 Duo from Dec, 2006) Apple MacBook Pro laptop running Leopard OS X (version 10.5.2) and have Matlab version 7.5.0.338 (R2007b). I&#8217;ve just found that I can NOT use the built-in serial port object, instead, I get the following error:</p>
<p class="code"> java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver<br />
??? Error using ==&gt; serial.serial at 57<br />
The serial port object is supported on the Solaris, 32-bit Windows and 32-bit Linux platforms only.</p>
<p>So, to get it successfully working, I downloaded these files: SerialComm.m, SerialComm.mexmac and SerialComm.mexmaci from <a href="http://svn.berlios.de/svnroot/repos/osxptb/stable/Psychtoolbox/PsychHardware/">http://svn.berlios.de/svnroot/repos/osxptb/stable/Psychtoolbox/PsychHardware/</a>.</p>
<p>You can then use code like this:</p>
<p class="code"> PORT = 1;<br />
% close (if previously open)<br />
SerialComm( &#8216;close&#8217;, PORT)<br />
% open<br />
SerialComm(&#8216;open&#8217;,PORT,&#8217;9600,n,8,1&#8242;)<br />
% flush the buffers<br />
SerialComm( &#8216;purge&#8217;, PORT)<br />
% status<br />
SerialComm( &#8216;status&#8217;, PORT)<br />
% read<br />
STR = SerialComm( &#8216;readl&#8217;, PORT);<br />
% close<br />
SerialComm( &#8216;close&#8217;, PORT)</p>
<p><strong>[UPDATE 02 Apr, 2008]</strong>: Note, this same code didn&#8217;t seem to work on a recently purchased Macbook.  Good luck.</p>
<p><strong>[UPDATE 27 Mar, 2009]</strong>: I see that in Matlab version 7.8.0 (R2009a) if you go to &#8216;serial&#8217; in Help docs it now says for Mac OS X and Mac OS X 64 you can use serial(&#8216;/dev/tty.KeySerial1&#8242;);  I don&#8217;t have a way of testing that right now, but it&#8217;s possible that you don&#8217;t need to use this third party toolkit anymore. If that&#8217;s true, please leave a note here.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/serial-port-communications-on-mac-via-matlab/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Getting tcl via macports to compile on Leopard</title>
		<link>http://blog.newsyland.com/mac-os-x/tcl-via-macports-on-leopard</link>
		<comments>http://blog.newsyland.com/mac-os-x/tcl-via-macports-on-leopard#comments</comments>
		<pubDate>Wed, 05 Mar 2008 11:00:05 +0000</pubDate>
		<dc:creator>Kirk Ireson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Original]]></category>

		<guid isPermaLink="false">http://blog.newsyland.com/original/tcl-via-macports-on-leopard</guid>
		<description><![CDATA[With a fresh install of MacPorts version 1.6.0 on Mac OS X 10.5.2 Leopard, then issuing the command: sudo port install tcl returned: /usr/local/include/mach-o/arch.h:35: error: nested redefinition of &#8216;enum NXByteOrder&#8217; /usr/local/include/mach-o/arch.h:35: error: redeclaration of &#8216;enum NXByteOrder&#8217; /usr/local/include/mach-o/arch.h:36: error: redeclaration of &#8230; <a href="http://blog.newsyland.com/mac-os-x/tcl-via-macports-on-leopard">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With a fresh install of MacPorts version 1.6.0 on Mac OS X 10.5.2 Leopard, then issuing the command:</p>
<p class="code"> sudo port install tcl</p>
<p>returned:</p>
<p class="code"> /usr/local/include/mach-o/arch.h:35: error: nested redefinition of &#8216;enum NXByteOrder&#8217;<br />
/usr/local/include/mach-o/arch.h:35: error: redeclaration of &#8216;enum NXByteOrder&#8217;<br />
/usr/local/include/mach-o/arch.h:36: error: redeclaration of enumerator &#8216;NX_UnknownByteOrder&#8217;<br />
/usr/include/architecture/byte_order.h:137: error: previous definition of &#8216;NX_UnknownByteOrder&#8217; was here<br />
/usr/local/include/mach-o/arch.h:37: error: redeclaration of enumerator &#8216;NX_LittleEndian&#8217;<br />
/usr/include/architecture/byte_order.h:138: error: previous definition of &#8216;NX_LittleEndian&#8217; was here<br />
/usr/local/include/mach-o/arch.h:39: error: redeclaration of enumerator &#8216;NX_BigEndian&#8217;<br />
/usr/include/architecture/byte_order.h:140: error: previous definition of &#8216;NX_BigEndian&#8217; was here<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function &#8216;TclpFindSymbol&#8217;:<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:382: warning: &#8216;NSLookupSymbolInImage&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:182)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:415: warning: &#8216;NSLinkEditError&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:217)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:419: warning: &#8216;NSLookupSymbolInModule&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:181)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:428: warning: &#8216;NSAddressOfSymbol&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:188)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function &#8216;TclpUnloadFile&#8217;:<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:493: warning: &#8216;NSUnLinkModule&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:169)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function &#8216;TclpLoadMemory&#8217;:<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:697: warning: &#8216;NSCreateObjectFileImageFromMemory&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:146)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:730: warning: &#8216;NSLinkModule&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:161)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:732: warning: &#8216;NSDestroyObjectFileImage&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:147)<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:740: warning: &#8216;NSLinkEditError&#8217; is deprecated (declared at /usr/include/mach-o/dyld.h:217)<br />
make: *** [tclLoadDyld.o] Error 1</p>
<p>I searched the web and found suggestions to deactivate odcctools, but the problem in my case is that odcctools wasn&#8217;t even installed.  So, instead what I did was temporarily move the arch.h file, rerun the install command, and it worked fine!</p>
<p class="code"> sudo mv /usr/local/include/mach-o/arch.h /usr/local/include/mach-o/arch.h.RENAMED</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.newsyland.com/mac-os-x/tcl-via-macports-on-leopard/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

