Troubleshooting cxm driver with Hauppauge 250

Tim Bicio timbicio at
Fri Nov 4 12:40:51 PST 2005

I had a similar problem some time ago.  Perhaps this will help.  You need to 
have a proper video signal running to the card in order for it to work.


2px solid; MARGIN-RIGHT: 0px'><font 
all,<br>&gt;<br>&gt;I recently discovered the cxm driver, so I moved my 
Hauppauge 250 tuner<br>&gt;card to my FreeBSD 5.3 box (yay!). I built and 
installed the driver<br>&gt;parts and it *almost* works, but produces empty 
mpg files. (BTW, this<br>&gt;card has worked under KnoppMyth and WinXP in 
the past.) The console logs<br>&gt;show successful loading of 
things:<br>&gt;<br>&gt;cxm0: &lt;Conexant iTVC16 MPEG Coder&gt; mem 
0xf0000000-0xf3ffffff irq 21 at<br>&gt;device 9.0 on pci1<br>&gt;cxm_iic0: 
&lt;Conexant iTVC15 / iTVC16 I2C controller&gt; on cxm0<br>&gt;iicbb0: 
&lt;I2C bit-banging driver&gt; on cxm_iic0<br>&gt;iicbus0: &lt;Philips I2C 
bus&gt; on iicbb0 master-only<br>&gt;cxm0: Temic 4036 FY5 tuner<br>&gt;cxm0: 
SAA7115 rev 1 video decoder<br>&gt;cxm0: MSP4448G-A2 audio 
decoder<br>&gt;cxm0: IR Remote<br>&gt;cxm0: encoder firmware version 
0x2050032<br>&gt;<br>&gt;I can use 'setchannel -t &lt;x&gt;' to successfully 
tune in a channel. (I even<br>&gt;added some debug lines to the driver to 
prove this is working. Plus<br>&gt;setchannel correctly fails when I unhook 
my coax line...)<br>&gt;<br>&gt;But when I do a 'cat /dev/cxm0 &gt; 
testit.mpg' I get a zero length file.<br>&gt;And when I interrupt this 
process I get (after the expected 1000ms<br>&gt;delay) a message &quot;cxm0: 
missing encoder EOS&quot;.<br>&gt;<br>&gt;I have debugged this enough to 
think that the firmware command (0x81) to<br>&gt;&quot;begin capture&quot; 
has been properly issued, but cxm_intr() is never called<br>&gt;thereafter. 
So the driver patiently sits there in tsleep (as 
&quot;cmxrd&quot;)<br>&gt;waiting for its buffer to fill, but nothing ever 
comes.<br>&gt;<br>&gt;Anyone have any tips where/how to pursue debugging 
this?<br>&gt;<br>&gt;-broc<br>&gt;_______________________________________________<br>&gt;freebsd-multimedia at 
unsubscribe, send any mail to 
&quot;freebsd-multimedia-unsubscribe at;<br></font></BLOCKQUOTE>

More information about the freebsd-multimedia mailing list