Hi Hugo,

I managed to make my PVR-350 do capture. Compared to you I am using ivtv
0.3.2 from atrpms at-testing instead. Also I need the tda9887=0 line,
otherwise I can only see snow. I have fewer options in my modprobe.conf,
here it is:

alias eth0 via-rhine
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-via82xx
# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 bttv
alias tveeprom tveeprom-ivtv
options ivtv tda9887=0
options msp3400 once=1 standard=0x8
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
# nvidia kernel module
alias char-major-195 nvidia-1_0-6629

You probably have a different sound standard so you need a different
value on the msp3400 line. My PVR-350 is a model 988 with a tuner 38 and
it was bought in december.

Best regards
Niels

-----Original Message-----
From: Hugo van der Kooij [mailto:[EMAIL PROTECTED] 
Sent: 29. januar 2005 13:15
To: ivtv-users@lists.sourceforge.net
Subject: [Ivtv-users] PVR-350 does not work anymore, Where did I go
wrong?


Hi,

Somehow I had managed to get my PVR-350 almost completely working on my
FC3 setup. (kernel 2.6.9) but I guess a recent upgrade on the ivtv stuff
blew it all to pieces and now I can not get my signal back to TV-out.

So I bit the bullet and went for the latest FC3 kernel
(2.6.10-1.741_FC3) to see if it would help.

But this is not getting me to the stage I had reached before. (Which was
only missing X on the PVR-350)

Could someone provide me with a full shopping list of details I need to
gather? At present I think it should contain:
 - /etc/modprobe.conf
 - /var/log/messages (relevant part only)
 - lsmod
 - uname -a
 - rpm -qa|grep ivtv

Anything else I need to gather so someone may see where I made a
mistake?

As most will have guessed I used Jarod's guide as base but have deviated
as I got other hints on the MythTV mailinglist.

I strongly prefer to stick with packages. But I may create some of my
one if that is the only way to solve the issues.

Thanks for any help that will prevent me from declaring defeat and use
w***** instead.

 *** uname -a
Linux saruman.hugo.vanderkooij.org 2.6.10-1.741_FC3 #1 Thu Jan 13
16:38:22 EST 2005 i686 i686 i386 GNU/Linux


 *** rpm -qa|grep ivtv
ivtv-0.2.0-63_rc3e.rhfc3.at
ivtv-firmware-1.8a-4.at
ivtv-firmware-dec-2.02.023-4.at
ivtv-firmware-enc-2.04.024-4.at
ivtv-kmdl-2.6.10-1.741_FC3-0.2.0-63_rc3e.rhfc3.at
perl-Video-ivtv-0.13-6.rhfc3.at


 *** lsmod
Module                  Size  Used by
bttv                  148497  0
tveeprom               10036  0
video_buf              19716  1 bttv
v4l2_common             5504  1 bttv
btcx_risc               4681  1 bttv
lirc_i2c                7044  1
msp3400                20904  0
saa7115                10648  0
tuner                  17964  0
ivtv                  795364  2
tda9887                11160  0
i2c_algo_bit            8393  2 bttv,ivtv
videodev                9537  2 bttv,ivtv
i2c_core               20801  8
bttv,tveeprom,lirc_i2c,msp3400,saa7115,tuner,tda9887,i2c_algo_bit
lirc_dev               11020  1 lirc_i2c
autofs4                22981  0
sunrpc                154149  1
xfs                   514737  1
dm_mod                 55509  0
video                  15813  0
button                  6609  0
battery                 9285  0
ac                      4805  0
md5                     4033  1
ipv6                  230273  20
ohci1394               34521  0
ieee1394              299929  1 ohci1394
ohci_hcd               23381  0
ehci_hcd               34761  0
snd_intel8x0           29120  0
snd_ac97_codec         65400  1 snd_intel8x0
snd_pcm_oss            45856  0
snd_mixer_oss          16256  1 snd_pcm_oss
snd_pcm                86920  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              26244  1 snd_pcm
snd                    49252  6
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               9889  1 snd
snd_page_alloc          7684  2 snd_intel8x0,snd_pcm
sis900                 19013  0
ext3                  116041  2
jbd                    68185  1 ext3


 *** /var/log/messages
Jan 29 12:45:30 saruman kernel: lirc_dev: IR Remote Control driver
registered, at major 61 Jan 29 12:45:30 saruman kernel: Linux video
capture interface: v1.00 Jan 29 12:45:30 saruman kernel: ivtv:
==================== START INIT IVTV ==================== Jan 29
12:45:30 saruman kernel: ivtv: version 0.2.0 (rc3e) loading Jan 29
12:45:30 saruman kernel: ivtv: Linux version: 2.6.10-1.741_FC3 686
REGPARM 4KSTACKS gcc-3.4 Jan 29 12:45:30 saruman kernel: ivtv: In case
of problems please include the debug info Jan 29 12:45:30 saruman
kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Jan 29 12:45:30 saruman kernel: ivtv: mailing the ivtv-devel
mailinglist. Jan 29 12:45:30 saruman kernel: ivtv: Autodetected WinTV
PVR 350 card Jan 29 12:45:30 saruman kernel: ivtv: Found an iTVC15 based
chip Jan 29 12:45:30 saruman modprobe: FATAL: Error inserting saa7127
(/lib/modules/2.6.10-1.741_FC3/updates/drivers/media/video/saa7127.ko):
Unknown symbol in module, or unknown parameter (see dmesg) Jan 29
12:45:30 saruman kernel: ACPI: PCI Interrupt Link [LNKB] enabled at IRQ
5 Jan 29 12:45:30 saruman kernel: ACPI: PCI interrupt 0000:00:0b.0[A] ->
GSI 5 (level, low) -> IRQ 5 Jan 29 12:45:30 saruman kernel: ivtv:
Unreasonably low latency timer, setting to 64 (was 32) Jan 29 12:45:30
saruman kernel: ivtv: XXX PCI device: 0x0661 vendor: 0x1039 Jan 29
12:45:30 saruman kernel: tda9885/6/7: chip found @ 0x86 Jan 29 12:45:30
saruman kernel: ivtv: i2c attach [client=tda9887,ok] Jan 29 12:45:30
saruman kernel: tveeprom: Hauppauge: model = 48139, rev = K257, serial#
= 2913423 Jan 29 12:45:30 saruman kernel: tveeprom: tuner = Philips
FM1216 ME MK3 (idx = 57, type = 38) Jan 29 12:45:30 saruman kernel:
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) Jan 29
12:45:30 saruman kernel: tveeprom: audio_processor = CS5331 (type = 9)
Jan 29 12:45:30 saruman fstab-sync[4243]: removed all generated mount
points Jan 29 12:45:30 saruman kernel: ivtv: i2c attach
[client=tveeprom[0],ok] Jan 29 12:45:30 saruman kernel: ivtv: Tuner Type
38, Tuner formats 0x00400e17, Radio: yes, Model 0x00ad2557, Revision
0x00000001 Jan 29 12:45:30 saruman kernel: ivtv: Radio detected Jan 29
12:45:30 saruman kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c
driver #0 Jan 29 12:45:30 saruman kernel: ivtv: i2c attach
[client=(tuner unset),ok] Jan 29 12:45:30 saruman kernel: saa7115:
starting probe for adapter ivtv i2c driver #0 (0x10005) Jan 29 12:45:30
saruman kernel: saa7115: detecting saa7115 client on address 0x42 Jan 29
12:45:30 saruman kernel: saa7115: writing init values Jan 29 12:45:30
saruman kernel: ivtv: i2c attach [client=saa7115[0],ok] Jan 29 12:45:30
saruman kernel: saa7115: status: (1E) 0x40, (1F) 0xc0 Jan 29 12:45:30
saruman kernel: saa7127: Unknown parameter `enable_output' Jan 29
12:45:30 saruman kernel: ivtv: Failed to load module saa7127 Jan 29
12:45:30 saruman kernel: msp34xx: init: chip=MSP3418W-B3 +nicam +simple
+simpler +radio mode=simple Jan 29 12:45:30 saruman kernel: ivtv: i2c
attach [client=MSP3418W-B3,ok] Jan 29 12:45:30 saruman kernel: msp3410:
daemon started Jan 29 12:45:30 saruman kernel: msp3400: error while
reading chip version Jan 29 12:45:31 saruman kernel: ivtv: Encoder
revision: 0x02040024 Jan 29 12:45:31 saruman kernel: ivtv: Encoder
Firmware is buggy, use version 0x02040011 Jan 29 12:45:31 saruman
kernel: ivtv: Decoder revision: 0x02020023 Jan 29 12:45:31 saruman
kernel: ivtv: Configuring WinTV PVR 350 card with 9 streams Jan 29
12:45:31 saruman kernel: ivtv: Create DMA stream 0 using 256 16384 byte
buffers  4194304 kbytes total Jan 29 12:45:31 saruman kernel: ivtv:
Registered v4l2 device, streamtype 0 minor 0 Jan 29 12:45:31 saruman
kernel: ivtv: Create DMA stream 1 Jan 29 12:45:31 saruman kernel: ivtv:
Registered v4l2 device, streamtype 1 minor 32 Jan 29 12:45:31 saruman
kernel: ivtv: Create stream 2 using 40 52224 byte buffers  2097152
kbytes total Jan 29 12:45:31 saruman kernel: ivtv: Registered v4l2
device, streamtype 2 minor 224 Jan 29 12:45:31 saruman kernel: ivtv:
Create DMA stream 3 using 455 4608 byte buffers  2097152 kbytes total
Jan 29 12:45:31 saruman kernel: ivtv: Registered v4l2 device, streamtype
3 minor 24 Jan 29 12:45:31 saruman kernel: ivtv: Create stream 4 Jan 29
12:45:31 saruman kernel: ivtv: Registered v4l2 device, streamtype 4
minor 64 Jan 29 12:45:31 saruman kernel: ivtv: Create DMA stream 5 using
16 65536 byte buffers  1048576 kbytes total Jan 29 12:45:31 saruman
kernel: ivtv: Registered v4l2 device, streamtype 5 minor 16 Jan 29
12:45:31 saruman kernel: ivtv: Create stream 6 using 1024 2048 byte
buffers  262144 kbytes total Jan 29 12:45:31 saruman kernel: ivtv:
Registered v4l2 device, streamtype 6 minor 228 Jan 29 12:45:31 saruman
kernel: ivtv: Create stream 7 Jan 29 12:45:31 saruman kernel: ivtv:
Registered v4l2 device, streamtype 7 minor 232 Jan 29 12:45:31 saruman
kernel: ivtv: Create DMA stream 8 Jan 29 12:45:31 saruman kernel: ivtv:
Registered v4l2 device, streamtype 8 minor 48 Jan 29 12:45:31 saruman
kernel: ivtv: Setting Tuner 38 Jan 29 12:45:31 saruman kernel: tuner:
type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c
driver #0 Jan 29 12:45:31 saruman kernel: ivtv: Setting audio matrix to
input 3, output 1 Jan 29 12:45:31 saruman fstab-sync[4412]: added mount
point /media/cdrecorder for /dev/hdc Jan 29 12:45:31 saruman kernel:
ivtv: Switching standard to PAL. Jan 29 12:45:31 saruman kernel:
tda9885/6/7: configure for: PAL-BG Jan 29 12:45:31 saruman kernel:
tda9885/6/7: writing: b=0x14 c=0x70 e=0x09 Jan 29 12:45:31 saruman
kernel: tda9885/6/7: write: byte B 0x14
Jan 29 12:45:31 saruman kernel:   B0   video mode      : sound trap
Jan 29 12:45:31 saruman kernel:   B1   auto mute fm    : no
Jan 29 12:45:31 saruman kernel:   B2   carrier mode    : QSS
Jan 29 12:45:31 saruman kernel:   B3-4 tv sound/radio  : FM/TV
Jan 29 12:45:31 saruman kernel:   B5   force mute audio: no
Jan 29 12:45:31 saruman kernel:   B6   output port 1   : low
Jan 29 12:45:31 saruman kernel:   B7   output port 2   : low
Jan 29 12:45:31 saruman kernel: tda9885/6/7: write: byte C 0x70
Jan 29 12:45:31 saruman kernel:   C0-4 top adjustment  : 0 dB
Jan 29 12:45:31 saruman kernel:   C5-6 de-emphasis     : 50
Jan 29 12:45:31 saruman kernel:   C7   audio gain      : 0
Jan 29 12:45:31 saruman kernel: tda9885/6/7: write: byte E 0x09
Jan 29 12:45:31 saruman kernel:   E0-1 sound carrier   : 5.5 MHz
Jan 29 12:45:31 saruman kernel:   E6   l pll ganting   : 13
Jan 29 12:45:31 saruman kernel:   E2-4 video if        : 38.9 MHz
Jan 29 12:45:31 saruman kernel:   E5   tuner gain      : normal
Jan 29 12:45:31 saruman kernel:   E7   vif agc output  : pin3+pin22 port
Jan 29 12:45:31 saruman kernel: --
Jan 29 12:45:31 saruman kernel: msp3410: thread: restart scan Jan 29
12:45:31 saruman kernel: ivtv: ivtv_enc_thread: pid = 4356, itv =
0xf8ba1da0 Jan 29 12:45:31 saruman kernel: ivtv: ivtv_dec_thread: pid =
4357, itv = 0xf8ba1da0 Jan 29 12:45:32 saruman kernel: tda9885/6/7:
read: 0x8f
Jan 29 12:45:32 saruman kernel:   after power on : yes
Jan 29 12:45:33 saruman kernel:   afc            : -187.5 kHz [min]
Jan 29 12:45:33 saruman kernel:   fmif level     : low
Jan 29 12:45:33 saruman kernel:   afc window     : out
Jan 29 12:45:33 saruman kernel:   vfi level      : high
Jan 29 12:45:33 saruman kernel: saa7115: decoder set norm PAL Jan 29
12:45:33 saruman kernel: saa7115: set audio: 0x01 Jan 29 12:45:33
saruman kernel: ivtv: i2c client addr: 0x44 not found! Jan 29 12:45:33
saruman kernel: ivtv: Initialized WinTV PVR 350, card #0 Jan 29 12:45:33
saruman kernel: ivtv: ====================  END INIT IVTV
==================== Jan 29 12:45:33 saruman kernel: ivtv: i2c client
addr: 0x44 not found! Jan 29 12:45:33 saruman kernel: ivtv: i2c client
addr: 0x44 not found! Jan 29 12:45:33 saruman kernel: bttv: driver
version 0.9.15 loaded Jan 29 12:45:33 saruman kernel: bttv: using 8
buffers with 2080k (520 pages) each for capture Jan 29 12:45:33 saruman
kernel: lirc_i2c: chip found @ 0x18 (Hauppauge IR) Jan 29 12:45:33
saruman kernel: ivtv: i2c attach [client=Hauppauge IR,ok] Jan 29
12:45:33 saruman kernel: lirc_dev: lirc_register_plugin:sample_rate: 10


 *** /etc/modprobe.conf
#       InfraRed
alias char-major-61 lirc_i2c

#       LMsensors
alias char-major-89 i2c-dev

#       ETHERNET
alias eth0 sis900

#       SOUND
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || : remove snd-intel8x0 {
/usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r
--ignore-remove snd-intel8x0

#       USB
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd

#       FIREWIRE
alias ieee1394-controller ohci1394

#       VIDEO
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias tveeprom tveeprom-ivtv
#install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe
ivtv-fb

options tda9887 debug=3
#options msp3400 once=1 simple=1 debug=1 standard=0x03
options msp3400 once=1 debug=1 standard=0x03
options saa7127 enable_output=1 output_select=0
#!#options ivtv tda9887=0
options ivtv tda9887=0 ivtv_std=2
install ivtv /sbin/modprobe tda9887; /sbin/modprobe --ignore-install
ivtv ; /root/bin/pvr_setup.sh #install ivtv /sbin/modprobe tda9887;
/sbin/modprobe --ignore-install ivtv install lirc_i2c /sbin/modprobe
ivtv; /sbin/modprobe --ignore-install lirc_i2c ###options ivtv
ivtv_fb_card_id=1 #options ivtv-fb ivtv_fb_card_id=1


 *** /root/bin/pvr_setup.sh
#!/bin/sh
/usr/bin/ivtvctl -d /dev/video0 -u 0xff
/usr/bin/ivtvctl -d /dev/video0 -p 4
/usr/bin/ivtvctl -d /dev/video0 -f width=720,height=576

#!#/usr/bin/ivtvfbctl /dev/fb0 -noglobalalpha -localalpha
/usr/bin/ivtvctl -d /dev/video0 -c dnr_mode=0 /usr/bin/ivtvctl -d
/dev/video0 -c dnr_temporal=0 /usr/bin/ivtvctl -d /dev/video0 -c
dnr_spatial=0

/usr/bin/ivtvctl -j reg=0x6c,val=0xfa -d /dev/video16 /usr/bin/ivtvctl
-j reg=0x2d,val=0x38 -d /dev/video16

#/usr/lib/ivtv/ptune.pl -f pal-europe-west --channel SE13
#dd if=/dev/video0 of=/dev/video16 bs=64k &
#!#sleep 2
#kill %1
#!#/sbin/modprobe ivtv-fb
#!#/usr/bin/ivtvfbctl /dev/fb0 -noglobalalpha -localalpha
#!#/usr/bin/ivtvfbctl /dev/fb0 -noglobalalpha -localalpha


Hugo.

-- 
        I hate duplicates. Just reply to the relevant mailinglist.
        [EMAIL PROTECTED]
http://hvdkooij.xs4all.nl/
                Don't meddle in the affairs of magicians,
                for they are subtle and quick to anger.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time by
over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Ivtv-users mailing list
Ivtv-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-users


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Ivtv-users mailing list
Ivtv-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-users

Reply via email to