<?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>KernelLabs.com &#187; Devin Heitmueller</title>
	<atom:link href="http://www.kernellabs.com/blog/?feed=rss2&#038;author=3" rel="self" type="application/rss+xml" />
	<link>http://www.kernellabs.com/blog</link>
	<description>... it's not just another Linux blog</description>
	<lastBuildDate>Mon, 06 Sep 2010 15:26:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Hauppauge USBLive2 and new HVR-850 support</title>
		<link>http://www.kernellabs.com/blog/?p=1445</link>
		<comments>http://www.kernellabs.com/blog/?p=1445#comments</comments>
		<pubDate>Tue, 03 Aug 2010 12:48:56 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[hauppauge]]></category>
		<category><![CDATA[hvr-850]]></category>
		<category><![CDATA[usblive2]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1445</guid>
		<description><![CDATA[If you happen to own one of the newer Hauppauge USBLive2 video grabbers, or the newest version of the Hauppauge HVR-850, you can find support for it here: http://kernellabs.com/hg/~dheitmueller/polaris4/ It&#8217;s not completely cleaned up yet, but both devices are working. Thanks go out to Conexant for making available a base Linux driver, and to Hauppauge [...]]]></description>
			<content:encoded><![CDATA[<p>If you happen to own one of the newer Hauppauge USBLive2 video grabbers, or the newest version of the Hauppauge HVR-850, you can find support for it here:</p>
<p><a href=" http://kernellabs.com/hg/~dheitmueller/polaris4"></p>
<p>http://kernellabs.com/hg/~dheitmueller/polaris4/</a></p>
<p>It&#8217;s not completely cleaned up yet, but both devices are working.</p>
<p>Thanks go out to Conexant for making available a base Linux driver, and to Hauppauge for sample hardware and sponsoring device support and a bunch of the cleanup work required to get the changes into the mainline kernel.</p>
<p>Tester feedback welcome, as always.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1445</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>HVR-950q Quality Fixes</title>
		<link>http://www.kernellabs.com/blog/?p=1439</link>
		<comments>http://www.kernellabs.com/blog/?p=1439#comments</comments>
		<pubDate>Sat, 10 Jul 2010 14:14:30 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1439</guid>
		<description><![CDATA[Last month we started doing some quality work on the analog side of the HVR-950q. This resulted in a series of fixes which can be found here: http://www.kernellabs.com/hg/~dheitmueller/v4l-dvb-950q-final We found various issues related to the comb filter, the power management, and a particularly nasty problem with the frame alignment that was causing very jerky video [...]]]></description>
			<content:encoded><![CDATA[<p>Last month we started doing some quality work on the analog side of the HVR-950q.  This resulted in a series of fixes which can be found here:</p>
<p><a href="http://www.kernellabs.com/hg/~dheitmueller/v4l-dvb-950q-final/">http://www.kernellabs.com/hg/~dheitmueller/v4l-dvb-950q-final</a></p>
<p>We found various issues related to the comb filter, the power management, and a particularly nasty problem with the frame alignment that was causing very jerky video when there was motion.  In all, I think users will be very happy with the improvements.</p>
<p>And of course, a big thank you goes out to GetWellNetwork Inc., who was kind enough to sponsor the work.</p>
<p>As always, feedback from users willing to try out the changes is always welcome in the comments below&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1439</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>4th of July: PCTV 80e Support</title>
		<link>http://www.kernellabs.com/blog/?p=1435</link>
		<comments>http://www.kernellabs.com/blog/?p=1435#comments</comments>
		<pubDate>Sun, 04 Jul 2010 22:07:56 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[80e]]></category>
		<category><![CDATA[drxj]]></category>
		<category><![CDATA[em28xx]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1435</guid>
		<description><![CDATA[On this fine Independence Day, the PCTV 80e declares independence from the tyranny of Windows. Ok, apologies to anyone from the U.K. for my quirky American sense of humor. Seriously though, Trident Microsystems finally agreed to allow the DRX-J code to be released under a BSD license. This means that we can finally release a [...]]]></description>
			<content:encoded><![CDATA[<p>On this fine Independence Day, the PCTV 80e declares independence from the tyranny of Windows.</p>
<p>Ok, apologies to anyone from the U.K. for my quirky American sense of humor.</p>
<p>Seriously though, Trident Microsystems finally agreed to allow the DRX-J code to be released under a BSD license.  This means that we can finally release a driver for the PCTV 80e.</p>
<p><a href="http://www.kernellabs.com/hg/~dheitmueller/v4l-dvb-80e">http://www.kernellabs.com/hg/~dheitmueller/v4l-dvb-80e</a></p>
<p>The ATSC support has been tested.  Haven&#8217;t had a chance to burn in the ClearQAM support.  And there&#8217;s a bunch of cleanup work required before it can be submitted upstream.  But it does work, and should satisfy those who have this board and want to see it working under Linux.</p>
<p>Thanks go out to Trident Microsystems for finally allowing this release, as well as to Hauppauge and PCTV Systems for pushing them on it for so long.</p>
<p>Testing/feedback welcome of course in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1435</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>HVR-950q Closed Captioning support</title>
		<link>http://www.kernellabs.com/blog/?p=1428</link>
		<comments>http://www.kernellabs.com/blog/?p=1428#comments</comments>
		<pubDate>Sun, 06 Jun 2010 13:48:36 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[au0828]]></category>
		<category><![CDATA[hauppauge]]></category>
		<category><![CDATA[hvr-950q]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[tvtime]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1428</guid>
		<description><![CDATA[Hello all! If anyone is interested in closed captioning support for the HVR-950q, you can get it from the following tree: http://kernellabs.com/hg/~dheitmueller/v4l-dvb-950qvbi Unfortunately, the work exposed a bug in tvtime which prevented it from working, which I fixed here: http://kernellabs.com/hg/~dheitmueller/tvtime But it *is* working with zvbi-ntsc-cc out of the box. Comments welcome, as always. Next [...]]]></description>
			<content:encoded><![CDATA[<p>Hello all!</p>
<p>If anyone is interested in closed captioning support for the HVR-950q, you can get it from the following tree:</p>
<p><a href="http://kernellabs.com/hg/~dheitmueller/v4l-dvb-950qvbi">http://kernellabs.com/hg/~dheitmueller/v4l-dvb-950qvbi</a></p>
<p>Unfortunately, the work exposed a bug in tvtime which prevented it from working, which I fixed here:</p>
<p><a href="http://kernellabs.com/hg/~dheitmueller/tvtime">http://kernellabs.com/hg/~dheitmueller/tvtime</a></p>
<p>But it *is* working with zvbi-ntsc-cc out of the box.</p>
<p>Comments welcome, as always.  Next stop:  HVR-950q quality improvements!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1428</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still plugging along&#8230;</title>
		<link>http://www.kernellabs.com/blog/?p=1423</link>
		<comments>http://www.kernellabs.com/blog/?p=1423#comments</comments>
		<pubDate>Tue, 11 May 2010 02:20:35 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[ngene]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1423</guid>
		<description><![CDATA[It&#8217;s been a while since we&#8217;ve posted anything to the blog, but I just wanted to let people know what we&#8217;re still here, and working quite hard. For the last six weeks we have been diligently working away at analog support for the Ngene chipset. In particular, we&#8217;re working on Linux support for the Viewcast [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since we&#8217;ve posted anything to the blog, but I just wanted to let people know what we&#8217;re still here, and working quite hard.</p>
<p>For the last six weeks we have been diligently working away at analog support for the Ngene chipset.  In particular, we&#8217;re working on Linux support for the Viewcast 240e and 450e, which are commercial grade PCIe capture cards (the 240e has one port and the 450e has four ports).  The hardware is loaded with features and we&#8217;re working to bring those features to Linux (including VBI support, ALSA audio, secondary hardware preamp volume controls).  And the hardware itself has a host of input types, including composite, s-video, component video, and both stereo RCA and XLR audio inputs.  It even has a 19&#8243; rackmount panel for hooking up all the different inputs to (the 450e can have 12 video feeds connected).</p>
<p>We&#8217;ve ended up with new drivers for the Micronas avf4910a video decoder, the Cirrus cs3308 8-channel volume control, and a huge refactoring of the ngene driver (we&#8217;re at well over 100 patches in the tree).  The goal is to provide a rock-solid solution for high density 24&#215;7 video capture.</p>
<p>And of course we&#8217;ve got a bunch of stuff in the pipeline &#8211; including more improvements to the HVR-950Q, fixes for cx23885 boards such as the HVR-1800, and support for some new hardware (which we will be talking about when the time is right).</p>
<p>In other words, don&#8217;t interpret the fact that we&#8217;ve gone quiet as a sign that we&#8217;re not doing anything &#8211; we&#8217;re just *really* busy&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1423</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Avermedia m780 and ngene driver</title>
		<link>http://www.kernellabs.com/blog/?p=1418</link>
		<comments>http://www.kernellabs.com/blog/?p=1418#comments</comments>
		<pubDate>Sun, 14 Mar 2010 02:29:53 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[avermedia]]></category>
		<category><![CDATA[m780]]></category>
		<category><![CDATA[ngene]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1418</guid>
		<description><![CDATA[In response to a new hardware project KernelLabs is starting up, we have started to take a closer look at the recently merged ngene driver. While the driver basically works for DVB, it needs a ton of cleanup and has no analog support at all. We&#8217;ve actually started to do this cleanup here: http://kernellabs.com/hg/~dheitmueller/ngene2/ As [...]]]></description>
			<content:encoded><![CDATA[<p>In response to a new hardware project KernelLabs is starting up, we have started to take a closer look at the recently merged ngene driver.  While the driver basically works for DVB, it needs a ton of cleanup and has no analog support at all.  We&#8217;ve actually started to do this cleanup here:</p>
<p><a href="http://kernellabs.com/hg/~dheitmueller/ngene2/">http://kernellabs.com/hg/~dheitmueller/ngene2/</a></p>
<p>As an added bonus, in order to familiarize ourselves with the ngene chip, we picked up a couple of Avermedia Aver m780 boards and got them working in digital mode (that&#8217;s a PCIe ATSC/ClearQAM card with an onboard MPEG encoder).  Getting the analog support working will require a significant amount of work on the ngene driver.</p>
<p>So if you happen to be an owner of an m780, feel free to give it a try and provide feedback in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1418</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Call for testers: HVR-900R2 and PCTV 330e</title>
		<link>http://www.kernellabs.com/blog/?p=1397</link>
		<comments>http://www.kernellabs.com/blog/?p=1397#comments</comments>
		<pubDate>Sun, 28 Feb 2010 00:40:14 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[330e]]></category>
		<category><![CDATA[hauppauge]]></category>
		<category><![CDATA[hvr-900]]></category>
		<category><![CDATA[pctv systems]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1397</guid>
		<description><![CDATA[When suffering from insomnia, some people count sheep. Others watch television. I ported Ralph Metzler&#8217;s drx-d driver into the kernel and finally debugged the issues required to get the HVR-900R2 and PCTV 330e digital support working. I know many people have been waiting a long time for this, and I am happy to announce that [...]]]></description>
			<content:encoded><![CDATA[<p>When suffering from insomnia, some people count sheep.  Others watch television.  I ported Ralph Metzler&#8217;s drx-d driver into the kernel and finally debugged the issues required to get the HVR-900R2 and PCTV 330e digital support working.</p>
<p>I know many people have been waiting a long time for this, and I am happy to announce that we&#8217;ve got a tree setup which can be merged into the upstream kernel, as well as firmware which can be legally redistributed. </p>
<p>Testers are welcome to try the following hg tree:</p>
<p><a href="http://kernellabs.com/hg/~dheitmueller/v4l-dvb-drxd">http://kernellabs.com/hg/~dheitmueller/v4l-dvb-drxd</a></p>
<p>To build:<br />
<code><br />
hg clone http://kernellabs.com/hg/~dheitmueller/v4l-dvb-drxd<br />
cd v4l-dvb-drxd<br />
make<br />
make install<br />
reboot<br />
</code></p>
<p>Note, under Ubuntu if you receive errors about not being able to compile the firedtv driver, open “v4l/.config” and change the firedtv=m to be firedtv=n.</p>
<p>You will need to get the firmware from the following location and copy it to /lib/firmware</p>
<p><a href="http://kernellabs.com/firmware/drxd">http://kernellabs.com/firmware/drxd</a></p>
<p>I&#8217;ll be looking to get the firmware bundled into the distros, so that the products will work &#8220;out of the box&#8221;.</p>
<p>The usual disclaimers apply as of this point I&#8217;ve only done minimal testing at this point with a DVB generator and tzap/mplayer  (if you want to consider the last 12-14 hours of testing and debugging/fixing problems and edge cases as I found them as &#8220;minimal&#8221;).</p>
<p>Feedback welcome (both positive or negative) by commenting below.  And as this was another unfunded project that KernelLabs did solely for the benefit of the community, if you find this work useful then feel free to throw a couple of bucks into <a href="http://www.devinheitmueller.com/linux_support_fund.html">Devin&#8217;s LinuxTV support fund</a></p>
<p><b>UPDATE 2010-02-28 11:04</b>:  I forgot to mention that in addition to the drx firmware, you also need the firmware for the xc3028 tuner, which can be installed via the following directions.  Sorry for the confusion (and thanks to users wishmerhill and fabio for pointing out my oversight)!</p>
<p><a href="http://linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#Firmware_Information">http://linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#Firmware_Information</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1397</wfw:commentRss>
		<slash:comments>137</slash:comments>
		</item>
		<item>
		<title>HVR-1800 and other stuff going on&#8230;</title>
		<link>http://www.kernellabs.com/blog/?p=1393</link>
		<comments>http://www.kernellabs.com/blog/?p=1393#comments</comments>
		<pubDate>Mon, 22 Feb 2010 20:29:40 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[em28xx]]></category>
		<category><![CDATA[hauppauge]]></category>
		<category><![CDATA[hvr-1800]]></category>
		<category><![CDATA[hvr-950q]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1393</guid>
		<description><![CDATA[Been a few days since I&#8217;ve posted an update. Here&#8217;s a brief summary of things that have been going on in the last week: Progress continued on improving em28xx analog quality. I isolated a problem with chroma AGC in the saa7115, and am working on a fix now. I nailed down most of the analog [...]]]></description>
			<content:encoded><![CDATA[<p>Been a few days since I&#8217;ve posted an update.  Here&#8217;s a brief summary of things that have been going on in the last week:</p>
<p>Progress continued on improving em28xx analog quality.  I isolated a problem with chroma AGC in the saa7115, and am working on a fix now.</p>
<p>I nailed down most of the analog problems being reported against the HVR-950q under MythTV.  Posted a tree with fixes and solicited testers to try it out before submitting it upstream.</p>
<p>I finally plugged in my HVR-1800 and took a quick look at the analog support situation under MythTV.  It falls down pretty hard with the current v4l-dvb tip, but the situation is somewhat improved with some patches Michael did a few months back which haven&#8217;t yet made it into the mainline.  Nonetheless, it still would need quite a bit more work before I would consider counting on using it in a MythTV box (looks like a couple of race conditions which will be annoying and time consuming to isolate).  Also, a number of the controls are still not implemented, which cause some &#8220;red herring&#8221; error messages in the MythTV backend log file.  I&#8217;ll probably also have to plug in a PVR-150 card so I can better understand how the driver capabilities should be announced (comparing the ivtv driver against the cx23885 analog support).</p>
<p>So, things are moving along&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1393</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Call for testers: HVR-950q MythTV fixes</title>
		<link>http://www.kernellabs.com/blog/?p=1388</link>
		<comments>http://www.kernellabs.com/blog/?p=1388#comments</comments>
		<pubDate>Thu, 18 Feb 2010 02:07:14 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[au8522]]></category>
		<category><![CDATA[hauppauge]]></category>
		<category><![CDATA[hvr-950q]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1388</guid>
		<description><![CDATA[I finally found a few hours to sit down and debug the issue people were reporting where switching back and forth between analog and digital modes under MythTV would intermittently fail with the hvr-950q. It turns up there were a couple of race conditions related to the power management of the chip. http://kernellabs.com/hg/~dheitmueller/hvr-950q-pmfixes/ There was [...]]]></description>
			<content:encoded><![CDATA[<p>I finally found a few hours to sit down and debug the issue people were reporting where switching back and forth between analog and digital modes under MythTV would intermittently fail with the hvr-950q.  It turns up there were a couple of race conditions related to the power management of the chip.</p>
<p><a href="http://kernellabs.com/hg/~dheitmueller/hvr-950q-pmfixes/">http://kernellabs.com/hg/~dheitmueller/hvr-950q-pmfixes/</a></p>
<p>There was also a neat bug where the first tuning request after switching from analog mode back to digital would *always* get dropped on the floor.  This would cause users to see the first tuning request fail, or there would be cases where if you had been watching analog TV and then later the backend went to record a digital program, that recording would fail.</p>
<p>These changes are not heavily tested yet (they do appear to fix the issues found in my environment), so I am looking for people who have seen problems to try them out and report their results in the comments.</p>
<p>Once I&#8217;ve gotten some feedback, I will issue a PULL request to get these fixes merged upstream.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1388</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>HVR-950q and MythTV</title>
		<link>http://www.kernellabs.com/blog/?p=1383</link>
		<comments>http://www.kernellabs.com/blog/?p=1383#comments</comments>
		<pubDate>Sat, 13 Feb 2010 05:10:01 +0000</pubDate>
		<dc:creator>Devin Heitmueller</dc:creator>
				<category><![CDATA[au8522]]></category>
		<category><![CDATA[hauppauge]]></category>
		<category><![CDATA[hvr-950q]]></category>

		<guid isPermaLink="false">http://www.kernellabs.com/blog/?p=1383</guid>
		<description><![CDATA[Over the last few nights, I finally got a MythTV box setup that I could use for some testing of the HVR-950q. I did some work a few months ago to basically get the analog support working, but there were some reports of problems related to switching back and forth between analog and digital mode. [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few nights, I finally got a MythTV box setup that I could use for some testing of the HVR-950q.  I did some work a few months ago to basically get the analog support working, but there were some reports of problems related to switching back and forth between analog and digital mode.</p>
<p>After adding some debugging to the driver, I found basically three classes of problems:</p>
<p>1.  The power management on the au8522 was setup such that the chip would get completely powered down when switching modes.  Essentially what would happen is when switching from analog to digital mode, the v4l stack would tell the au8522 to completely power down while in the middle of bringing up the digital half of the chip.  The power management for both the analog and the digital side of the chip need to be changed such that they only power down their respective parts, rather than the entire chip.  It&#8217;s basically a race condition, which is why it works sometimes but not others.</p>
<p>2.  The digital side of the board won&#8217;t actually perform the first tuning request when switching from analog mode, because the driver&#8217;s internal state thinks it&#8217;s already tuned to the target frequency (so the set_frontend call just does a &#8220;return 0&#8243; without actually doing the tune).  We will need to explicitly clear out the driver state associated with the digital side of the chip when powering down or switching over to analog mode.  That&#8217;s why you don&#8217;t get a digital lock when switching from analog to digital mode, but then if you change the channel the next tuning request works.</p>
<p>3.  MythTV&#8217;s &#8220;input group functionality&#8221; appears to be generally broken.  Input groups are designed to handle cases where there are multiple inputs sharing a tuner, so that they don&#8217;t get used at the same time.  However I can pretty clearly see that even after switching to analog mode, some thread in the mythtv backend continues to run the digital side of the board, performing tuning requests and polling the digital demodulator&#8217;s status.</p>
<p>So in other words, this is going to be more annoying than originally thought.  Fixing the couple of driver issues is pretty straightforward, but digging into the MythTV code and figuring out why it&#8217;s screwed up is going to take some real effort (and users wouldn&#8217;t get the benefit of those changes unless they either build mythtv from source or wait until 0.23 comes out).</p>
<p>At least now I have a better idea as to exactly what is going on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kernellabs.com/blog/?feed=rss2&amp;p=1383</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
