Hi,
I just bought a WinTV PVR 350 today, and I am trying to get it working.
I am at the point where I can get a mpg from /dev/video0 but the quality
is terrible. I have some sound but the image is ... well see by yourself.
I put a sample (800K) in http://www.chauveau-central.net/ivtv/.
In fact that sample is the better I could get on all channels.
Moth of the channels are almost completely black.
I do not think that the signal is too weak because I also have a bttv
card that works fine.
My setup is as follow:
- ivtv-0.3.6z (I first tried ivtv-0.3.7f but it did not work either).
- kernel 2.6.12 - AMD64 - Debian unstable
- gcc 4.0 (because debian now use it to compile their kernels)
- I am in the Netherlands so in the PAL world
I load the modules with
modprobe -v i2c_algo_bit
modprobe -v tuner modprobe -v msp3400
modprobe -v videodev
modprobe -v saa7115
modprobe -v ivtv ivtv_debug=0
I am currently using the following firmware
305dba74bbe5905447add8883f3ecb68 /lib/modules/ivtv-fw-dec.bin
d85cb08382395390dc95ac6ebc2205f9 /lib/modules/ivtv-fw-enc.bin
Remark: I also tried the 'recommanded' ones during a while but they would
not autodetect the tuner and the PAL mode. I got them by passing
ivtv_std=2 tuner=38 to ivtv but the final result was identical.
After loading the drivers, I configure by
./ivtvctl -p 4 # use tuner input
./ivtvctl -u 1 # use PAL
./ivtvctl -f "width=720,height=576" # PAL resolution
./ptune.pl -fpal-europe -c 32
And I get the mpg with
cat /dev/video0 > a.mpg
Here is the log with vtv_debug=10
kernel: tuner: Ignoring new-style parameters in presence of obsolete ones
kernel: Linux video capture interface: v1.00
kernel: saa7115: starting probe for adapter SMBus Via Pro adapter at
0400 (0x0)
kernel: saa7115: starting probe for adapter ISA main adapter (0x0)
kernel: ivtv: version 0.3.6 (z) loading
kernel: ivtv: ... running on kernel 2.6.12-flavour
kernel: ivtv: Setting some variables to invalid for detection
kernel: ivtv: Scanning PCI bus..
kernel: ivtv: Found card #0
kernel: ivtv: Autodetected WinTV PVR 350 card
kernel: ivtv: Found an iTVC15 based chip
kernel: ivtv: base addr: 0xc8000000
kernel: ivtv: Enabling pci device
kernel: ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 18 (level, low) -> IRQ 18
kernel: ivtv: Attempting to enable Bus Mastering
kernel: ivtv: Bus Mastering Enabled.ivtv: 2051 (rev 1) at 00:07.0,
ivtv: irq: 18, latency: 64, memory: 0xc8000000
kernel: ivtv: VIA PCI device: 0x3188 vendor: 0x1106
kernel: ivtv: attempting ioremap at 0xc8000000 len 0x00800000
kernel: ivtv: attempting ioremap at 0xc9000000 len 0x00800000
kernel: ivtv: attempting ioremap at 0xca000000 len 0x00010000
kernel: ivtv: activating i2c...
kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
kernel: msp34xx: ivtv version
kernel: msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D)
mode, simpler (G) no-thread mode
kernel: msp34xx: $Id$ compiled on: Aug 20 2005 19:50:44
kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
kernel: saa7115: detecting saa7115 client on address 0x42
kernel: saa7115: writing init values
kernel: saa7115: status: (1E) 0xa4, (1F) 0x80
kernel: ivtv: Active card count: 1.
kernel: tveeprom: The eeprom says no radio is present, but the tuner type
kernel: tveeprom: indicates otherwise. I will assume that radio is present.
kernel: tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 8206140
kernel: tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
kernel: tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K)
(eeprom = 0x74, v4l2 = 0x00400e17)
kernel: tveeprom: audio_processor = CS5331 (type = 9)
kernel: ivtv: Loaded module tveeprom
kernel: ivtv: Loaded module tuner
kernel: ivtv: Loaded module saa7115
kernel: saa7127: Ignoring new-style parameters in presence of obsolete ones
kernel: saa7127: video encoder driver version V 0.3 loaded
kernel: saa7127: detecting saa7127 client on address 0x88
kernel: saa7127: Selecting NTSC video Standard
kernel: saa7127: Selecting S-Video+Composite
kernel: saa7127: Turn WSS off
kernel: saa7127: Widescreen Mode 4:3 Full Format
kernel: saa7127: Selecting Normal Encoder Input
kernel: saa7127: Enable Video Output
kernel: ivtv: Loaded module saa7127
kernel: ivtv: Loaded module msp3400
kernel: ivtv: Stopping VDM
kernel: ivtv: Stopping AO
kernel: ivtv: pinging (?) APU
kernel: ivtv: Stopping VPU
kernel: ivtv: Resetting Hw Blocks
kernel: ivtv: Stopping SPU
kernel: ivtv: Sleeping for 10ms
kernel: ivtv: init Encoder SDRAM pre-charge
kernel: ivtv: init Encoder SDRAM refresh to 1us
kernel: ivtv: init Decoder SDRAM pre-charge
kernel: ivtv: init Decoder SDRAM refresh to 1us
kernel: ivtv: Sleeping for 600ms (600 recommended)
kernel: ivtv: Card ready for firmware!
kernel: ivtv: Loading encoder image
kernel: ivtv: Loading decoder image
kernel: ivtv: Sleeping for 10 ms
kernel: ivtv: Sleeping for 10 ms
kernel: ivtv: GPIO INIT
kernel: ivtv: About to search for mailboxes
kernel: ivtv: Searching for encoder mailbox
kernel: ivtv: .ivtv: match: 0x34567812 at 0xffffc20000700104. match: 1
kernel: ivtv: match: 0x56781234 at 0xffffc20000700108. match: 2
kernel: ivtv: match: 0x78123456 at 0xffffc2000070010c. match: 3
kernel: ivtv: found encoder mailbox!
kernel: ivtv: Searching for decoder mailbox
kernel: ivtv: .ivtv: .ivtv: .ivtv: .ivtv: match: 0x34567812 at
0xffffc20000f80404. match: 1
kernel: ivtv: match: 0x56781234 at 0xffffc20000f80408. match: 2
kernel: ivtv: match: 0x78123456 at 0xffffc20000f8040c. match: 3
kernel: ivtv: found decoder mailbox!
kernel: ivtv: Getting firmware version..
kernel: ivtv: Getting encoder firmware rev.
kernel: ivtv: Getting decoder firmware rev.
kernel: ivtv: v4l2 streams setup
kernel: ivtv: Configuring WinTV PVR 350 card with 10 streams
kernel: ivtv: Registered v4l2 device for encoder MPEG minor 0
kernel: ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
kernel: ivtv: Registered v4l2 device for encoder YUV minor 32
kernel: ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total)
kernel: ivtv: Registered v4l2 device for encoder VBI minor 224
kernel: ivtv: Create DMA encoder VBI stream: 0 x 12740 buffers (0KB total)
kernel: ivtv: Registered v4l2 device for encoder PCM audio minor 24
kernel: ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB
total)
kernel: ivtv: Registered v4l2 device for encoder radio minor 64
kernel: ivtv: Create encoder radio stream
kernel: ivtv: Registered v4l2 device for decoder MPEG minor 16
kernel: ivtv: Create DMA decoder MPEG stream: 0 x 65536 buffers (0KB total)
kernel: ivtv: Registered v4l2 device for decoder VBI minor 228
kernel: ivtv: Create DMA decoder VBI stream: 0 x 2048 buffers (0KB total)
kernel: ivtv: Registered v4l2 device for decoder VOUT minor 232
kernel: ivtv: Create decoder VOUT stream
kernel: ivtv: Registered v4l2 device for decoder YUV minor 48
kernel: ivtv: Create DMA decoder YUV stream: 0 x 51840 buffers (0KB total)
kernel: ivtv: Create DMA decoder OSD stream: 0 x 65536 buffers (0KB total)
kernel: ivtv: Starting Threads
kernel: ivtv: Setting Tuner 38
kernel: tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
by ivtv i2c driver #0
kernel: saa7115: decoder set norm PAL
kernel: saa7115: set audio: 0x01
kernel: saa7115: decoder set input (4)
kernel: saa7115: now setting Composite input
kernel: ivtv: Setting audio to input 0
kernel: ivtv: v4l2 ioctl: set standard
kernel: ivtv: encoder thread sleeping 20558
kernel: ivtv: encoder thread sleeping 20559
kernel: ivtv: decoder thread sleeping 20560
kernel: ivtv: encoder thread sleeping 20561
kernel: saa7115: decoder set norm PAL
kernel: saa7115: set audio: 0x01
kernel: saa7127: Setting Encoder Video Standard
kernel: saa7127: Set PAL Video Mode
kernel: saa7127: Selecting PAL video Standard
kernel: ivtv: Initialized WinTV PVR 350, card #0
The loaded modules are:
Module Size Used by
saa7127 14196 0
tveeprom 15456 0
ivtv 1362020 0
saa7115 13268 0
videodev 12160 1 ivtv
msp3400 28948 0
tuner 21348 0
i2c_algo_bit 10184 1 ivtv
nls_cp437 7296 1
isofs 37728 1
radeon 79040 1
drm 71720 2 radeon
md5 4800 1
ipv6 268896 8
af_packet 23948 2
tsdev 9152 0
pcspkr 4048 0
rtc 13952 0
parport_pc 38704 0
parport 40588 1 parport_pc
irtty_sir 9728 0
sir_dev 20504 1 irtty_sir
irda 202860 2 irtty_sir,sir_dev
crc_ccitt 2560 1 irda
floppy 66592 0
snd_seq_dummy 4420 0
snd_seq_oss 35108 0
snd_seq_midi 10176 0
snd_seq_midi_event 9216 2 snd_seq_oss,snd_seq_midi
snd_seq 56536 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_via82xx 30688 1
gameport 16776 1 snd_via82xx
snd_ac97_codec 89028 1 snd_via82xx
snd_pcm_oss 56864 0
snd_mixer_oss 19136 2 snd_pcm_oss
snd_pcm 100108 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 25608 2 snd_seq,snd_pcm
snd_page_alloc 11272 2 snd_via82xx,snd_pcm
snd_mpu401_uart 8128 1 snd_via82xx
snd_rawmidi 28640 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 10000 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd 60416 11
snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 11232 2 snd
r8169 27916 0
shpchp 96488 0
pci_hotplug 12484 1 shpchp
evdev 11136 0
ehci_hcd 34568 0
usbhid 36832 0
uhci_hcd 32544 0
3c59x 45172 0
mii 6400 1 3c59x
w83627hf 34216 0
i2c_sensor 3840 1 w83627hf
i2c_isa 2752 0
i2c_viapro 9304 0
i2c_core 24408 10
saa7127,tveeprom,saa7115,msp3400,tuner,i2c_algo_bit,w83627hf,i2c_sensor,i2c_isa,i2c_viapro
ide_generic 1664 0 [permanent]
ide_disk 18112 0
ide_cd 43616 1
cdrom 39608 1 ide_cd
via82cxxx 13808 0 [permanent]
ext3 138576 5
jbd 58992 1 ext3
mbcache 10888 1 ext3
sd_mod 19672 7
sata_via 9732 6
libata 50120 1 sata_via
usb_storage 77760 0
scsi_mod 152024 3 sd_mod,libata,usb_storage
ide_core 145272 5
ide_generic,ide_disk,ide_cd,via82cxxx,usb_storage
unix 31032 472
fbcon 39040 0
tileblit 2880 1 fbcon
font 9024 1 fbcon
bitblit 6208 1 fbcon
vesafb 9320 0
cfbcopyarea 4224 1 vesafb
cfbimgblt 3200 1 vesafb
cfbfillrect 4864 1 vesafb
softcursor 2880 1 vesafb
I tried different kernel options and other tuners but without luck.
Any ideas?
-
http://www.chauveau-central.net/ivtv/
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel