Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2006 03:13:54 -0500
From:      B Briggs <rcbdyndns@bellsouth.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: New port: pvrxxx for Hauppauge PVR150/500
Message-ID:  <45309C42.7070103@bellsouth.net>
In-Reply-To: <453090B7.5050900@bellsouth.net>
References:  <20061013152217.GA83555@keira.kiwi-computer.com> <c39ec84c0610100932p6f658016u5ba41d02c4f2c471@mail.gmail.com> <452FA2F7.5020104@bellsouth.net> <453090B7.5050900@bellsouth.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45309C42.7070103>