[mythtv-users] pvr-150 tuner type 47 problem

Dan H Orlic dan.orlic at gmail.com
Fri Jun 3 16:04:59 UTC 2005


thank you for the reply,  If that parameter is not longer necessary then
I am truely at a loss.  When that parameter is not set I get no errors
at all, but a cat /dev/video0 > test.mpg yeilds only static.

I am running ivtv-0.3.5t I figured the later the driver the better the
150 support might be.

If I could get your set_ivtv_params and ivtv module lines then maybe I
can narrow the playing field a bit.  Is your tuner 47 as well?  from
what I understand the tuner can be 47,50, 39... But it was also my
understanding that it is auto detected now so tuner = xx no longer
applies as well.  I feel that I am close now...

my IVTV output from dmesg:


Linux video capture interface: v1.00
tuner: Ignoring new-style parameters in presence of obsolete ones
saa7115: starting probe for adapter SMBus Via Pro adapter at 5000 (0x0)
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.5 (t) loading
ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 17
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: VIA PCI device: 0x3116 vendor: 0x1106
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
tveeprom: Hauppauge: model = 26552, rev = B268, serial# = 7954869
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x00892598, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
cx25840: starting probe for adapter SMBus Via Pro adapter at 5000 (0x0)
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: writing init values
cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 14264 loaded.
cx25840: FW image md5 digest: 3a4803384f749d644ee1f1ca9dcb12fa
cx25840: FW image sha1 digest: 2b5e6292b7391c980b93d156cf6b34178ce770f6
cx25840: Status: cx258433 (DEVICE_ID)
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach [client=tda9887,ok]
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 128 16384 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1 using 80 25920 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
cx25840: decoder set norm NTSC
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to NTSC.
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: VIA PCI device: 0x3116 vendor: 0x1106
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005)
tveeprom: Hauppauge: model = 26552, rev = B268, serial# = 7954696
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: i2c attach [client=tveeprom[50],ok]
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: writing init values
ivtv: ivtv_enc_thread: pid = 2777, itv = 0xe0bdf3a0
ivtv: ivtv_enc_vbi_thread: pid = 2778, itv = 0xe0bdf3a0
cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 14264 loaded.
cx25840: FW image md5 digest: 3a4803384f749d644ee1f1ca9dcb12fa
cx25840: FW image sha1 digest: 2b5e6292b7391c980b93d156cf6b34178ce770f6
cx25840: Status: cx258433 (DEVICE_ID)
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach [client=tda9887,ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x00892598, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 1
ivtv: Create DMA stream 0 using 128 16384 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 33
ivtv: Create DMA stream 1 using 80 25920 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 225
ivtv: Create DMA stream 2 using 165 12635 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 25
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 65
ivtv: Create stream 4
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #1
cx25840: decoder set norm NTSC
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: Switching standard to NTSC.
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ====================  END INIT IVTV  ====================
cx25840: decoder set size 720x480 (from 720x480) -> scale  0x65536,
filter 0
ivtv: ivtv_enc_thread: pid = 2844, itv = 0xe0c026e8
ivtv: ivtv_enc_vbi_thread: pid = 2845, itv = 0xe0c026e8
cx25840: decoder set size 720x480 (from 720x480) -> scale  0x65536,
filter 0
cx25840: decoder disable output
cx25840: decoder set input (7)
cx25840: now setting Tuner input
cx25840: decoder enable output
cx25840: decoder set norm NTSC
cx25840: decoder set input (7)
cx25840: now setting Tuner input
cx25840: set audio input (0)


On Fri, 2005-06-03 at 08:40 -0700, Mark Knecht wrote: 
> Dan,
>    Maybe I'm not seeing it but I cannot tell what version of ivtv you
> are running. On newer versions of ivtv  no_black_magic is no longer a
> valid parameter.
> 
>    We have a PVR-150 in a Gentoo-based backend here. We are running
> ivtv-0.3.5p from the development donwload site. All we do to run it is
> this in /etc/conf.d/local.start
> 
> modprobe tveeprom
> modprobe ivtv
> 
> ivtv will not earlier in the boot sequence for us so sticking it in
> loacl.start was acceptable and is working fine. Everything about the
> newer drivers seems to be working well for us.
> 
>    Hope this helps. If you need more info feel free to write back on
> the list or directly.
> 
> Cheers,
> Mark
> 
> On 6/3/05, Dan H Orlic <dan.orlic at gmail.com> wrote:
> > 2 PVR-150 in system--
> > 
> > Ok, from all the mailing lists I have seen it looks like this is what is
> > comes down to:
> > 
> > ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
> > 0x00892598, Revision 0x00000001
> > ivtv: NTSC tuner detected
> > ivtv: Radio detected
> > cx25840: Unknown parameter `no_black_magic'
> > ivtv: Failed to load module cx25840
> > 
> > apparently that no_black_magic parameter is key to the 150 working (When
> > I comment it out all i get is static)
> > 
> > my problem is all the solutions out there say to upgrade the kernel but
> > i am running:
> > 
> > root at mythtv:~# uname -a
> > Linux mythtv 2.6.11.9-chw-2 #1 SMP Sat May 14 12:11:44 CDT 2005 i686
> > GNU/Linux
> > 
> > Will a force install of 2.6.11.11 do the trick?  I'd hate to download a
> > kernel tarball and try to figure out all the config options that
> > knoppmyth set for optimizing mythtv.
> > 
> > Please help, I feel that this is the last hurdle to clear before getting
> > my system up and running! More info below:
> > 
> > root at mythtv:~# more /etc/init.d/set_ivtv_params
> > /usr/local/bin/ivtvctl -d /dev/video0 -u 0x3000 -f width=720,height=480
> > -p 6
> > #/usr/local/bin/ivtvctl -d /dev/video0 -c
> > dnr_mode=0,dnr_temporal=4,dnr_spatial=4
> > #/usr/local/bin/ivtvctl -d /dev/video0 -x 0
> > 
> > /usr/local/bin/ivtvctl -d /dev/video1 -u 0x3000 -f width=720,height=480
> > -p 7
> > #/usr/local/bin/ivtvctl -d /dev/video1 -c
> > dnr_mode=0,dnr_temporal=4,dnr_spatial=4
> > #/usr/local/bin/ivtvctl -d /dev/video1 -x 0
> > root at mythtv:~#
> > 
> > root at mythtv:~# more /etc/mythtv/modules/ivtv
> > alias char-major-81 videodev
> > alias char-major-81-0 ivtv
> > alias char-major-81-1 ivtv
> > alias char-major-61 lirc_i2c
> > 
> > options cx25840 no_black_magic=1
> > options ivtv ivtv_std=0 tda9887=0,0 ivtv_debug=1
> > 
> > options cx25840 i2c_enable=1
> > options saa7127 i2c_enable=-1
> > options msp3400 once=1 simple=1
> > 
> > 
> > 
> > 
> > install ivtv /sbin/modprobe tuner; /sbin/modprobe
> > msp3400; /sbin/modprobe saa7115;  /sbin/modprobe --ignore-install  ivtv
> > remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r
> > saa7115
> > && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner
> > root at mythtv:~#
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > 
> > 
> >



More information about the mythtv-users mailing list