New port: pvrxxx for Hauppauge PVR150/500

B Briggs rcbdyndns at bellsouth.net
Sat Oct 14 01:13:58 PDT 2006


B Briggs wrote:
> Rick C. Petty wrote:

>>
>> This has nothing to do with the file on the CD but that the driver 
>> doesn't
>> know about your tuner.  The pvr500 comes with one of many different types
>> of tuners.  I suspect you have a different tuner than has been tested 
>> thus
>> far.  I'm sure usleep can make a suggestion at this point.
>>
> 
> I probably should have mentioned that this is a pvr150, if that makes 
> any difference. Anyway, I found this post from April:
> 
> http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-April/003922.html 
> 
> 
> Seems to be the identical error message, but I'm a little unclear on how 
> that was resolved, and whether or not if I add a case for 0x63 in the 
> cxm_eeprom.c that I'll be able to use the tuner.
> 

I guess I should have tried it first. If I add

		case 0x63:
                 case 0x55: /* TCL 2002N-6A */

in cxm_eeprom.c
(/usr/ports/multimedia/pvrxxx/work/dev/cxm/cxm_eeprom.c)
then the tuner works!

I do get this error message, however:
bbriggs# pvr250-setchannel -a on -t -g 720x480 -m 2 28
ioctl( tfd, BT848_GAUDIO ) failed.: Device not configured

There is also an approximately 20 second delay after kldload cxm, and in 
dmesg I find:

cxm0: <Conexant iTVC16 MPEG Coder> mem 0xdc000000-0xdfffffff irq 10 at 
device 3.0 on pci0
cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
iicbb0: <I2C bit-banging driver> on cxm_iic0
iicbus0: <Philips I2C bus> on iicbb0 master-only
tuner code 99
tuner_type = 20
cxm0: TCL 2002N-6A tuner
<2>cxm 0-0000: loaded /lib/modules/v4l-cx25840.fw firmware (14264 bytes)
<2>cxm debug 0-0000: decoder set input (0)
<2>cxm debug 0-0000: now setting Tuner input
<2>cxm debug 0-0000: set audio input (0)
<2>cxm debug 0-0000: set audio input (0)
cxm0: Eeprom NTSC
<2>tda 0-0000: switching to v4l2
<2>tda 0-0000: configure for: NTSC-M
<2>tda 0-0000: writing: b=0xd4 c=0x30 e=0x44
could not start iic bus
probed 54
probed 136
probed 160
probed 194
probed 224
probed 226
probed 228
probed 230
<2>tda 0-0000: i2c i/o error: rc == 2 (should be 4)
read error
<2>tda 0-0000: i2c i/o error: rc == -626959961 (should be 1)
<2>tda 0-0000: read: 0x 0
<2>tda 0-0000:   after power on : no
<2>tda 0-0000:   afc            : - 12.5 kHz
<2>tda 0-0000:   fmif level     : low
<2>tda 0-0000:   afc window     : out
<2>tda 0-0000:   vfi level      : low
<2>cxm 0-0000: Video signal:              present
<2>cxm 0-0000: Detected format:           NTSC-M
<2>cxm 0-0000: Detected audio mode:       mono
<2>cxm 0-0000: Detected audio standard:   BTSC
<2>cxm 0-0000: Audio muted:               no
<2>cxm 0-0000: Audio microcontroller:     running
<2>cxm 0-0000: Configured audio standard: automatic detection
<2>cxm 0-0000: Configured audio system:   BTSC
<2>cxm 0-0000: Specified standard:        NTSC-M
<2>cxm 0-0000: Specified input:           Tuner
<2>cxm 0-0000: Specified audio input:     Tuner
<2>cxm 0-0000: Specified audioclock freq: 48 kHz
<2>cxm 0-0000: Preferred audio mode:      stereo
cxm0: [GIANT-LOCKED]
cxm0: encoder firmware version 0x2050032

So I figure I've got some kind of hack, but I feel that not everything 
is right. Anything else I might need to do here? (especially to get rid 
of a 20 second delay).

-- 
B Briggs


More information about the freebsd-multimedia mailing list