[mythtv-users] Myth TV 0.14, PVR 350, PAL (no TV out), UK

Nicholas Drouet nick_drouet at uk.ibm.com
Wed Apr 28 18:35:40 EDT 2004


John,

I believe that the PAL tuner type in modules.conf is type 0 for the UK for 
the PVR 350 (thats what I have mine set to although I'm using a cable TV 
via composite or SVideo input). Have you tried to hook something up to the 
composite input - I'd think that would be an easier option to debug your 
setup.

I've been thru the whole grief of getting a PVR 350 working on Fedora over 
the last couple of weeks so I know you're probably going a bit nuts.. but 
I'd try the following (providing your ivtv module works?). 

Insert the module. 
test_ioctl -u0xff -f width=720,height=576  -p0 (for composite 0) to set 
the PAL and capture format. 
hook up something to the composite input (via the svideo connection). 
Digital cable or Sky is composite via the scart so dont try to use the 
Svideo option for the test_ioctl
do your cat /dev/video0 > /tmp/file.mpg to get something decent. Then try 
to play it back via mplayer. If you are getting snow or a black screen 
when using composite, then something is up with the config or the driver 
for the card. If it works, then look at the actual TV tuner to capture off 
the airwaves. 

As for the TV output, you will need to 

insmod saa7127 enable_output=1 output_select=0 pal=1 test_image=1

to get the test card to appear. This will be a series of vertical coloured 
bars. On my TV (an old but very fine Sony), this appears on the RGB input 
of the TV. 

Good luck - the quality of the TV out is pretty stunning when you get it 
working! 

Regards,

Nick Drouet
Senior Technical Specialist
IBM Global Services





"John Chapman " <newschapmj at lycos.co.uk> 
Sent by: mythtv-users-bounces at mythtv.org
28/04/2004 22:46
Please respond to
Discussion about mythtv


To
mythtv-users at mythtv.org
cc

Subject
[mythtv-users] Myth TV 0.14, PVR 350, PAL (no TV out), UK






I installed Fedora 1 & MythTV  using Jarod's guide and apt
and installed all the files 10 days ago.
I have a PVR350.
2.4.22-1.2179.nptl_47.rhfc1.at

As a 1st simplifying step I want to display the image from my Tuner 
(source external antenna) on my computer
monitor not a TV.

Q1. Does anybody have a modules.cfg file that works?

I have installed MythTV but cannot get it to work.

As a first step I would like to get output to my 
monitor (ie normal XWindows screen) outside of MythTV
using the PVR to capture a picture from its tuner.

I used p_tune_gui to select Channel 23 (ITV).
I then capture to temp.mpg and play it back with mplayer

I now have tantalising colour (not the b&w snow of before).

I also tried to get the test card to work but without success
Is the test card a static picture with unchanging colours?

I know the PVR works as I installed it in minutes on a Windows PC 
and got a poor quality picture from the tuner.

I have used Gossamer threads and the wiki site but now feel stuck!

Q2. Any hints on confguring the PVR350 gratefully received!

================
Details of what I have tried

test_ioctl -u x0FF #set to pal mode

ioctl: VIDIOC_S_STD
ioctl: VIDIOC_S_STD failed

<---------start of modules.conf relevant section--------->
alias char-major-81 videodev
alias char-major-81-0 ivtv
options ivtv ivtv_debug=1 mpg_buffers=90
#next line based on
#tvee: tuner=Philips FM1246 (idx=24, type=1)
options tuner type=2 #  tuner type?
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 tuner
<---------end of modules conf --------->



output from dmesg (relevant section)
<-------start ------------->
ivtv: version 0.1.9 (release) loading
ivtv: SGarray_size = 320, DSGarray_size = 16
ivtv: Found an iTVC15 based chip
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tuner: chip found @ 0xc2
tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 and
compatibles)) [insmod]
saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7114.c: detecting saa7114 client on address 0x42
saa7115.c: writing init values
status: (1E) 0x48, (1F) 0xc0
msp34xx: init: chip=MSP3418W-A2, has NICAM support
msp3410: daemon started
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
ivtv: Registered v4l2 device, minor 16
ivtv: loaded
saa7115[0]: decoder set norm PAL
saa7115[0] set audio: 0x02
<-----------end  --------------->
===============

Used /usr/lib/ivtv/ptune-ui.pl

selected PAL, tuner 0,
pal-europe-west

frequency table now pal-europe-west (same freq for europe-east, europe &
ireland)
channel input 2
channel input 3
Channel changed to 23, freq = '487250'

this gives black and white 'snow' with no obvious picture
I am based in the London area.

==============
test_iocl -a
<----------start ------------->
ioctl: IVTV_IOC_G_CODEC
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 8000000
bitrate_peak: 16000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 0
dnr_type    : 0
framerate   : 1
framespergop: 12
gop_closure : 0
pulldown    : 0
stream_type : 0
ioctl: VIDIOC_G_FMT
                 Type   : Video Capture
                 Width  : 720
                 Height : 480
ioctl: VIDIOC_QUERYCAP
                 Driver name   : ivtv
                 Card type     : Vanilla iTVC15 card
                 Bus info      : 0
                 Driver version: 265
                 Capabilities  : 0x01030003
ioctl: VIDIOC_ENUMINPUT
                 Name    : Composite 0
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : Composite 1
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : Composite 2
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : Composite 3
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : Tuner 0
                 Type    : 0x00000001
                 Audioset: 0x00000000
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : Composite 4
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : S-Video 0
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : S-Video 1
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : S-Video 2
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
                 Name    : S-Video 3
                 Type    : 0x00000002
                 Audioset: 0x00000001
                 Tuner   : 0x00000000
                 Standard: 0x              FF ( PAL )
                 Status  : 0
ioctl: VIDIOC_G_INPUT
Input = 4
ioctl: VIDIOC_G_FREQUENCY
Frequency = 7796
ioctl: VIDIOC_ENUMSTD
                 ID          : 0x            3000
                 Name        : NTSC
                 Frame period: 1001/30000
                 Frame lines : 525
                 ID          : 0x              FF
                 Name        : PAL
                 Frame period: 1/25
                 Frame lines : 625
                 ID          : 0x          7F0000
                 Name        : SECAM
                 Frame period: 1/25
                 Frame lines : 625
ioctl: VIDIOC_G_STD
Standard = 0x000000ff
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 59343
Mute = 0
<-----------------end ----------------->

Lycos Email has 10 MB of FREE storage space. http://mail.lycos.co.uk

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20040428/e511d770/attachment.html


More information about the mythtv-users mailing list