<?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>Dekar's Blog</title>
	<atom:link href="http://dekar.wc3edit.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://dekar.wc3edit.net</link>
	<description>Kraut powered Weblog</description>
	<lastBuildDate>Wed, 15 May 2013 11:40:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>RTL-SDR transformer mod</title>
		<link>http://dekar.wc3edit.net/2012/11/07/rtl2832u-transformer-mod/</link>
		<comments>http://dekar.wc3edit.net/2012/11/07/rtl2832u-transformer-mod/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 22:19:55 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=217</guid>
		<description><![CDATA[Quite a while ago I tried the HF Mod (aka Direct Sampling Mod) on one of my dongles. The simplest way of doing it is by connecting one of the RTL2832U&#8217;s ADC (pin 1 or 2) inputs to an antenna which is exactly how I started. Shortly after that mikikg told me about using a ...</p><p><a href="http://dekar.wc3edit.net/2012/11/07/rtl2832u-transformer-mod/" class="more-link">Continue reading &#8216;RTL-SDR transformer mod&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/11/rtlsdr_hf_mod.jpg"><img src="http://dekar.wc3edit.net/wp-content/uploads/2012/11/rtlsdr_hf_mod-300x224.jpg" alt="" title="rtlsdr_hf_mod" width="300" height="224" class="size-medium wp-image-219" /></a><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/11/hf_mod_transformer_H16105DF.jpg"><img src="http://dekar.wc3edit.net/wp-content/uploads/2012/11/hf_mod_transformer_H16105DF-300x224.jpg" alt="" title="hf_mod_transformer_H16105DF" width="300" height="224" class="size-medium wp-image-218" /></a></p>
<p>Quite a while ago I tried the HF Mod (aka Direct Sampling Mod) on one of my dongles. The simplest way of doing it is by connecting one of the RTL2832U&#8217;s ADC (pin 1 or 2) inputs to an antenna which is exactly how I started. Shortly after that <a href="http://mikikg.files.wordpress.com/2012/08/rtl2832u-dc-mods.pdf">mikikg</a> told me about using a transformer in order to generate a differential signal for the ADCs differential input, as well as boosting the signal and matching impedance. As a quick and dirty solution I desoldered a <a href="http://www.fpe.com.cn/pdf/100Base-t/8.9-14.pdf">H16105DF</a> 10/100Mbps Ethernet decoupling transformer from an old ADSL modem and used it. It actually matches the frequencies we care about quite well and in addition serves as a low pass filter. At the moment it is used in a 1:1 configuration, though 1:2 will probably perform better, thus I plan to try that as well. Using it together with an antenna made from a few meters of litz I receive many AM radio stations as well as lots of other signals.</p>
<p>Update:<br />
Since someone over at reddit claimed that mikikg originally came up with using Ethernet transformers for the mod, implying I wouldn&#8217;t credit him properly, I feel like clarifying. On 10/3/12 I sent him a mail explaining that I had tried a variation of the HF-Mod using an Ethernet transformer and that the results were promising, I also attached a picture to that mail. Seemingly we then both blogged about it quite a while later, yet he did so before I did.</p>
<p>Update #2:<br />
I have tried using the transformer in a 1:2 configuration and the signal actually got worse. That makes me wonder about the RTL2832U&#8217;s input impedance.</p>
<p><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/11/hf_mod_antenna.jpg"><img src="http://dekar.wc3edit.net/wp-content/uploads/2012/11/hf_mod_antenna-300x224.jpg" alt="" title="hf_mod_antenna" width="300" height="224" class="size-medium wp-image-225" /></a><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/rtlsdr_gqrx_MW.png"><img src="http://dekar.wc3edit.net/wp-content/uploads/2012/09/rtlsdr_gqrx_MW-300x182.jpg" alt="" title="rtlsdr_gqrx_MW" width="300" height="182" class="size-medium wp-image-186" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2012/11/07/rtl2832u-transformer-mod/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Power supply failures can be pretty annoying to find</title>
		<link>http://dekar.wc3edit.net/2012/10/31/power-supply-failures-can-be-pretty-annoying-to-find/</link>
		<comments>http://dekar.wc3edit.net/2012/10/31/power-supply-failures-can-be-pretty-annoying-to-find/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 20:32:35 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=208</guid>
		<description><![CDATA[Recently one of the four drives in my HTPC kept dropping out, first it happened once every few days, then after several hours. The weird thing was that it always came back after losing the SATA link and allowed me to mount it again. I first thought it was a problem of the SATA controller ...</p><p><a href="http://dekar.wc3edit.net/2012/10/31/power-supply-failures-can-be-pretty-annoying-to-find/" class="more-link">Continue reading &#8216;Power supply failures can be pretty annoying to find&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Recently one of the four drives in my HTPC kept dropping out, first it happened once every few days, then after several hours. The weird thing was that it always came back after losing the SATA link and allowed me to mount it again. I first thought it was a problem of the SATA controller or cables so I switched the drives around, yet the same drive was still affected. I then assumed it was related to the drive which got me sidetracked for a while, till I routinely decided to reset the BIOS. Doing so I randomly had a look at the supply voltages, the 12V rail had dropped to around 10.2V.<br />
Gladly I had a spare ATX PSU which I then switched in resolving all the problems. The PSU that failed was a one hung low 75W high efficiency one that came with a miniITX case I bought a while ago. It consists of a AC/DC power brick supplying 12V and a DC/DC switch mode board generating the whole variety of ATX voltages. Some of the DC/DC boards electrolytic capacitors were bulgy and I couldn&#8217;t even find a datasheet for their brand so I decided to replace them all with fresh low ESR ones. Needless to say that solved the problem and it now works fine (11.83V) again.<br />
It really was an annoying experience and the symptoms were highly misleading. After all the drive was fine, and it was just the manifestation of a completely different problem. From now on I will routinely check lm-sensors for voltages as well.</p>
<p><span id="more-208"></span><br />
This was what my dmesg looked like:</p>
<blockquote><p>Oct 27 18:57:14 mediapc2 kernel: [  162.075774] ata7.00: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 18:57:14 mediapc2 kernel: [  162.075783] ata7.00: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 18:57:14 mediapc2 kernel: [  162.075790] ata7: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 18:57:14 mediapc2 kernel: [  162.075795] ata7.00: failed command: SMART<br />
Oct 27 18:57:14 mediapc2 kernel: [  162.075806] ata7.00: cmd b0/da:00:00:4f:c2/00:00:00:00:00/00 tag 0<br />
Oct 27 18:57:14 mediapc2 kernel: [  162.075808]          res 50/00:ff:00:00:00/00:00:00:00:00/00 Emask 0&#215;10 (ATA bus error)<br />
Oct 27 18:57:14 mediapc2 kernel: [  162.075813] ata7.00: status: { DRDY }<br />
Oct 27 18:57:14 mediapc2 kernel: [  162.075822] ata7: hard resetting link<br />
Oct 27 18:57:24 mediapc2 kernel: [  172.089031] ata7: softreset failed (device not ready)<br />
Oct 27 18:57:24 mediapc2 kernel: [  172.089042] ata7: hard resetting link<br />
Oct 27 18:57:25 mediapc2 kernel: [  172.977038] ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)<br />
Oct 27 18:57:25 mediapc2 kernel: [  172.989529] ata7.00: configured for UDMA/133<br />
Oct 27 18:57:25 mediapc2 kernel: [  172.989561] ata7: EH complete<br />
Oct 27 19:24:55 mediapc2 kernel: [ 1823.374114] ata7: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:24:55 mediapc2 kernel: [ 1823.374165] ata7: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:24:55 mediapc2 kernel: [ 1823.374206] ata7: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:24:55 mediapc2 kernel: [ 1823.374269] ata7: hard resetting link<br />
Oct 27 19:25:00 mediapc2 kernel: [ 1828.380726] ata6: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:25:00 mediapc2 kernel: [ 1828.380769] ata6: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:25:00 mediapc2 kernel: [ 1828.380806] ata6: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:25:00 mediapc2 kernel: [ 1828.380846] ata6: hard resetting link<br />
Oct 27 19:25:05 mediapc2 kernel: [ 1833.388026] ata7: softreset failed (device not ready)<br />
Oct 27 19:25:05 mediapc2 kernel: [ 1833.388069] ata7: hard resetting link<br />
Oct 27 19:25:10 mediapc2 kernel: [ 1838.396035] ata6: softreset failed (device not ready)<br />
Oct 27 19:25:10 mediapc2 kernel: [ 1838.396078] ata6: hard resetting link<br />
Oct 27 19:25:11 mediapc2 kernel: [ 1839.152045] ata7: SATA link down (SStatus 20 SControl 300)<br />
Oct 27 19:25:11 mediapc2 kernel: [ 1839.152055] ata7.00: link offline, clearing class 1 to NONE<br />
Oct 27 19:25:11 mediapc2 kernel: [ 1839.160816] ata7: hard resetting link<br />
Oct 27 19:25:20 mediapc2 kernel: [ 1848.428028] ata6: softreset failed (device not ready)<br />
Oct 27 19:25:20 mediapc2 kernel: [ 1848.428071] ata6: hard resetting link<br />
Oct 27 19:25:21 mediapc2 kernel: [ 1849.164026] ata7: softreset failed (device not ready)<br />
Oct 27 19:25:21 mediapc2 kernel: [ 1849.164063] ata7: hard resetting link<br />
Oct 27 19:25:26 mediapc2 kernel: [ 1854.072034] ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)<br />
Oct 27 19:25:26 mediapc2 kernel: [ 1854.107379] ata7.00: configured for UDMA/133<br />
Oct 27 19:25:26 mediapc2 kernel: [ 1854.107389] ata7: EH complete<br />
Oct 27 19:25:31 mediapc2 kernel: [ 1859.396027] ata6: link is slow to respond, please be patient (ready=0)<br />
Oct 27 19:25:55 mediapc2 kernel: [ 1883.476028] ata6: softreset failed (device not ready)<br />
Oct 27 19:25:55 mediapc2 kernel: [ 1883.476071] ata6: limiting SATA link speed to 1.5 Gbps<br />
Oct 27 19:25:55 mediapc2 kernel: [ 1883.476077] ata6: hard resetting link<br />
Oct 27 19:26:03 mediapc2 kernel: [ 1890.936813] ata7: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:26:03 mediapc2 kernel: [ 1890.936856] ata7: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:26:03 mediapc2 kernel: [ 1890.936892] ata7: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:26:03 mediapc2 kernel: [ 1890.936934] ata7: hard resetting link<br />
Oct 27 19:26:13 mediapc2 kernel: [ 1900.952028] ata7: softreset failed (device not ready)<br />
Oct 27 19:26:13 mediapc2 kernel: [ 1900.952071] ata7: hard resetting link<br />
Oct 27 19:26:16 mediapc2 kernel: [ 1904.416031] ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)<br />
Oct 27 19:26:16 mediapc2 kernel: [ 1904.442015] ata7.00: configured for UDMA/133<br />
Oct 27 19:26:16 mediapc2 kernel: [ 1904.442024] ata7: EH complete<br />
Oct 27 19:26:16 mediapc2 kernel: [ 1904.572033] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:26:16 mediapc2 kernel: [ 1904.599421] ata6.00: configured for UDMA/133<br />
Oct 27 19:26:16 mediapc2 kernel: [ 1904.599430] ata6: EH complete<br />
Oct 27 19:28:18 mediapc2 kernel: [ 2025.998821] ata7: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:28:18 mediapc2 kernel: [ 2025.998870] ata7: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:28:18 mediapc2 kernel: [ 2025.998913] ata7: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:28:18 mediapc2 kernel: [ 2025.998963] ata7: hard resetting link<br />
Oct 27 19:28:18 mediapc2 kernel: [ 2025.999016] ata6: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:28:18 mediapc2 kernel: [ 2025.999059] ata6: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:28:18 mediapc2 kernel: [ 2025.999108] ata6: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:28:18 mediapc2 kernel: [ 2025.999163] ata6: hard resetting link<br />
Oct 27 19:28:24 mediapc2 kernel: [ 2031.760061] ata7: SATA link down (SStatus 20 SControl 300)<br />
Oct 27 19:28:24 mediapc2 kernel: [ 2031.760070] ata7.00: link offline, clearing class 1 to NONE<br />
Oct 27 19:28:24 mediapc2 kernel: [ 2031.802742] ata7: hard resetting link<br />
Oct 27 19:28:28 mediapc2 kernel: [ 2036.016028] ata6: softreset failed (device not ready)<br />
Oct 27 19:28:28 mediapc2 kernel: [ 2036.016078] ata6: hard resetting link<br />
Oct 27 19:28:29 mediapc2 kernel: [ 2036.904043] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:28:29 mediapc2 kernel: [ 2036.929302] ata6.00: configured for UDMA/133<br />
Oct 27 19:28:29 mediapc2 kernel: [ 2036.929311] ata6: EH complete<br />
Oct 27 19:28:34 mediapc2 kernel: [ 2041.808033] ata7: softreset failed (device not ready)<br />
Oct 27 19:28:34 mediapc2 kernel: [ 2041.808084] ata7: hard resetting link<br />
Oct 27 19:28:34 mediapc2 kernel: [ 2042.288043] ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)<br />
Oct 27 19:28:34 mediapc2 kernel: [ 2042.325927] ata7.00: configured for UDMA/133<br />
Oct 27 19:28:34 mediapc2 kernel: [ 2042.325937] ata7: EH complete<br />
Oct 27 19:29:04 mediapc2 kernel: [ 2071.927629] ata7: limiting SATA link speed to 1.5 Gbps<br />
Oct 27 19:29:04 mediapc2 kernel: [ 2071.927638] ata7: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:29:04 mediapc2 kernel: [ 2071.927695] ata7: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:29:04 mediapc2 kernel: [ 2071.927739] ata7: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:29:04 mediapc2 kernel: [ 2071.927788] ata7: hard resetting link<br />
Oct 27 19:29:05 mediapc2 kernel: [ 2072.855506] ata6: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:29:05 mediapc2 kernel: [ 2072.855565] ata6: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:29:05 mediapc2 kernel: [ 2072.855609] ata6: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:29:05 mediapc2 kernel: [ 2072.855658] ata6: hard resetting link<br />
Oct 27 19:29:14 mediapc2 kernel: [ 2081.940029] ata7: softreset failed (device not ready)<br />
Oct 27 19:29:14 mediapc2 kernel: [ 2081.940079] ata7: hard resetting link<br />
Oct 27 19:29:15 mediapc2 kernel: [ 2082.868029] ata6: softreset failed (device not ready)<br />
Oct 27 19:29:15 mediapc2 kernel: [ 2082.868080] ata6: hard resetting link<br />
Oct 27 19:29:19 mediapc2 kernel: [ 2087.452072] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:29:19 mediapc2 kernel: [ 2087.478782] ata6.00: configured for UDMA/133<br />
Oct 27 19:29:19 mediapc2 kernel: [ 2087.478797] ata6: EH complete<br />
Oct 27 19:29:24 mediapc2 kernel: [ 2091.964077] ata7: softreset failed (device not ready)<br />
Oct 27 19:29:24 mediapc2 kernel: [ 2091.964135] ata7: hard resetting link<br />
Oct 27 19:29:25 mediapc2 kernel: [ 2092.679513] ata6.00: limiting speed to UDMA/100:PIO4<br />
Oct 27 19:29:25 mediapc2 kernel: [ 2092.679522] ata6: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:29:25 mediapc2 kernel: [ 2092.679579] ata6: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:29:25 mediapc2 kernel: [ 2092.679623] ata6: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:29:25 mediapc2 kernel: [ 2092.679671] ata6: hard resetting link<br />
Oct 27 19:29:35 mediapc2 kernel: [ 2102.692026] ata6: softreset failed (device not ready)<br />
Oct 27 19:29:35 mediapc2 kernel: [ 2102.692078] ata6: hard resetting link<br />
Oct 27 19:29:35 mediapc2 kernel: [ 2103.504028] ata7: link is slow to respond, please be patient (ready=0)<br />
Oct 27 19:29:35 mediapc2 kernel: [ 2103.580029] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:29:35 mediapc2 kernel: [ 2103.601603] ata6.00: configured for UDMA/100<br />
Oct 27 19:29:35 mediapc2 kernel: [ 2103.601612] ata6: EH complete<br />
Oct 27 19:29:59 mediapc2 kernel: [ 2126.988048] ata7: softreset failed (device not ready)<br />
Oct 27 19:29:59 mediapc2 kernel: [ 2126.988108] ata7: hard resetting link<br />
Oct 27 19:30:00 mediapc2 kernel: [ 2127.876061] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:30:00 mediapc2 kernel: [ 2128.286454] ata7.00: configured for UDMA/133<br />
Oct 27 19:30:00 mediapc2 kernel: [ 2128.286464] ata7: EH complete<br />
Oct 27 19:30:56 mediapc2 kernel: [ 2184.418375] ata7: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:30:56 mediapc2 kernel: [ 2184.418441] ata7: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:30:56 mediapc2 kernel: [ 2184.418602] ata7: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:30:56 mediapc2 kernel: [ 2184.418697] ata7: hard resetting link<br />
Oct 27 19:30:56 mediapc2 kernel: [ 2184.418727] ata6: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:30:56 mediapc2 kernel: [ 2184.418785] ata6: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:30:56 mediapc2 kernel: [ 2184.418834] ata6: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:30:56 mediapc2 kernel: [ 2184.418890] ata6: hard resetting link<br />
Oct 27 19:31:06 mediapc2 kernel: [ 2194.432540] ata6: softreset failed (device not ready)<br />
Oct 27 19:31:06 mediapc2 kernel: [ 2194.432596] ata6: hard resetting link<br />
Oct 27 19:31:06 mediapc2 kernel: [ 2194.432614] ata7: softreset failed (device not ready)<br />
Oct 27 19:31:06 mediapc2 kernel: [ 2194.432662] ata7: hard resetting link<br />
Oct 27 19:31:07 mediapc2 kernel: [ 2195.320034] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:31:07 mediapc2 kernel: [ 2195.340777] ata6.00: configured for UDMA/100<br />
Oct 27 19:31:07 mediapc2 kernel: [ 2195.340789] ata6: EH complete<br />
Oct 27 19:31:08 mediapc2 kernel: [ 2195.768036] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:31:08 mediapc2 kernel: [ 2195.800345] ata7.00: configured for UDMA/133<br />
Oct 27 19:31:08 mediapc2 kernel: [ 2195.800357] ata7: EH complete<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990078] ata7: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990143] ata7: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990192] ata7: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990248] ata7: hard resetting link<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990303] ata6.00: limiting speed to UDMA/33:PIO4<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990311] ata6: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990367] ata6: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990415] ata6: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:34:22 mediapc2 kernel: [ 2389.990471] ata6: hard resetting link<br />
Oct 27 19:34:32 mediapc2 kernel: [ 2400.004031] ata7: softreset failed (device not ready)<br />
Oct 27 19:34:32 mediapc2 kernel: [ 2400.004082] ata7: hard resetting link<br />
Oct 27 19:34:32 mediapc2 kernel: [ 2400.004094] ata6: softreset failed (device not ready)<br />
Oct 27 19:34:32 mediapc2 kernel: [ 2400.004137] ata6: hard resetting link<br />
Oct 27 19:34:35 mediapc2 kernel: [ 2403.524034] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:34:35 mediapc2 kernel: [ 2403.547023] ata6.00: configured for UDMA/33<br />
Oct 27 19:34:35 mediapc2 kernel: [ 2403.547034] ata6: EH complete<br />
Oct 27 19:34:42 mediapc2 kernel: [ 2410.020534] ata7: softreset failed (device not ready)<br />
Oct 27 19:34:42 mediapc2 kernel: [ 2410.020587] ata7: hard resetting link<br />
Oct 27 19:34:43 mediapc2 kernel: [ 2410.908040] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:34:43 mediapc2 kernel: [ 2410.926177] ata7.00: configured for UDMA/133<br />
Oct 27 19:34:43 mediapc2 kernel: [ 2410.926189] ata7: EH complete<br />
Oct 27 19:37:20 mediapc2 kernel: [ 2567.834778] ata7: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:37:20 mediapc2 kernel: [ 2567.834840] ata7: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:37:20 mediapc2 kernel: [ 2567.834887] ata7: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:37:20 mediapc2 kernel: [ 2567.834938] ata7: hard resetting link<br />
Oct 27 19:37:21 mediapc2 kernel: [ 2568.761550] ata6: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1990000 action 0xe frozen<br />
Oct 27 19:37:21 mediapc2 kernel: [ 2568.761610] ata6: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:37:21 mediapc2 kernel: [ 2568.761655] ata6: SError: { PHYRdyChg 10B8B Dispar LinkSeq TrStaTrns }<br />
Oct 27 19:37:21 mediapc2 kernel: [ 2568.761705] ata6: hard resetting link<br />
Oct 27 19:37:30 mediapc2 kernel: [ 2577.856031] ata7: softreset failed (device not ready)<br />
Oct 27 19:37:30 mediapc2 kernel: [ 2577.856081] ata7: hard resetting link<br />
Oct 27 19:37:31 mediapc2 kernel: [ 2578.745046] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:37:31 mediapc2 kernel: [ 2578.773052] ata7.00: configured for UDMA/133<br />
Oct 27 19:37:31 mediapc2 kernel: [ 2578.773066] ata7: EH complete<br />
Oct 27 19:37:31 mediapc2 kernel: [ 2578.797034] ata6: softreset failed (device not ready)<br />
Oct 27 19:37:31 mediapc2 kernel: [ 2578.797085] ata6: hard resetting link<br />
Oct 27 19:37:32 mediapc2 kernel: [ 2579.684531] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:37:32 mediapc2 kernel: [ 2579.705605] ata6.00: configured for UDMA/33<br />
Oct 27 19:37:32 mediapc2 kernel: [ 2579.705620] ata6: EH complete<br />
Oct 27 19:38:01 mediapc2 kernel: [ 2608.859342] ata6: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:38:01 mediapc2 kernel: [ 2608.859401] ata6: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:38:01 mediapc2 kernel: [ 2608.859445] ata6: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:38:01 mediapc2 kernel: [ 2608.859494] ata6: hard resetting link<br />
Oct 27 19:38:02 mediapc2 kernel: [ 2609.806213] ata7.00: limiting speed to UDMA/100:PIO4<br />
Oct 27 19:38:02 mediapc2 kernel: [ 2609.806222] ata7: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:38:02 mediapc2 kernel: [ 2609.806279] ata7: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:38:02 mediapc2 kernel: [ 2609.806323] ata7: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:38:02 mediapc2 kernel: [ 2609.806372] ata7: hard resetting link<br />
Oct 27 19:38:11 mediapc2 kernel: [ 2618.892040] ata6: softreset failed (device not ready)<br />
Oct 27 19:38:11 mediapc2 kernel: [ 2618.892090] ata6: hard resetting link<br />
Oct 27 19:38:12 mediapc2 kernel: [ 2619.785032] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:38:12 mediapc2 kernel: [ 2619.811750] ata6.00: configured for UDMA/33<br />
Oct 27 19:38:12 mediapc2 kernel: [ 2619.811760] ata6: EH complete<br />
Oct 27 19:38:12 mediapc2 kernel: [ 2619.832044] ata7: softreset failed (device not ready)<br />
Oct 27 19:38:12 mediapc2 kernel: [ 2619.832098] ata7: hard resetting link<br />
Oct 27 19:38:13 mediapc2 kernel: [ 2620.720039] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:38:13 mediapc2 kernel: [ 2620.735611] ata7.00: configured for UDMA/100<br />
Oct 27 19:38:13 mediapc2 kernel: [ 2620.735621] ata7: EH complete<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.333822] ata7.00: exception Emask 0&#215;10 SAct 0&#215;1 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.333884] ata7.00: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.333930] ata7: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.333976] ata7.00: failed command: READ FPDMA QUEUED<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.334026] ata7.00: cmd 60/20:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 16384 in<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.334028]          res 40/00:04:00:00:00/00:00:00:00:00/40 Emask 0&#215;10 (ATA bus error)<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.334132] ata7.00: status: { DRDY }<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.334180] ata7: hard resetting link<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.363075] ata6.00: exception Emask 0&#215;10 SAct 0&#215;1 SErr 0&#215;1810000 action 0xe frozen<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.363136] ata6.00: irq_stat 0&#215;00400000, PHY RDY changed<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.363182] ata6: SError: { PHYRdyChg LinkSeq TrStaTrns }<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.363227] ata6.00: failed command: READ FPDMA QUEUED<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.363277] ata6.00: cmd 60/08:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 4096 in<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.363279]          res 40/00:04:00:00:00/00:00:00:00:00/40 Emask 0&#215;10 (ATA bus error)<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.363382] ata6.00: status: { DRDY }<br />
Oct 27 19:43:44 mediapc2 kernel: [ 2952.363429] ata6: hard resetting link<br />
Oct 27 19:43:54 mediapc2 kernel: [ 2962.348029] ata7: softreset failed (device not ready)<br />
Oct 27 19:43:54 mediapc2 kernel: [ 2962.348080] ata7: hard resetting link<br />
Oct 27 19:43:54 mediapc2 kernel: [ 2962.376027] ata6: softreset failed (device not ready)<br />
Oct 27 19:43:54 mediapc2 kernel: [ 2962.376074] ata6: hard resetting link<br />
Oct 27 19:44:01 mediapc2 kernel: [ 2969.032035] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:44:04 mediapc2 kernel: [ 2972.012034] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:44:06 mediapc2 kernel: [ 2974.032043] ata6.00: qc timeout (cmd 0xec)<br />
Oct 27 19:44:06 mediapc2 kernel: [ 2974.032054] ata6.00: failed to IDENTIFY (I/O error, err_mask=0&#215;4)<br />
Oct 27 19:44:06 mediapc2 kernel: [ 2974.032059] ata6.00: revalidation failed (errno=-5)<br />
Oct 27 19:44:06 mediapc2 kernel: [ 2974.032110] ata6: hard resetting link<br />
Oct 27 19:44:06 mediapc2 kernel: [ 2974.516050] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:44:06 mediapc2 kernel: [ 2974.537802] ata6.00: configured for UDMA/33<br />
Oct 27 19:44:06 mediapc2 kernel: [ 2974.537822] ata6: EH complete<br />
Oct 27 19:44:09 mediapc2 kernel: [ 2977.013038] ata7.00: qc timeout (cmd 0xec)<br />
Oct 27 19:44:09 mediapc2 kernel: [ 2977.013049] ata7.00: failed to IDENTIFY (I/O error, err_mask=0&#215;4)<br />
Oct 27 19:44:09 mediapc2 kernel: [ 2977.013055] ata7.00: revalidation failed (errno=-5)<br />
Oct 27 19:44:09 mediapc2 kernel: [ 2977.013104] ata7: hard resetting link<br />
Oct 27 19:44:09 mediapc2 kernel: [ 2977.497041] ata7: SATA link up 1.5 Gbps (SStatus 113 SControl 310)<br />
Oct 27 19:44:09 mediapc2 kernel: [ 2977.519787] ata7.00: configured for UDMA/100<br />
Oct 27 19:44:09 mediapc2 kernel: [ 2977.519806] ata7: EH complete
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2012/10/31/power-supply-failures-can-be-pretty-annoying-to-find/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The power of TNT is at your disposal</title>
		<link>http://dekar.wc3edit.net/2012/10/11/the-power-of-tnt-is-at-your-disposal/</link>
		<comments>http://dekar.wc3edit.net/2012/10/11/the-power-of-tnt-is-at-your-disposal/#comments</comments>
		<pubDate>Thu, 11 Oct 2012 22:54:19 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[TNT]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=195</guid>
		<description><![CDATA[TNT stands for Thumb2 Newlib Toolchain, a GCC/Newlib based toolchain project I started quite a while ago. Trying various other toolchains like CodeSourcery, summon-arm-toolchain and YAGARTO, I realized none of them really seemed to have the smallest ARM Cortex-M microcontrollers in mind; They were wasteful with RAM as well as flash memory. TNT has been ...</p><p><a href="http://dekar.wc3edit.net/2012/10/11/the-power-of-tnt-is-at-your-disposal/" class="more-link">Continue reading &#8216;The power of TNT is at your disposal&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>TNT stands for Thumb2 Newlib Toolchain, a GCC/Newlib based toolchain project I started quite a while ago. Trying various other toolchains like CodeSourcery, summon-arm-toolchain and YAGARTO, I realized none of them really seemed to have the smallest ARM Cortex-M microcontrollers in mind; They were wasteful with RAM as well as flash memory. TNT has been optimized for small unhosted (bare-metal) microcontroller targets and thus size optimizations have been the primary goal. Especially the C-library Newlib has been configured for the least possible size which makes using it (e.g. printf()) much more affordable. I have seen size reductions of over 30% compared to other GCC based toolchains when compiling the TNT_Example project.</p>
<p>The following architectures are supported:<br />
armv6s-m (cortex-m0/cortex-m1) armv7-m (cortex-m3) armv7e-m (cortex-m4/cortex-m4f including FPU and DSP instruction support)</p>
<p>The TNT_Example project is targeted at beginners using STM32 microcontrollers, it plays well with TNT and other GCC based toolchains. It has an example on how to implement the Newlib stubs to get syscalls like malloc() and printf() working. For the STM32F4 discovery board you can just compile it and get the lights blinking. For other targets you&#8217;ll have to slightly adjust the makefile. <a href="https://github.com/EliasOenal/TNT_Example">https://github.com/EliasOenal/TNT_Example</a></p>
<p>TNT precompiled downloads:<br />
<a href="http://dekar.wc3edit.net/tnt/TNT_linux_x86-64_2012.10.tar.bz2">Linux x64</a><br />
<a href="http://dekar.wc3edit.net/tnt/TNT_osx_x86-64_2012.10.tar.bz2">OSX x64</a></p>
<p>Source:<br />
<a href="https://github.com/EliasOenal/TNT">https://github.com/EliasOenal/TNT</a></p>
<p><span id="more-195"></span><br />
Software licenses:<br />
<a href="https://raw.github.com/texane/stlink/master/COPYING">stlink</a><br />
<a href="http://sourceware.org/newlib/COPYING.NEWLIB">newlib</a><br />
<a href="http://www.gnu.org/licenses/gpl-3.0.txt">GCC, GDB, binutils</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2012/10/11/the-power-of-tnt-is-at-your-disposal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSX port of the awesome gqrx SDR software [Update 02/03/2013]</title>
		<link>http://dekar.wc3edit.net/2012/09/30/osx-port-of-the-awesome-gqrx-sdr-software/</link>
		<comments>http://dekar.wc3edit.net/2012/09/30/osx-port-of-the-awesome-gqrx-sdr-software/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 12:47:06 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[gqrx]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[rtl-sdr]]></category>
		<category><![CDATA[rtlsdr]]></category>
		<category><![CDATA[SDR]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=151</guid>
		<description><![CDATA[A while ago I already managed to compile gqrx on OSX, but then Alexandru Csete decided to move on to a new audio backend called pulseaudio. Sadly there is no proper pulseaudio port for OSX. Thus I bring you my branch of gqrx 2.1 which runs quite well on OSX. It contains all the rtl-sdr, ...</p><p><a href="http://dekar.wc3edit.net/2012/09/30/osx-port-of-the-awesome-gqrx-sdr-software/" class="more-link">Continue reading &#8216;OSX port of the awesome gqrx SDR software [Update 02/03/2013]&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/rtlsdr_gqrx_MW.png"><img class="aligncenter size-large wp-image-169" title="rtlsdr_gqrx_MW" src="http://dekar.wc3edit.net/wp-content/uploads/2012/09/rtlsdr_gqrx_MW-1024x622.jpg" alt="" width="697" height="424" /></a></p>
<p>A while ago I already managed to compile gqrx on OSX, but then Alexandru Csete decided to move on to a new audio backend called pulseaudio. Sadly there is no proper pulseaudio port for OSX. Thus I bring you <a href="https://github.com/EliasOenal/gqrx">my branch</a> of gqrx 2.1 which runs quite well on OSX.</p>
<p>It contains all the rtl-sdr, gr-osmosdr, GNU Radio, libUSB, boost and Qt dependencies so it should work out of the box. Feel free to contact me in case you encounter problems. I built it on OSX Lion (10.7), and people on Reddit reported it running well on OSX Mountain Lion (10.8). I assume it also runs on Snow Leopard (10.6), though I don&#8217;t know for sure. Sadly Leopard (10.5) isn&#8217;t supported due to Apple breaking binary compatibility on 64bit binaries for some reason.</p>
<p>Download the ready to use DMG/APP here:<br />
<a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/gqrx_7.dmg">gqrx_7.dmg</a> &#8211; (02/03/2013) Up to date with GIT. I&#8217;ve added a deadlock prevention feature in case your settings keep gqrx from starting up properly. After a crash/forced-close it asks you whether you want to reset all your settings to default. This should help you guys with invalid rtl_tcp settings and the like. I have also fixed rtl_fm to now properly work on OSX (It used to only output noise), as well as multimonNG which now supports umlauts for POCSAG decoding. So check out the bundled command-line utilities! <img src='http://dekar.wc3edit.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (e.g. /Applications/Gqrx.app/Contents/MacOS/rtl_test -t)<br />
<span id="more-151"></span><br />
Old versions:<br />
<a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/gqrx_6.dmg">gqrx_6.dmg</a> &#8211; Latest (01/16/2013) updates from GIT, yet again. This time I also packaged some command-line utilities (multimonNG rtl_adsb rtl_eeprom rtl_fm rtl_sdr rtl_tcp rtl_test) together with Gqrx. rtl_fm seems to be broken on OSX, yet we&#8217;re still triaging the bug. It would be great if you could try it and report whether it works for you. (<a href="http://kmkeen.com/rtl-demod-guide/index.html">http://kmkeen.com/rtl-demod-guide/index.html</a>) I am considering packaging up the whole of gnuradio including the companion GUI if there is demand.<br />
<a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/gqrx_5.dmg">gqrx_5.dmg</a> (Latest updates from GIT, supports adjusting the FFT resolution which should fix the pink curtain problem. The zoom slider has been removed from upstream, yet you can still zoom by using the mouse wheel on the axes.)<br />
<a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/gqrx_4.dmg">gqrx_4.dmg</a> (GNU Radio component has now been compiled with &#8220;-DTRY_SHM_VMCIRCBUF=OFF&#8221;, this should hopefully fix the shared memory problem some of you have encountered. Please report whether it works now.)<br />
<a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/gqrx_3.dmg">gqrx_3.dmg</a> (Rebased to the zoom branch. Credit goes to vpelletier for the awesome patch!)</p>
<blockquote><p>Pan: left-click on X-axis labels &amp; drag horizontally<br />
Pan (alternative): Mouse wheel on X-axis labels, faster pan with Shift held and slower pan with Ctrl held.<br />
Change central frequency: middle-click on X-axis labels &amp; drag horizontally<br />
Zoom: slider on FFT panel</p></blockquote>
<p><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/gqrx_2.dmg">gqrx_2.dmg</a> (Updated gr-osmosdr and fixed a crash when disabling demod.)<br />
<a href="http://dekar.wc3edit.net/wp-content/uploads/2012/09/gqrx.dmg">gqrx.dmg</a></p>
<p>PS:<br />
The screenshot was taken in direct sampling mode, that&#8217;s why I was able to receive 0-2.4mhz. I&#8217;ll probably blog about my modded dongle soon.</p>
<p>Software licenses:<br />
<a href="https://raw.github.com/csete/gqrx/master/COPYING">Gqrx</a><br />
<a href="http://doc-snapshot.qt-project.org/4.8/lgpl.html">Qt</a><br />
<a href="https://raw.github.com/EliasOenal/multimonNG/master/COPYING">multimonNG</a><br />
<a href="http://www.boost.org/LICENSE_1_0.txt">boost</a><br />
<a href="http://cgit.osmocom.org/cgit/gr-osmosdr/plain/COPYING">gr-osmosdr</a><br />
<a href="http://cgit.osmocom.org/cgit/rtl-sdr/plain/COPYING">rtl-sdr</a><br />
<a href="http://gnuradio.org/cgit/gnuradio.git/plain/COPYING">GNU Radio</a><br />
<a href="http://www.fftw.org/fftw3_doc/License-and-Copyright.html">FFTW</a><br />
<a href="http://www.portaudio.com/license.html">PortAudio</a><br />
<a href="http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt">libusb</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2012/09/30/osx-port-of-the-awesome-gqrx-sdr-software/feed/</wfw:commentRss>
		<slash:comments>132</slash:comments>
		</item>
		<item>
		<title>Fixing a weird problem where macdeployqt drops icons from app bundle</title>
		<link>http://dekar.wc3edit.net/2012/09/30/fixing-a-weird-problem-where-macdeployqt-drops-icons-from-app-bundle/</link>
		<comments>http://dekar.wc3edit.net/2012/09/30/fixing-a-weird-problem-where-macdeployqt-drops-icons-from-app-bundle/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 12:02:08 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=145</guid>
		<description><![CDATA[Qt has a great tool for building self contained application bundles on OSX, it&#8217;s called &#8220;macdeployqt&#8221;. Though I recently had a really weird bug while using it. When I ran the application normally everything was fine, but once I used the macdeployqt all the icons were missing. After a while investigating this I realized not ...</p><p><a href="http://dekar.wc3edit.net/2012/09/30/fixing-a-weird-problem-where-macdeployqt-drops-icons-from-app-bundle/" class="more-link">Continue reading &#8216;Fixing a weird problem where macdeployqt drops icons from app bundle&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Qt has a great tool for building self contained application bundles on OSX, it&#8217;s called &#8220;macdeployqt&#8221;. Though I recently had a really weird bug while using it. When I ran the application normally everything was fine, but once I used the macdeployqt all the icons were missing. After a while investigating this I realized not all types of icons were affected, SVGs wouldn&#8217;t show, yet JPGs would. Long story short, you have to explicitly declare the use of the SVG module (or any other module you use) inside the project file so it ends up in the final bundle.</p>
<p>tl;dr:<br />
<strong>QT       += svg</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2012/09/30/fixing-a-weird-problem-where-macdeployqt-drops-icons-from-app-bundle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>multimonNG</title>
		<link>http://dekar.wc3edit.net/2012/05/24/multimonng/</link>
		<comments>http://dekar.wc3edit.net/2012/05/24/multimonng/#comments</comments>
		<pubDate>Thu, 24 May 2012 01:20:50 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[rtl-sdr]]></category>
		<category><![CDATA[rtlsdr]]></category>
		<category><![CDATA[SDR]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=120</guid>
		<description><![CDATA[Due to my recent acquisition of an RTL-SDR compatible radio module (Some would call it DVB-T stick) I started playing with radio transmissions. Doing so I found POCSAG transmissions which I tried to decode using multimon. Sadly multimon was very broken, after I finally managed to compile it on OS X I realized it had ...</p><p><a href="http://dekar.wc3edit.net/2012/05/24/multimonng/" class="more-link">Continue reading &#8216;multimonNG&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Due to my recent acquisition of an RTL-SDR compatible radio module (Some would call it DVB-T stick) I started playing with radio transmissions. Doing so I found POCSAG transmissions which I tried to decode using multimon. Sadly multimon was very broken, after I finally managed to compile it on OS X I realized it had 64bit bugs preventing the decoding on my system. So I forked it and patched a lot. I rewrote large parts of the POCSAG decoder after reading the patent text as well as implemented the BCH forward error correction. Besides improving POCSAG my main focus was portability, it now even compiles on windows <img src='http://dekar.wc3edit.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>MultimonNG a fork of multimon. It decodes the following digital transmission modes:<br />
POCSAG512 POCSAG1200 POCSAG2400 EAS UFSK1200 CLIPFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI</p>
<p>The following changes have been made so far:<br />
-Fixes for x64<br />
-Basic functionality on Mac OS X &#8216;Lion&#8217; (Soundcard/OSS input is unsupported)<br />
-&#8217;DUMMY_AUDIO&#8217; &#8220;backend&#8221; (Gets rid of the OSS dependency, breaks audio in doing so)<br />
-&#8217;ONLY_RAW&#8217; disables the format conversion while getting rid of posix dependencies<br />
-Option &#8216;NO_X11&#8242; to disable the X11 dependency since Apple will drop Xorg soon<br />
-Override mode for POCSAG decoding (e.g. force text decoding)<br />
-Brute-Force BCH implementation for POCSAG forward error correction<br />
-Verbose mode is now listed in &#8216;-h&#8217;<br />
-Merged Debian patches for EAS (Emergency Alert System) decoding (untested)<br />
-Portability is a major goal<br />
-Compiles on Windows (MinGW or Cygwin) without format conversion<br />
-PulseAudio support, contributed by inf_l00p_<br />
-Windows native audio and a VisualStudio/MSVC project file, contributed by bzzt_ploink</p>
<p>In addition to the deprecated legacy Makefile there is also a file for qmake which is the preferred way of building MultimonNG. It&#8217;s recommended to use qmake to generate the Makefile. (&#8216;qmake multimonNG.pro &amp;&amp; make&#8217;)<br />
So far multimonNG has been successfully built on OS X, Debian, Ubuntu and Windows. (On Windows using the Qt-MinGW build environment, as well as Cygwin and VisualStudio/MSVC)</p>
<p>Files can be easily converted into multimonNGs native raw format using &#8216;sox&#8217;.<br />
e.g. &#8220;sox -t wav pocsag_short.wav -esigned-integer -b16 -r 22050 -t raw pocsag_short.raw&#8221;<br />
GNURadio can also generate the format using the file sink in input mode &#8216;short&#8217;.</p></blockquote>
<p>Source: <a href="https://github.com/EliasOenal/multimonNG/">https://github.com/EliasOenal/multimonNG/</a><br />
License: <a href="https://raw.github.com/EliasOenal/multimonNG/master/COPYING">GPLv2</a></p>
<p>Windows version (Update 02/02/13 &#8211; Properly convert umlauts.): <a href="http://dekar.wc3edit.net/wp-content/uploads/2012/05/multimonNG_win32_2.zip">multimonNG_win32</a></p>
<p>Some testfile converted to the native multimon format: <a href="http://dekar.wc3edit.net/wp-content/uploads/2012/05/poc1200.zip">poc1200</a><br />
(Source: http://www.kb9ukd.com/digital/)<br />
To decode it try &#8220;multimonNG.exe -a POCSAG1200 -t raw poc1200.raw&#8221;.</p>
<p>PS:<br />
Superkuh wrote a bit about using multimonNG with GNURadio allowing for realtime decoding. <a href="http://superkuh.com/rtlsdr.html">http://superkuh.com/rtlsdr.html</a></p>
<p>PPS:<br />
Apparently you can combine multimonNG with rtl_fm to live decode POCSAG. It even seems to be lightweight enough to work on a Raspberry Pi. Thanks to Sonny_Jim from ##rtlsdr on freenode for trying!</p>
<blockquote><p>&lt;Sonny_Jim&gt; Ok, so this works:<br />
&lt;Sonny_Jim&gt; rtl_fm -f 153.353e6 -g 100 -s 22050 -l 310 &#8211; |multimon -t raw -a POCSAG1200 -f alpha /dev/stdin</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2012/05/24/multimonng/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Overclocking my HTC Vision aka Desire Z aka G2</title>
		<link>http://dekar.wc3edit.net/2012/01/01/overclocking-my-htc-vision-aka-desire-z-aka-g2/</link>
		<comments>http://dekar.wc3edit.net/2012/01/01/overclocking-my-htc-vision-aka-desire-z-aka-g2/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 06:00:26 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=100</guid>
		<description><![CDATA[I&#8217;ve recently added some modifications to the Cyanogenmod kernel. They include overclocking up to 2ghz as well as lower idle voltages (undervolting) and a higher default maximum frequency. The maximum frequency after bootup is now 1516800hz. It can be changed up to 2016000hz. Frequencies higher than 1612800hz are unstable when using the ondemand governor on ...</p><p><a href="http://dekar.wc3edit.net/2012/01/01/overclocking-my-htc-vision-aka-desire-z-aka-g2/" class="more-link">Continue reading &#8216;Overclocking my HTC Vision aka Desire Z aka G2&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve recently added some modifications to the Cyanogenmod kernel. They include overclocking up to 2ghz as well as lower idle voltages (undervolting) and a higher default maximum frequency. The maximum frequency after bootup is now 1516800hz. It can be changed up to 2016000hz. Frequencies higher than 1612800hz are unstable when using the ondemand governor on my phone, they seem to be stable when used with the performance governor or even the conservative one, so I think it might be related to the fast frequency switching. At 2ghz the phone gets really hot in a matter of minutes so be careful, you can probably damage it using this kernel. Thus I take no responsibility for any damages resulting from using this kernel!</p>
<p>My frequency(in hz)/voltage(in mV)-table is the following:<br />
245760 750<br />
368640 800<br />
768000 900<br />
806400 925<br />
1113600 1000<br />
1209600 1050<br />
1305600 1100<br />
1401600 1150<br />
1497600 1225<br />
1516800 1225<br />
1612800 1300<br />
1708800 1450<br />
1804800 1500<br />
1920000 1500<br />
2016000 1500</p>
<p>Download: <a href='http://dekar.wc3edit.net/wp-content/uploads/2012/01/zImage.zip'>zImage</a> <a href='http://dekar.wc3edit.net/wp-content/uploads/2012/01/bcm4329.ko_.zip'>bcm4329.ko</a></p>
<p>PS:<br />
I just was able to lower the voltages a bit, here is the new kernel: <a href='http://dekar.wc3edit.net/wp-content/uploads/2012/01/zImage_v2.zip'>zImage_v2</a><br />
245760 750<br />
368640 800<br />
768000 900<br />
806400 925<br />
1113600 1000<br />
1209600 1050<br />
1305600 1100<br />
1401600 1150<br />
1516800 1200<br />
1612800 1250<br />
1708800 1300<br />
1804800 1400<br />
1920000 1450<br />
2016000 1500</p>
<p>PPS:<br />
I made a third version containing a crude hack to fix the problem with the governors. Now my phone runs at min 245mhz and max 1920mhz using the ondemand governor.<br />
Download: <a href='http://dekar.wc3edit.net/wp-content/uploads/2012/01/zImage_v3.zip'>zImage_v3</a><br />
Source: <a href='http://dekar.wc3edit.net/wp-content/uploads/2012/01/acpuclock-7x30.c'>acpuclock-7&#215;30</a> (The only file I changed) <a href="https://github.com/CyanogenMod/htc-kernel-msm7x30">https://github.com/CyanogenMod/htc-kernel-msm7x30<br />
</a><br />
PPPS:<br />
The easiest way to flash it is using fastboot and adb from the android sdk. I guess I could also build a flashable zip, but I don&#8217;t feel like figuring how that works. If someone makes one, feel free to send me a copy, I&#8217;ll attach it here.<br />
Flashing the kernel:</p>
<p><code>fastboot flash zimage zImage</code></p>
<p>Flashing the new WiFi module:</p>
<p><code>adb remount<br />
adb push bcm4329.ko /system/lib/modules</code></p>
<p>After using my kernel for quite a while it seems to be pretty stable on my phone. Running at 2GHz I sometimes get random freezes, but 1.92GHz seems stable for daily use. I also tried playing 3d games on 1.92GHz for about half an hour and even though the phone got noticeably hot everything went peachy. <img src='http://dekar.wc3edit.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/01/screenshot-1325394929557.png"><img src="http://dekar.wc3edit.net/wp-content/uploads/2012/01/screenshot-1325394929557-180x300.png" alt="" title="screenshot-1325394929557" width="180" height="300" class="alignleft size-medium wp-image-90" /></a><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/01/screenshot-1325394694568.png"><img src="http://dekar.wc3edit.net/wp-content/uploads/2012/01/screenshot-1325394694568-180x300.png" alt="" title="screenshot-1325394694568" width="180" height="300" class="alignleft size-medium wp-image-87" /></a><a href="http://dekar.wc3edit.net/wp-content/uploads/2012/01/screenshot-1325395045401.png"><img src="http://dekar.wc3edit.net/wp-content/uploads/2012/01/screenshot-1325395045401-180x300.png" alt="" title="screenshot-1325395045401" width="180" height="300" class="alignleft size-medium wp-image-89" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2012/01/01/overclocking-my-htc-vision-aka-desire-z-aka-g2/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>A driver independent and really ugly way to set the display brightness</title>
		<link>http://dekar.wc3edit.net/2010/09/06/a-driver-independent-and-really-ugly-way-to-set-the-display-brightness/</link>
		<comments>http://dekar.wc3edit.net/2010/09/06/a-driver-independent-and-really-ugly-way-to-set-the-display-brightness/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 10:44:34 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=79</guid>
		<description><![CDATA[I lately had some problems changing my laptops (A Samsung Q45) brightness since the major distributions went on and started using KMS instead of the prior Xorg driver, even though most Samsung laptops aren&#8217;t properly supported. Searching around the net I found some hints about using setpci &#8211; Writing directly into the hardware. dekar@vasectomy:~$ sudo ...</p><p><a href="http://dekar.wc3edit.net/2010/09/06/a-driver-independent-and-really-ugly-way-to-set-the-display-brightness/" class="more-link">Continue reading &#8216;A driver independent and really ugly way to set the display brightness&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I lately had some problems changing my laptops (A Samsung Q45) brightness since the major distributions went on and started using KMS instead of the prior Xorg driver, even though most Samsung laptops aren&#8217;t properly supported. Searching around the net I found some hints about using setpci &#8211; Writing directly into the hardware.<br />
<code><br />
dekar@vasectomy:~$ sudo dmidecode -s system-manufacturer<br />
SAMSUNG ELECTRONICS CO., LTD.<br />
dekar@vasectomy:~$ sudo dmidecode -s system-product-name<br />
SQ45S70S<br />
dekar@vasectomy:~$ lspci | grep VGA<br />
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)<br />
dekar@vasectomy:~$ sudo setpci -s 00:02.0 F4.B=FF<br />
</code><br />
Values between 0&#215;00 and 0xFF should work, though my display turns off once I lower them too far and refuses to start working unless I reboot the whole thing. 0&#215;40 to 0xFF should be safe.</p>
<p>Update:<br />
The following samsung-backlight fork worked for me in fully integrating the backlight control again. Works fine now using the hotkeys <img src='http://dekar.wc3edit.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>https://github.com/xonatius/samsung-backlight</p>
<p>You probably need to install the kernel sources, at least the headers. Besides this installing should be totally painless and after doing so you can load it using &#8216;modprobe samsung-backlight&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2010/09/06/a-driver-independent-and-really-ugly-way-to-set-the-display-brightness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Optoma HD700X projector running at 120hz &#8211; So I can probably do 3D?</title>
		<link>http://dekar.wc3edit.net/2010/08/23/my-optoma-hd700x-projector-running-at-120hz-so-i-can-probably-do-3d/</link>
		<comments>http://dekar.wc3edit.net/2010/08/23/my-optoma-hd700x-projector-running-at-120hz-so-i-can-probably-do-3d/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 21:23:52 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=73</guid>
		<description><![CDATA[I didn&#8217;t find any information about this (just people whining about not getting a firmware update) so I feel like posting it so others may find it using google. My HD700X seems to be able to do 120hz. I just did a quick test using my laptop (vga) since my media pc (hdmi) is broken ...</p><p><a href="http://dekar.wc3edit.net/2010/08/23/my-optoma-hd700x-projector-running-at-120hz-so-i-can-probably-do-3d/" class="more-link">Continue reading &#8216;My Optoma HD700X projector running at 120hz &#8211; So I can probably do 3D?&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I didn&#8217;t find any information about this (just people whining about not getting a firmware update) so I feel like posting it so others may find it using google. My HD700X seems to be able to do 120hz. I just did a quick test using my laptop (vga) since my media pc (hdmi) is broken right now, but it seems to work. I am running Debian and all I did was set the resolution, it just worked. The online specs I read state it could only do 100hz, but it even shows me it is actually running at 120hz. So if anyone has one of those projectors, as well as 3D equipment, I would highly appreciate any feedback on how well it works since I am thinking about getting shutter glasses as well. <img src='http://dekar.wc3edit.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://dekar.wc3edit.net/2010/08/23/my-optoma-hd700x-projector-running-at-120hz-so-i-can-probably-do-3d/2010-08-23-22-54-53/" rel="attachment wp-att-251"><img src="http://dekar.wc3edit.net/wp-content/uploads/2010/08/2010-08-23-22.54.53-300x225.jpg" alt="2010-08-23-22.54.53" width="300" height="225" class="alignleft size-medium wp-image-251" /></a><br />
Update:<br />
Watching 24p video at 24hz is fluent (besides the 24p lagginess), same for 48hz. But from that point on (72hz, 96hz and 120hz) it starts juttering. I am not sure whether that&#8217;s vdpau/nvidia or the projector. I also realized my HD700X reports as HD65 according to the EDID data. Pretty weird &#8211; I guess the easiest way to find out whether it actually supports 120hz is getting 3d shutter equipment.</p>
<p>Update #2:<br />
Optoma released an official firmware update unlocking 120hz operation including DLP-Link for the HD65, HD700x and GT7000 projectors.</p>
<p><a href="http://www.optoma.co.uk/projectordetailshccs.aspx?ShowMenu=HE&#038;PTypedb=Home%20Entertainment&#038;PC=HD65%203D%20Upgrade">Download it here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2010/08/23/my-optoma-hd700x-projector-running-at-120hz-so-i-can-probably-do-3d/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My dynamic banner thing is Public Domain now!</title>
		<link>http://dekar.wc3edit.net/2010/01/13/my-dynamic-banner-thing-is-public-domain-now/</link>
		<comments>http://dekar.wc3edit.net/2010/01/13/my-dynamic-banner-thing-is-public-domain-now/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 06:59:38 +0000</pubDate>
		<dc:creator>Elias Önal</dc:creator>
				<category><![CDATA[Banner]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://dekar.wc3edit.net/?p=58</guid>
		<description><![CDATA[I&#8217;ve added the link to the source quite a while ago, but I feel like posting it here as well so php beginners who want to play with Imagemagik can find it, my banner generator is Public Domain now. So you can get it and do whatever you like using it &#8211; just don&#8217;t blame ...</p><p><a href="http://dekar.wc3edit.net/2010/01/13/my-dynamic-banner-thing-is-public-domain-now/" class="more-link">Continue reading &#8216;My dynamic banner thing is Public Domain now!&#8217; &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve added the link to the source quite a while ago, but I feel like posting it here as well so php beginners who want to play with Imagemagik can find it, my banner generator is Public Domain now. So you can get it and do whatever you like using it &#8211; just don&#8217;t blame me if something goes wrong or breaks <img src='http://dekar.wc3edit.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><a href="http://dekar.wc3edit.net/banner.tar.bz2" title="Download"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://dekar.wc3edit.net/2010/01/13/my-dynamic-banner-thing-is-public-domain-now/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
