Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 10:30:05 -0400
From:      Erin E Conn <econn@nc.rr.com>
To:        Joe Auty <joe@netmusician.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: problem attaching PVR250, error message in log
Message-ID:  <443E606D.3070206@nc.rr.com>
In-Reply-To: <3651369F-75B1-43E0-A23F-9FC218C0BA20@netmusician.org>
References:  <05A2D928-BC96-4BE5-8884-B931D8279A5D@netmusician.org> <443E5B87.6000209@nc.rr.com> <3651369F-75B1-43E0-A23F-9FC218C0BA20@netmusician.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Auty wrote:
> 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)?
> 

It's not necessary to reinstall the kernel, the patch takes care of it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443E606D.3070206>