problem attaching PVR250, error message in log

Joe Auty joe at netmusician.org
Thu Apr 13 14:16:25 UTC 2006


On Apr 13, 2006, at 10:09 AM, Erin E Conn wrote:

> Joe Auty wrote:
>
>> Apr 12 21:18:58 xanthippe kernel: cxm0: <Conexant iTVC16 MPEG  
>> Coder> mem 0xe0000000-0xe3ffffff irq 11 at device 9.0 on p\ci0
>> Apr 12 21:18:58 xanthippe kernel: cxm_iic0: <Conexant iTVC15 /  
>> iTVC16 I2C controller> on cxm0
>> Apr 12 21:18:58 xanthippe kernel: iicbb0: <I2C bit-banging driver>  
>> on cxm_iic0
>> Apr 12 21:18:58 xanthippe kernel: iicbus0: <Philips I2C bus> on  
>> iicbb0 master-only
>> Apr 12 21:18:58 xanthippe kernel: cxm0: unknown tuner code 0x63
>> Apr 12 21:18:58 xanthippe kernel: cxm0: could not initialize tuner
>> Apr 12 21:18:58 xanthippe kernel: iicbus0: detached
>> Apr 12 21:18:58 xanthippe kernel: iicbb0: detached
>> Apr 12 21:18:58 xanthippe kernel: cxm_iic0: detached
>> Apr 12 21:18:58 xanthippe kernel: device_attach: cxm0 attach  
>> returned 6
>
> I got the same error; the problem is that the tuner on your card is  
> currently unsupported by the pvr250 driver. I was able to use a  
> workaround to get the card to load, but I have not tried switching  
> channels with it as I'm using an external tuner (cable box) and s- 
> video so I don't know if the workaround will give you full  
> functionality.
>
> Workaround:
> 1) Edit work/dev/cxm/cxm_eeprom.c. According to ivtv-sources, tuner  
> code 0x63 is a TUNER_TCL_2002N,     "TCL 2002N 5H". The closest  
> supported code is 0x55, so you will need to add the line "case  
> 0x63:" in the "switch (tuner_code)" statement before the line "case  
> 0x55:"
>
> 2) run "make patch" again. I forgot this step the first time I  
> tried the workaround which kept the card from loading.
>
> 3) make install
>
> 4) kldload cxm_iic and cxm. You should now get:
> cxm0: <Conexant iTVC16 MPEG Coder> mem 0xdc00000
> 0-0xdfffffff irq 17 at device 12.0 on pci0
> cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controll
> er> on cxm0
> iicbb0: <I2C bit-banging driver> on cxm_iic0
> iicbus0: <Philips I2C bus> on iicbb0 master-only
> cxm0: TCL 2002N-6A tuner
> cxm0: SAA7115 rev 1 video decoder
> cxm0: MSP3445G-B8 audio decoder
> cxm0: IR Remote
> cxm0: [GIANT-LOCKED]
> cxm0: encoder firmware version 0x2050032


Cool!

So, edit that file that is a part of the pvr250 as you've described  
above, run make patch, reinstall the kernel? (is that necessary)?











-----------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
joe at netmusician.org




More information about the freebsd-multimedia mailing list