<?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>Hungry Hacker &#187; Hardware</title>
	<atom:link href="http://www.hungryhacker.com/topics/hw/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hungryhacker.com</link>
	<description>The Hungry Hacker&#039;s Explanation of Everything</description>
	<lastBuildDate>Mon, 05 Sep 2011 03:44:34 +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>Our DSL Modem was overheating&#8230;</title>
		<link>http://www.hungryhacker.com/hw/our-dsl-modem-was-overheating/</link>
		<comments>http://www.hungryhacker.com/hw/our-dsl-modem-was-overheating/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 03:44:34 +0000</pubDate>
		<dc:creator>fwaggle</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[heatsink]]></category>
		<category><![CDATA[nastyhax]]></category>

		<guid isPermaLink="false">http://www.hungryhacker.com/?p=241</guid>
		<description><![CDATA[Every summer, without fail, our DSL likes to drop on hot evenings.
I even bought another modem at a yard sale, thinking that maybe ours was on the fritz &#8211; but no&#8230; same M.O.: laggy/lossy connection, then no connection, go downstairs and the modem&#8217;s really hot to the touch. It probably doesn&#8217;t help that it&#8217;s in a small closet under our stairs with the router and everything else, but even if we keep the door open with a box fan blowing in there it still does it.
As I was throwing away ...]]></description>
			<content:encoded><![CDATA[<p>Every summer, without fail, our DSL likes to drop on hot evenings.</p>
<p>I even bought another modem at a yard sale, thinking that maybe ours was on the fritz &#8211; but no&#8230; same M.O.: laggy/lossy connection, then no connection, go downstairs and the modem&#8217;s really hot to the touch. It probably doesn&#8217;t help that it&#8217;s in a small closet under our stairs with the router and everything else, but even if we keep the door open with a box fan blowing in there it still does it.</p>
<p><a title="Turbocharged DSL Modem by fwaggle, on Flickr" href="http://www.flickr.com/photos/fwaggle/5933683015/"><img class="alignleft" style="float: left;" src="http://farm7.static.flickr.com/6027/5933683015_84f6760284_m.jpg" alt="Turbocharged DSL Modem" width="240" height="180" /></a>As I was throwing away a bunch of old stuff, I happened upon an old add-on DVR I&#8217;d bought to steal the drive out of. I opened the lid just to see if there was anything else in there I may want, and there it is &#8211; a small square heatsink just the perfect size for the little ARM (I think? Could be MIPS though) CPU in our SpeedStream 4100. I pulled it off, then used a razor to scrape all the old thermal pad off. I mixed up some thermal expoxy, applied a really thin layer and glued it to the top of the CPU in the modem, as you can see on the left.</p>
<p>We since went about 4 nights with no disconnects, despite the fact the top of the heatsink still got a bit warm to the touch. I was not taking any chances though, I wanted to attach a fan to it as well.</p>
<p><a title="Turbocharged DSL Modem by fwaggle, on Flickr" href="http://www.flickr.com/photos/fwaggle/5933685171/"><img class="alignright" style="float: right;" src="http://farm7.static.flickr.com/6124/5933685171_0588352a6e_m.jpg" alt="Turbocharged DSL Modem" width="240" height="180" /></a>It&#8217;s been a while since I&#8217;ve had an excuse to get this uhh&#8230;. <a href="http://www.afrotechmods.com/">AfroTech</a> on any project. I&#8217;m terminally lazy and still obsessed with genuinely attempting to do things The Right Way, so this site hasn&#8217;t seen much action as of late. Anyway, I grabbed an old squirrelcage fan I&#8217;ve had laying around a while &#8211; I don&#8217;t know how many CFM this thing is rated for, but let me tell you on 12v it is like a hair dryer. I scrounged up an old 5vDC PSU to power it because I didn&#8217;t quite need it to roar that bad.</p>
<p><a title="Turbocharged DSL Modem by fwaggle, on Flickr" href="http://www.flickr.com/photos/fwaggle/5933687035/"><img class="alignleft" style="float: left;" src="http://farm7.static.flickr.com/6018/5933687035_7a6a49b9a5_m.jpg" alt="Turbocharged DSL Modem" width="240" height="180" /></a>I cut a hole in the top of the DSL modem for the heatsink to poke through into the front of the fan. I thought about having the exhaust blow inwards, but frankly it looked stupid &#8211; not to mention flimsy. In the end I decided to go negative pressure, with the exhaust blowing off the side.</p>
<p>The top of the modem is quite curved, so it really didn&#8217;t fit all that well when I affixed the fan to it. So I broke out some latex based sealent and caked it around the gaps. The air is sucked in via the vents under the board, makes its way around the board and over the heatsink and out the exhaust.</p>
<p>So I took a break from authoring this post, and it&#8217;s now about a week short of 2 months since I started working on it. The uptime on the modem speaks for itself:</p>
<p><code>Time Since Last Sync 031 days 20:56:49</code></p>
<p>I actually rebooted the modem at that time on purpose, it turned out it was a problem at AT&amp;T&#8217;s end. For all intents and purposes, the modem&#8217;s been up and synced since I plugged it in. Considering we&#8217;ve had some really really hot days here, that&#8217;s a huge improvement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hungryhacker.com/hw/our-dsl-modem-was-overheating/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buggy Digital Volume Controls</title>
		<link>http://www.hungryhacker.com/hw/buggy-digital-volume-controls/</link>
		<comments>http://www.hungryhacker.com/hw/buggy-digital-volume-controls/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 20:21:36 +0000</pubDate>
		<dc:creator>fwaggle</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.hungryhacker.com/?p=221</guid>
		<description><![CDATA[My Yamaha HTR-5540 has one of those digital volume controls on it&#8230; the kind that if it&#8217;s off, you can keep turning it. The last couple years it&#8217;s started doing this thing where I&#8217;d be turning it down and it&#8217;d go +1-1+2-1+1-1+2-1. The net result after volume spasming is an increase in volume &#8211; not really what you want at the time.
I decided to take it apart and try and clean the &#8220;pot&#8221; &#8211; it&#8217;s not really a potentiometer, but that&#8217;s what many people would call it anyway and cleaning ...]]></description>
			<content:encoded><![CDATA[<p>My <a href="/exit.html?ebaysearch=yamaha+htr+receiver">Yamaha HTR-5540</a> has one of those digital volume controls on it&#8230; the kind that if it&#8217;s off, you can keep turning it. The last couple years it&#8217;s started doing this thing where I&#8217;d be turning it down and it&#8217;d go +1-1+2-1+1-1+2-1. The net result after volume spasming is an increase in volume &#8211; not really what you want at the time.</p>
<p>I decided to take it apart and try and clean the &#8220;pot&#8221; &#8211; it&#8217;s not really a potentiometer, but that&#8217;s what many people would call it anyway and cleaning it is basically the same principle. It took me a few minutes to get into the machine and access to the front of the volume control &#8211; it involved removing the top cover, then the entire face (after disconnecting a couple of ribbon cables), and then removing the PCB from the plastic face.</p>
<p><a title="Yamaha HTR-5540 &quot;Pot&quot;" href="http://www.flickr.com/photos/51922402@N00/4813270744/"><img class="alignleft" style="float: left;" src="http://farm5.static.flickr.com/4098/4813270744_5cf612d350_t.jpg" alt="Yamaha HTR-5540 &quot;Pot&quot;" /></a>Once I got access to the front of the &#8220;pot&#8221;, I pried open the four tabs holding it together. I grabbed a can of my trusty <strong>CRC 2-26</strong>*, and sprayed a bit in there before putting it back together and twisted it a bit. After pressing the tabs back together, I carefully put the ribbon cables back on, plugged everything in and gave it a shot. There was still some obvious scratchiness and/or errors, but it was markedly better.</p>
<p>I made sure the tabs were down tight, and reassembled the entire unit. Now that I&#8217;ve got a working volume control again (and I don&#8217;t have to find what the hell the kids did with the remote), my receiver works perfectly for my PS3 and my <a href="/hw/spdif-output-on-asus-k8s-la-salmon/">PC&#8217;s digital output</a>.</p>
<p>* A word about 2-26 and spray &#8220;lubricants&#8221;. 2-26 is, according to the manufacturer, a plastic-safe precision lubricant that displaces water and can improve the electrical contact properties of things like switches, relays and stuff. WD-40, on the other hand, is advertised as a lubricant, but I&#8217;ve had terrible luck using at as such. While it doesn&#8217;t seem like it&#8217;s billed as such, in most situations I&#8217;ve used it it acts as a degreaser. Based on my experience cleaning volume controls and such, I wholeheartedly recommend you make the trip to Lowes or wherever and pick up some 2-26 instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hungryhacker.com/hw/buggy-digital-volume-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buying a little more time from my Microsoft Optical Mouse</title>
		<link>http://www.hungryhacker.com/hw/microsoft-mouse-fix/</link>
		<comments>http://www.hungryhacker.com/hw/microsoft-mouse-fix/#comments</comments>
		<pubDate>Sun, 23 May 2010 22:39:54 +0000</pubDate>
		<dc:creator>fwaggle</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[soldering]]></category>

		<guid isPermaLink="false">http://www.hungryhacker.com/?p=185</guid>
		<description><![CDATA[I love my mouse. No, I don&#8217;t think you quite understand &#8211; I love my mouse. It&#8217;s not like it&#8217;s anything special either, you can get one off of eBay for about five bucks&#8230; but of course it was about $35 when I got it, back when optical mouses were still somewhat new. In fact it&#8217;s only quite recently that most new computers came with an optical mouse.
But even so, this mouse has served me well. It&#8217;s now called the &#8220;Microsoft Optical Mouse Basic&#8220;, but back when I got it ...]]></description>
			<content:encoded><![CDATA[<p>I love my mouse. No, I don&#8217;t think you quite understand &#8211; I <em>love</em> my mouse. It&#8217;s not like it&#8217;s anything special either, <a href="/exit.html?ebaysearch=microsoft+optical+mouse+basic">you can get one off of eBay</a> for about five bucks&#8230; but of course it was about $35 when I got it, back when optical mouses were still somewhat new. In fact it&#8217;s only quite recently that most new computers came with an optical mouse.</p>
<p>But even so, this mouse has served me well. It&#8217;s now called the &#8220;<a href="/exit.html?ebaysearch=microsoft+optical+mouse+basic">Microsoft Optical Mouse Basic</a>&#8220;, but back when I got it I think it was just called the &#8220;Optical Wheel Mouse&#8221;. Regardless, it&#8217;s out-lived virtually all my wife&#8217;s mousing devices, most of which have been the wireless variety. I&#8217;m now used to the cord on it, we have quite the rapport and it never seems to get in the way&#8230; and it&#8217;s nice not having to change out batteries every freakin&#8217; month.</p>
<p>Unfortunately though I have this rather nasty habit of highlighting and un-highlighting text while I read it. It annoys my wife no-end, the constant click-click-clicking while I&#8217;m engrossed in something particularly interesting, but I figure at least it&#8217;s better than me mutilating my fingers which is my other annoying concentration-habit.</p>
<p>The end result is that the micro-switch for my left mouse button has reached the end of it&#8217;s operating life. It <a href="http://en.wikipedia.org/wiki/Switch#Contact_bounce">bounces</a> now, and dragging anything with it is a nightmare. I have a new mouse on the way (I actually bought one already, but it&#8217;s defective so it went back, and now I&#8217;m waiting again), but I can&#8217;t keep using my computer like this.</p>
<p><a title="Mouse Guts" href="http://www.flickr.com/photos/51922402@N00/4632946797/"><img class="alignleft" style="float: left;" src="http://farm5.static.flickr.com/4027/4632946797_ee433a4726_t.jpg" alt="Mouse Guts" /></a>So I took my mouse apart with a view to switch out the left mouse button switch from another mouse &#8211; unfortunately they&#8217;re different switches and it won&#8217;t physically fit in my mouse&#8230; so I came up with a hackish solution in the mean time. I simply de-soldered the left mouse-button switch, and the switch under the middle mouse button, and swapped them.</p>
<p>I reasoned that the occasional, unintentional double-click on the middle mouse button probably wouldn&#8217;t anger me as much as the much more likely double-left-click&#8230; and how often do you ever drag with the middle mouse button on Windows systems?</p>
<p>Never.</p>
<p>So it should live until my new mouse gets here, at which point it&#8217;ll serve me well as a backup or for when I&#8217;m roped into fixing some asshole&#8217;s computer. Also, I apologize for the lack of technical content in this article. <img src='http://www.hungryhacker.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hungryhacker.com/hw/microsoft-mouse-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>S/PDIF Output on Asus K8S-LA &#8220;Salmon&#8221;</title>
		<link>http://www.hungryhacker.com/hw/spdif-output-on-asus-k8s-la-salmon/</link>
		<comments>http://www.hungryhacker.com/hw/spdif-output-on-asus-k8s-la-salmon/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 19:46:09 +0000</pubDate>
		<dc:creator>fwaggle</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[pcm]]></category>
		<category><![CDATA[soldering]]></category>

		<guid isPermaLink="false">http://test.hungryhacker.com/?p=29</guid>
		<description><![CDATA[Ever since I got a PlayStation 2 and found the joy of games that support Pro Logic II, I&#8217;ve had a thing for surround sound. It&#8217;s like this perverse fixation that gives me a boner every time &#8211; you haven&#8217;t played games like Need for Speed: Underground 2 or Ace Combat 5 until you&#8217;ve played them with Pro Logic II. Seriously, the effect is that dramatic.
The PS3 is even better because most games support Dolby Digital 5.1 native &#8211; the PS2 lacked the processing power to generate this signal dynamically, ...]]></description>
			<content:encoded><![CDATA[<p>Ever since I got a PlayStation 2 and found the joy of games that support Pro Logic II, I&#8217;ve had a thing for surround sound. It&#8217;s like this perverse fixation that gives me a boner every time &#8211; you haven&#8217;t played games like <a href="http://fwaggle.org/lnk/nfsu2">Need for Speed: Underground 2</a> or <a href="http://fwaggle.org/lnk/acecombat5">Ace Combat 5</a> until you&#8217;ve played them with Pro Logic II. Seriously, the effect is that dramatic.</p>
<p>The PS3 is even better because most games support Dolby Digital 5.1 native &#8211; the PS2 lacked the processing power to generate this signal dynamically, only pre-rendered cut-scenes had Dolby Digital.</p>
<p>I started out modest &#8211; an old &#8220;Paramount&#8221; Pro Logic decoder, which I eventually traded in for a Yamaha 5.1 receiver. This thing is great &#8211; it&#8217;ll fill up a huge room with modest speakers no trouble at all, and it&#8217;s been in our &#8220;great room&#8221; since we moved out here. Unfortunately, our &#8220;nice TV&#8221; broke permanently, and we shut off our satellite TV in favor of streaming NetFlix&#8230; meaning my beautiful receiver was relegated to my younger brothers in law playing PS2 on it.</p>
<p>This morning I decided enough of that, I&#8217;d bring it up here and use it in our bedroom. Story time over: I decided to see if I could hack digital output from my HP Pavilion a1213w desktop. I checked the motherboard, it&#8217;s an Asus K8S-LA &#8220;Salmon&#8221; board&#8230; bit of a piece of shit really, but it does the job.</p>
<p><a class="flickr-image alignleft" title="S/PDIF on Asus K8S-LA" href="http://www.flickr.com/photos/fwaggle/4411082135/"><img src="http://farm5.static.flickr.com/4034/4411082135_c568a9d310_t.jpg" alt="S/PDIF on Asus K8S-LA" /></a>It sports a RealTek (ugh!) on-board audio with 5.1 output. Awesome &#8211; but no digital output in sight. Searching for the manual, I found an S/PDIF output on the board which requires a <a href="http://fwaggle.org/lnk/spdif">daughter-board to give you a coaxial/ToSLink output</a>. Check eBay &#8211; ~$20&#8230; fffffuuuuuu that.</p>
<p>A quick Google search shows plenty of <a href="http://www.frontx.com/pro/p1062_030.html">other folks hacking their own</a> so I decided to give it a shot. Ratting through my box of parts, I came up with a 4-pin CD-ROM-Audio cable from years gone past and cut it apart. I also dug out an RCA cable (I went with Coaxial for the PC since my PS3 will be using the only available ToSLink socket on the receiver) and cut it up too.</p>
<p><a class="flickr-image alignright" title="S/PDIF on Asus K8S-LA" href="http://www.flickr.com/photos/fwaggle/4411847904/"><img src="http://farm3.static.flickr.com/2702/4411847904_e316e404cc_t.jpg" alt="S/PDIF on Asus K8S-LA" /></a>A simple hack really. Pins 1+2 are ground and digital-out respectively, with the third pin being +5vdc for powering the bits for ToSLink communication&#8230; irrelevant for my purposes. I carefully cut the connector to a little larger than the three-pin connector, then used a Dremel with a sanding wheel to smooth it to a perfect three-pin shape. I pulled the unused extra wire out, since I didn&#8217;t want to accidentally short my mobo&#8217;s +5vdc. I had the black wire on the GND pin and the white on the S/PDIF pin (see diagram at left) and it was a simple matter of soldering colors to colors to connect the RCA. Route it out the back of my PC and into my receiver.</p>
<p><a class="flickr-image alignleft" title="lolrealtek" href="http://www.flickr.com/photos/fwaggle/4411874930/"><img src="http://farm3.static.flickr.com/2724/4411874930_d51acd17c7_t.jpg" alt="lolrealtek" /></a>Digging through the RealTek control panel&#8217;s &#8220;Multi-Channel Sound Manager&#8221;, the instant I clicked &#8220;Enable Digital Output&#8221; the PCM light came on my receiver and I&#8217;m good to go. Turn off all the DSP shit the kids had turned on, and my iTunes output is so manly I need chest hair supplements to keep up.</p>
<p><strong>Update:</strong> Okay so apparently my RealTek card can&#8217;t output Dolby Pro Logic II (or even anything remotely close to surround sound) over S/PDIF &#8211; PCM is it (and PCM is limited to two channels). According to <a href="http://forums.overclockers.com.au/showthread.php?t=418833">a thread on Overclockers</a>, most sound cards are limited like this&#8230; if you want surround sound in games, you&#8217;re stuck using the analog outputs and the 6ch input on my receiver.</p>
<p>So I scrounged up some 3.5mm to RCA cables, and hooked it up&#8230; and low and behold I have full surround on games like <a href="http://fwaggle.org/lnk/l4d">Left4Dead</a>. I press the 6ch button on my remote, and I&#8217;m switching back to digital output, so I can take advantage of my receiver&#8217;s vastly superior DAC for music. Not optimal, but the best I can probably do without a heinously expensive Pro Logic II capable sound card. <img src='http://www.hungryhacker.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hungryhacker.com/hw/spdif-output-on-asus-k8s-la-salmon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: JTAG interface on a Dish 3700 Receiver</title>
		<link>http://www.hungryhacker.com/hw/jtag-dish-3700-receiver/</link>
		<comments>http://www.hungryhacker.com/hw/jtag-dish-3700-receiver/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 17:55:17 +0000</pubDate>
		<dc:creator>fwaggle</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[dish]]></category>
		<category><![CDATA[dss]]></category>
		<category><![CDATA[soldering]]></category>

		<guid isPermaLink="false">http://test.hungryhacker.com/?p=32</guid>
		<description><![CDATA[I picked up this receiver in a box of stuff at a yard sale for $2.  We have DirecTV service here, so I was left wondering what the hell I  could do with such an archaic device. A quick search shows up that  apparently I can&#8217;t get the card activated any more. From dabbling with various embedded environments, I was  familiar with a JTAG  interface and I learned that this box indeed has one.
So what can we do with this? I&#8217;m led to believe that ...]]></description>
			<content:encoded><![CDATA[<p>I picked up this receiver in a box of stuff at a yard sale for $2.  We have DirecTV service here, so I was left wondering what the hell I  could do with such an archaic device. A quick search shows up that  apparently I can&#8217;t get the card activated any more. From dabbling with various embedded environments, I was  familiar with a <a href="http://en.wikipedia.org/wiki/JTAG">JTAG  interface</a> and I learned that this box indeed has one.</p>
<p>So what can we do with this? I&#8217;m led to believe that Dish hackers  use this interface to take a snapshot of the firmware on the dish and  replace parts of it as they need to. We&#8217;ll go into no such nonsense &#8211;  under fear of the DMCA &#8211; however I don&#8217;t believe that discussion of or  probing the JTAG interface falls under such legislation, unless I  receive a letter from a company involved. So here we go:</p>
<h2>You will need:</h2>
<ul>
<li>5 100ohm resistors, at least 1/4 watt.</li>
<li>Category 5, or some other kind of signal cable</li>
<li>A female DB-25 connector</li>
<li>Some software to read the JTAG interface on the parallel port</li>
</ul>
<p>You will also obviously need a soldering iron and some proficiency  in using it. We&#8217;re not dealing with any SMT devices or anything here,  the pin holes are quite large and should pose little difficulty for  anyone that&#8217;s ever soldered anything before in their life. You will want  your cable long enough to reach from the box to the back of your PC. In  my case, I simply chickened out and cut up a printer cable, but  OrganizedChaos used Cat5 with success.</p>
<p>It became obvious that I would have been able to access the JTAG  port from outside the case, without even opening it &#8211; I assume this is  so that Dish can test and possibly program the boxes before they leave  the factory. The JTAG pins are pins 184-190 on the CPU (as can be  referenced from the <a href="http://www.datasheetarchive.com/search.php?q=STI5500">datasheet  found at Datasheet Archive</a>). The traces are absolutely tiny, so it  takes some serious time to follow them to the correct pads &#8211; an ohmeter  with tiny probes speeds things up considerably.</p>
<p>In our case, we won&#8217;t be powering the JTAG interface &#8211; we&#8217;ll  simply plug the unit in, leave it off, and let the standby power supply  the juice necessary for our probing. I imagine this would be much more  reliable than trying to supply 3.3v from our parallel port.</p>
<p>The first thing I did was source 5 100ohm resistors. I managed to  find two in an ATX power supply, and another four off the board of a  television set. I needed the extra one because I broke one swinging it  around on the PCB. I straightened the legs out, and soldered one  resistor into each of the pads that require them.</p>
<p>In the diagram below, I&#8217;m labeling each of the pins going down in  two pairs from what I&#8217;m assuming is the &#8220;#1 pin&#8221; (the one closest to the  angle that&#8217;s been chopped off the box on the PBC). This pin layout is  not the standard 20-pin JTAG! I was probably pretty lucky I traced the  tracks and didn&#8217;t just assume it was standard, because I&#8217;m sure I&#8217;d  either have killed my printer port or the dish box (the former being the  bigger deal) if I&#8217;d just blindly hooked it up. By the way, if you check  out the full-size photo to the right, the pins are highlighted in  mouseover notes for your information.</p>
<p><a href="http://www.flickr.com/photos/fwaggle/1010860186/"><img class="alignleft" src="http://farm2.static.flickr.com/1125/1010860186_8bdc0e5f33_m.jpg" alt="" width="240" height="180" /></a><code>N/C	DB25<br />
N/C	DB24<br />
N/C	DB23<br />
N/C	DB22<br />
DB02	DB21<br />
DB03	DB20<br />
DB04	DB19<br />
DB13	N/C<br />
N/C	N/C<br />
DB05	N/C</code></p>
<p>You will notice that pins 19-25 are connected to the grounded pins  on the JTAG interface &#8211; this probably isn&#8217;t necessary, one would  probably suffice (I&#8217;m pretty sure pins 18-25 are all connected at your  PC&#8217;s parallel port), I just got frisky with the soldering iron. Pins 2,  3, 4, 5 and 13 are where the action is, so you&#8217;ll want to make sure the  connections through the resistors are pretty good. OC put his resistors  on the DB25 connector, I put mine on the board, either way&#8230; doesn&#8217;t  matter.</p>
<p><a href="http://www.flickr.com/photos/fwaggle/1012431334/"><img class="alignright" src="http://farm2.static.flickr.com/1228/1012431334_7af1eb920c_m.jpg" alt="" width="240" height="167" /></a>Once everything&#8217;s soldered up, plug the DB25 cable into your PC,  then plug the box in but don&#8217;t turn it on. You&#8217;ll need some software &#8211;  after googling around I found some software called jKeys which seems to work pretty good. I should point out that it&#8217;s often used  for theft of service and I&#8217;d really rather steer clear of that on this  website &#8211; do not email me about trying to steal Dish Network TV.</p>
<p>Once you point your software at the parallel port, you should be  able to find out all kinds of nifty information about the device. I&#8217;m  led to believe JTAG supports in-circuit debugging&#8230; we&#8217;re actually  toying with the idea of playing around with a Dish x700 &#8220;hello world&#8221;  application, because looking at the datasheets for the STi5500 CPU the  OSD modules seem pretty trivial to operate.</p>
<p>But for now, we can experiment with all kinds of neat functions  that JTAG allows. Happy hacking!</p>
<h2>Update: 2007-08-11</h2>
<p>I&#8217;ve gone ahead and hosted Jkeys anyway, but I want to make it  clear that I don&#8217;t support theft of service. The reason I&#8217;ve included it  is because I haven&#8217;t yet found another (free) way of programming the  flash after you build something using the STi5500 toolkit. So far I&#8217;ve  not yet managed to even so much as get the LED to flash, but I did  manage to resurrect the box after I thought I&#8217;d bricked it.</p>
<p>I&#8217;m also including a nifty program called JTango.  It&#8217;s a JTAG program again, but it&#8217;s used for in-circuit debugging. At  least, that&#8217;s what I gather, I couldn&#8217;t make it work with Windows XP.  I&#8217;ve included the driver that&#8217;s allegedly supposed to fix the  &#8220;Privileged Instruction&#8221; error, but it didn&#8217;t work for me. If you figure  it out, please do let me know.</p>
<p>Now it&#8217;s time to hit up more documentation and see if I can at  least make the freakin&#8217; box flash it&#8217;s LED or something&#8230; at least  something to tell me it&#8217;s working. <img src='http://www.hungryhacker.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hungryhacker.com/hw/jtag-dish-3700-receiver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing a broken USB Graphics Tablet</title>
		<link>http://www.hungryhacker.com/hw/fixing-a-broken-usb-graphics-tablet/</link>
		<comments>http://www.hungryhacker.com/hw/fixing-a-broken-usb-graphics-tablet/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 11:01:29 +0000</pubDate>
		<dc:creator>fwaggle</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[soldering]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://test.hungryhacker.com/?p=35</guid>
		<description><![CDATA[I picked up my Jam Studio graphics  tablet a good few years back for the price of $10. Make no mistake  about it, these are a low-priced budget tablet, and they perform about  that too. Anyway, a while ago our pet rats got a hold of the cord, and  chewed it in two pieces. I threw away the end, but I tossed the tablet  into a box and kept it for a few years and I finally dug it out  yesterday.
I tore it apart, ...]]></description>
			<content:encoded><![CDATA[<p>I picked up my Jam Studio <a href="http://hungryhacker.com/exit.html?ebaysearch=graphics+tablet">graphics  tablet</a> a good few years back for the price of $10. Make no mistake  about it, these are a low-priced budget tablet, and they perform about  that too. Anyway, a while ago our pet rats got a hold of the cord, and  chewed it in two pieces. I threw away the end, but I tossed the tablet  into a box and kept it for a few years and I finally dug it out  yesterday.</p>
<p>I tore it apart, and soon realized that there was way too many  wires, and none of them were standard color codes. This is because it  has a weird dongle that you can attach a DB-9 serial plug onto instead  of a USB. Next I noticed the Cypress Semiconductor USB controller  sitting on the board. I managed to track down the data sheet to it, and  enumerate which pins were which. Tracing these back to the cable I get:</p>
<p><a href="http://www.flickr.com/photos/fwaggle/256780436/"><img class="alignright" src="http://farm1.static.flickr.com/108/256780436_59d99689cd_m.jpg" alt="" width="240" height="180" /></a></p>
<table>
<tbody>
<tr>
<th>Pin</th>
<th>USB Wire</th>
<th>Original Wire</th>
<th>Function</th>
</tr>
<tr>
<td>E13</td>
<td>Black</td>
<td>Black</td>
<td>Ground</td>
</tr>
<tr>
<td>E16</td>
<td>Green</td>
<td>Orange</td>
<td>Data +</td>
</tr>
<tr>
<td>E18</td>
<td>White</td>
<td>Green</td>
<td>Data -</td>
</tr>
<tr>
<td>E21</td>
<td>Red</td>
<td>Lt Grey</td>
<td>+5VDC</td>
</tr>
</tbody>
</table>
<p>If you want, you can tie E17 to the shield &#8211; or E17 to USB black,  and E13 to the shield of the USB cable (the original cable is unshielded  however).</p>
<h2>Installing the Drivers on Windows XP</h2>
<p>This part sucks &#8211; it&#8217;s not very intuitive at all. I&#8217;ve found it  easiest to install the driver prior to plugging in the tablet, otherwise  you have to do some juggling to get it to ever function. Instructions:</p>
<ul>
<li>Download <a href="http://hungryhacker.com/articles/haxedhardware/misc/jamstudio_tablet/jamstudio-tablet-win95-98-me-2000-xp.zip">jamstudio-tablet-win95-98-me-2000-xp.zip</a> and extract it to a folder someplace. This mightn&#8217;t be necessary, but I  did it anyway so I could burn the driver to a CD just in case.</li>
<li>Run setup.exe from inside the driver folder, and follow the  instructions. This will install the driver (but not attach it to the  hardware in Windows XP) and the control panel applet.</li>
<li>Plug your tablet in. Windows XP will detect the tablet, but it  won&#8217;t function yet.</li>
<li>Under Device Manager (Right-click on My Computer, choose  properties, Hardware tab, then choose Device Manager), look for the two  devices that represent the tablet. They should be something like USB  Human Interface Device and HID-compliant device. Open up HID-compliant  device.</li>
<li>Under the Driver tab, choose Update Driver. Tell it you want to  select the driver yourself, and eventually you&#8217;ll convince Windows you  really do want to select the driver yourself. By this time, it should  pop up the list of similar devices, one of which should be KBGear Jam  Studio Digitizer. Select it, then dismiss all dialogs.</li>
<li>On both my computers, the digitizer now worked for positioning  but didn&#8217;t reckognize mouse clicks from the pen touch. If your&#8217;s does  this too, simply open the control panel applet and toggle the settings  to heavier then back to light. Experiment with these settings.</li>
</ul>
<p>So there you have it. A cheap ass tablet, salvaged thanks to the  fact that the semiconductor company who made it&#8217;s controller saw fit to  put the information on the Internet for all to see.</p>
<h2>Links</h2>
<ul>
<li>Download <a href="http://hungryhacker.com/articles/haxedhardware/misc/jamstudio_tablet/jamstudio-tablet-win95-98-me-2000-xp.zip">KBGear  JamStudio Tablet Driver</a> for Windows 95/98/ME/2K/XP.</li>
<li>Download the <a href="http://www.delcom-eng.com/downloads/CY7C63000A.pdf#search=%22cy7c63001a%22">Datasheet  for CY7C63001Am USB controller</a>.</li>
<li>Search for a decent <a href="http://hungryhacker.com/exit.html?ebaysearch=graphics+tablet">Graphics  Tablet</a> on eBay.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hungryhacker.com/hw/fixing-a-broken-usb-graphics-tablet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optical Calibration: DVD Player Repair</title>
		<link>http://www.hungryhacker.com/hw/optical-calibration-dvd-player-repair/</link>
		<comments>http://www.hungryhacker.com/hw/optical-calibration-dvd-player-repair/#comments</comments>
		<pubDate>Sun, 09 Oct 2005 16:38:03 +0000</pubDate>
		<dc:creator>fwaggle</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[dvd]]></category>

		<guid isPermaLink="false">http://www.hungryhacker.com/?p=56</guid>
		<description><![CDATA[We bought our DVD player way back when they were pretty friggin&#8217;  expensive, so naturally after we moved when it stopped working, I wasn&#8217;t  about to just throw it away and buy another one. I&#8217;ve done a little bit  of trial-and-error recalibration before, mainly on Sega Dreamcast  consoles, so I figured I&#8217;d give it a shot.
Note: I take no responsibility for any damages that  might result from you reading this article. You might damage your DVD  Player even more from trying to re-enact the ...]]></description>
			<content:encoded><![CDATA[<p>We bought our DVD player way back when they were pretty friggin&#8217;  expensive, so naturally after we moved when it stopped working, I wasn&#8217;t  about to just throw it away and buy another one. I&#8217;ve done a little bit  of trial-and-error recalibration before, mainly on Sega Dreamcast  consoles, so I figured I&#8217;d give it a shot.</p>
<p><strong>Note:</strong> I take no responsibility for any damages that  might result from you reading this article. You might damage your DVD  Player even more from trying to re-enact the steps described below.  Think about that before doing it.</p>
<p>The first thing you&#8217;ll want to do is open the drive tray on your DVD  player. Sometimes it&#8217;s tough to get the unit apart when the tray is  already all the way closed, so eject the disc, and while the tray is  out, unplug the unit.</p>
<p>Next, find a nice comfortable place to sit down where there&#8217;s something  grounded nearby &#8211; a computer desk is fine because you can touch the  metal case of a computer (assuming your PC is grounded) and discharge  any static electricity that might be in your body. The MPEG decoder and  encryption-related ICs inside your DVD player are very <em>very</em> sensitive to electrostatic discharge. I&#8217;ve had at least a couple of  junk devices where I have taken the lid off, stared at it, poked one or two  things, put the lid back on, and the thing&#8217;s even worse off &#8211; the only  explanation I can think of is ESD.</p>
<p>So ground yourself, and try not to scuff your feet on any carpet or  anything while the lid&#8217;s off your DVD Player &#8211; just in case.</p>
<p>Next, pop the lid off the unit and set it and all the screws aside.  Locate the power supply area, and stay well away from it. While the unit  is unplugged, your chances of dying from an electric shock with the  residual charge still in the PSU are pretty slim &#8211; but you probably  don&#8217;t want to take the chances.</p>
<p>See if you can locate the lens and see it without removing anything. If  you can, great &#8211; if you can&#8217;t, you might be able to get to it by moving  the &#8220;eye&#8221; all the way to the end of it&#8217;s track, where it would sit while  reading the outside portions of a disc. To accoplish this, look for the  sprocket which is closest to the motor (furthest from the &#8220;rack&#8221; gear,  or the eye) and give it a gentle turn with your finger. The eye should  start moving out.</p>
<p>Some DVD Players (and indeed CD players and other stuff, the GD-ROM in a  Dreamcast console comes to mind) use a Worm gear instead of a few  gears and a rack. On those, you really don&#8217;t have much of a choice  except to <em>carefully</em> nudge the eye along it&#8217;s track. It will  probably make an ugly crackling noise during this time, and double check  to make sure nothing&#8217;s broken. If you can see the motor that drives the  eye, you can also use an AA battery and some wire, after finding the  correction polarity, to drive the eye outwards. This mightn&#8217;t be a good  idea while the motor is in-circuit though (still hooked up to the DVD  Player&#8217;s &#8220;brain&#8221; so to speak), so I didn&#8217;t go into too much detail with  this.</p>
<p>If you still can&#8217;t see the eye, you might need to take the actual reader  apart. Your experience will vary, with mine I didn&#8217;t have to take it  apart, so you&#8217;re on your own here. A tip though: be very, very careful  with the ribbon cables &#8211; just the slighest lateral force on them is  enough to rip them.</p>
<p>Now hopefully you can see the lens, and it&#8217;s time to give it a good  cleaning. If you have a steady hand, I thoroughly recommend some strong  Acetone to clean the lens with. Acetone is nice because it eats oil and  everything else, but care must be taken to ensure you don&#8217;t put any of  it anywhere except on the lens itself. If it touches plastic, it can  misfigure it and cause a mechanical problem. If it lands on the ribbon  cable, it can quite possibly eat the ribbon cable and ruin it&#8217;s ability  to transmit a signal. Use extreme care!</p>
<p>Your other choices are Isopropyl and some dollar-store lens cleaning  fluid. I would use the Isopropyl first, but that&#8217;s just me &#8211; I have no  real reason or thinking behind this. It&#8217;s cheaper, how&#8217;s that.</p>
<p>Whatever you use, dip a Q-tip (cotton swab) into the fluid, then tap it  on your pants, a piece of cloth or something else to make sure there&#8217;s no drips. Ideally,  dip just the tip in, and hopefully the fluid will travel up the rest of  the Q-tip through a fascinating process I believe is called Osmosis. You  don&#8217;t want too much liquid on the swab anyway, but you definitely don&#8217;t want it to be dry.</p>
<p>Now swab the lens carefully &#8211; one complete turn should be plenty. Resist  the urge to use the dry end to mop up if the lens is glistening, I believe you  can scratch the delicate surface and scatter the beam worse than dust  would. If it&#8217;s still glistening, leave it to dry &#8211; Isopropyl and Acetone  both are somewhat volatile and will evaporate quickly without your  help. Leaving it a good five minutes or so should be plenty if you&#8217;re  concerned.</p>
<p>Once you&#8217;re convinced the lens is clean, take the player back to a TV  and hook it up, dropping a disc in to see if it&#8217;ll play. It helps if  you&#8217;re still near something to ground yourself on here, so you might  want to bring a small TV to your work area. With any luck, the machine  will play the disc perfectly. It shouldn&#8217;t realistically take any more  than 5 seconds for the player to read the &#8220;Table of Contents&#8221; on the  disc (for example, for the &#8220;DVD&#8221; light to light up). If you&#8217;re content  with how things are going, button it up and call it a day.</p>
<h2>Help! It still won&#8217;t play!</h2>
<p>If your player is still dead (like mine), then it&#8217;s time to recalibrate  and see if that helps. There are a few things you should know about  blind-recalibration. Firstly, the method I describe here is not the  correct way to do it &#8211; you need proper equipment and stuff to do it  right. Second, it mightn&#8217;t be the problem to begin with. Third, it  pisses off technicians if it wasn&#8217;t the problem, the machine  malfunctioned due to some other problem, and you&#8217;ve twiddled with the  adjustments to make their life harder.</p>
<p>Suffice to say, you should only attempt this on a machine that &#8211; if  unsuccessful &#8211; you are going to throw away. If you have a $900  american-made, progressive scan DVD player &#8211; take it to a professional  and don&#8217;t fuck with it.</p>
<p>Let&#8217;s go.</p>
<p style="text-align: center;"><a title="DVD Player Repair" href="http://www.flickr.com/photos/51922402@N00/4505614782/"><img class="alignnone" src="http://farm3.static.flickr.com/2748/4505614782_6124177709.jpg" alt="DVD Player Repair" /></a></p>
<p>Look on the PCB attached to the lens assembly. Hopefully, you can see it  without taking the device any further apart. Some DVD players will have  one pot, some two, and very rarely you will have three. To understand  how to adjust these, a little background is in order. It should be  noted, that this is basically how I theorize it works &#8211; it might be  incorrect.</p>
<p>The &#8220;eye&#8221; shoots a laser at a given wavelength (your DVD player will  adjust the wavelength to read various &#8220;layers&#8221; of the disc, but this is  unimportant for our understanding) at the disc. The disc then bounces  the light back, or diffuses it, for a 1 or a 0 &#8211; I&#8217;m not sure which way  around it is, but again, this is unimportant for the purposes of this  text. Next, an eye &#8220;reads&#8221; the beam of light, and tries to decipher if  it&#8217;s a 1 or a 0 bit.</p>
<p>This is where we have a problem, because the DVD player needs to know  how much light constitutes a one or a zero, and where to draw the line.  That&#8217;s what the calibration is for &#8211; it&#8217;s a no-holds-barred  discrimination point between one and zero, black and white, on and off.  It&#8217;s the line in the sand.</p>
<p>Sometimes, the line gets moved. The laser&#8217;s properties change. Maybe a  component weakens, maybe the power supply weakens and the laser isn&#8217;t so  strong. Whatever, if the line moves too far, the reader won&#8217;t be able to  discern between ones and zeros, and you effectively are looking at a  blank disc &#8211; from the binary point of view.</p>
<p>So, we can adjust the reader and calibrate it again, by moving the tiny  potentiometer(s) on the PCB. If you&#8217;re really lucky, your unit only has  one. If it has two, hopefully they&#8217;re labeled (mine was, see blurry  image above). What you&#8217;re looking for is the pot which discriminates <em>DVD  signal</em>. My unit has two pots, one is labeled &#8220;DVD&#8221; and the other  &#8220;CD&#8221; &#8211; so I&#8217;m golden. The unit still plays video CDs, so I know to leave  the CD one alone.</p>
<p>If you can, the easiest way to adjust it is while the drive is trying to  read. I recommend a purpose-built plastic driver used for driving tiny  adjustment pots, something with some bend in it. Push it into the pot,  holding it very loosely so when the head moves the driver moves with it.  Put a disc in the drive, and start rotating it back and forth tiny, <em>tiny</em> amounts. A little goes a long way here, ladies and gentlemen.</p>
<p>If you luck out, the player will act like most I&#8217;ve ever messed with,  and &#8220;flick&#8221; the disc in small short bursts of acceleration, followed by  the disc decelerating during the periods the motor has no power. This  means it hasn&#8217;t picked up a bit stream yet, so keep fiddling. With just a  small amount of patience and a little bit of luck, you&#8217;ll hit the sweet  spot and the disc will spin up quite fast, and quite possibly even  start playing.</p>
<p>You can either quit here, or try to find the two extremes where the unit  stops being able to read the disc, and then aim for the &#8220;middle&#8221; of the  adjustment. I quit as soon as the disc played, but it&#8217;s entirely up to  you. The theory behind aiming for the middle is should it fall out of  alignment again, you have a little bit to go before it&#8217;ll stop working.  It&#8217;s your call.</p>
<p>Hopefully, it works for you. It&#8217;s worked for me, several times, and I&#8217;ve  even used the technique to make a Dreamcast play CD-RWs, which is  excellent fodder for a follow up article. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hungryhacker.com/hw/optical-calibration-dvd-player-repair/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

