[mythtv-users] Help, PVR-350 TV Out doesn't work (fwd)

Myth Tv mythtv at hormann.tzo.cc
Wed Aug 24 01:58:16 UTC 2005



I had a number of issues getting pvr-350 working too. Once I got the "dd"
command working, everything fell in line. I used  0.3.7 (d)

1) Looks like you are using PAL for video output. I'm not sure where you
are located, but US based TV's should use NTSC.

2) I ended up with a very simple modprobe.conf (no tveeprom lines)

alias char-major-81-* videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb


3) I had a problem lines being displayed on top of the video.  I correct
them with this:

# /usr/bin/ivtvfbctl /dev/fb1 -alpha -on -globalalpha -nolocalalpha

PS: You might want to try out the ivtv list.
http://www.gossamer-threads.com/lists/ivtv/devel/

Greg.


On Sun, 21 Aug 2005, Gera Makarov wrote:

> At this stage I've only been trying to output live tv from 350 but the
> intention was to run X through it. I did enable 350 hardware decoding
> in mythfrontend but it didn't do anything. I was able to get sound
> trhough 350 from the following test:
>
> # /usr/bin/ivtvfbctl /dev/fb0 -noglobalalpha -localalpha
> # dd if=/dev/video0 of=/dev/video16 bs=64k
>
> but there were diagonal lines that didn't let see the picture. I can't
> even get sound now (can't remember what I did to change it).
>
> Here's my modprobe.conf
>
> alias eth0 8139too
> alias snd-card-0 snd-via82xx
> options snd-card-0 index=0
> options snd-via82xx index=0
> remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ;
> }; /sbin/modprobe -r --ignore-remove snd-via82xx
> alias usb-controller uhci-hcd
> 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
>
>
> Output from messages
>
> Aug 21 21:37:47 pvr kernel: ivtv: ==================== START INIT IVTV
> ====================
> Aug 21 21:37:47 pvr kernel: ivtv: version 0.2.0 (rc3j) loading
> Aug 21 21:37:47 pvr kernel: ivtv: Linux version: 2.6.12-1.1398_FC4 686
> REGPARM 4KSTACKS gcc-4.0
> Aug 21 21:37:47 pvr kernel: ivtv: In case of problems please include
> the debug info
> Aug 21 21:37:47 pvr kernel: ivtv: between the START INIT IVTV and END
> INIT IVTV lines when
> Aug 21 21:37:47 pvr kernel: ivtv: mailing the ivtv-devel mailinglist.
> Aug 21 21:37:47 pvr kernel: ivtv: Autodetected WinTV PVR 350 card
> Aug 21 21:37:47 pvr kernel: ivtv: Found an iTVC15 based chip
> Aug 21 21:37:47 pvr kernel: ACPI: PCI Interrupt Link [LNKA] enabled at
> IRQ 11
> Aug 21 21:37:47 pvr kernel: PCI: setting IRQ 11 as level-triggered
> Aug 21 21:37:47 pvr kernel: ACPI: PCI Interrupt 0000:00:09.0[A] -> Link
> [LNKA] -> GSI 11 (level, low) -> IRQ 11
> Aug 21 21:37:47 pvr kernel: ivtv: VIA PCI device: 0x3099 vendor: 0x1106
> Aug 21 21:37:47 pvr kernel: tveeprom: Hauppauge: model = 48134, rev =
> I121, serial# = 6154918
> Aug 21 21:37:47 pvr kernel: tveeprom: tuner = Philips FM1216 (idx = 21,
> type = 5)
> Aug 21 21:37:47 pvr kernel: tveeprom: tuner fmt = PAL(B/G) (eeprom =
> 0x04, v4l2 = 0x00000007)
> Aug 21 21:37:47 pvr kernel: tveeprom: audio_processor = CS5331 (type =
> 9)
> Aug 21 21:37:47 pvr kernel: ivtv: i2c attach [client=tveeprom,ok]
> Aug 21 21:37:47 pvr kernel: ivtv: Tuner Type 5, Tuner formats
> 0x00000007, Radio: yes, Model 0x00a51491, Revision 0x00000001
> Aug 21 21:37:47 pvr kernel: ivtv: PAL tuner detected
> Aug 21 21:37:47 pvr kernel: ivtv: Radio detected
> Aug 21 21:37:47 pvr kernel: ivtv: i2c attach [client=(tuner unset),ok]
> Aug 21 21:37:47 pvr kernel: tuner 1-0061: chip found @ 0xc2 (ivtv i2c
> driver #0)
> Aug 21 21:37:47 pvr kernel: saa7115: starting probe for adapter SMBus
> Via Pro adapter at 0400 (0x0)
> Aug 21 21:37:48 pvr kernel: saa7115: starting probe for adapter ivtv
> i2c driver #0 (0x10005)
> Aug 21 21:37:48 pvr kernel: saa7115: detecting saa7115 client on
> address 0x42
> Aug 21 21:37:48 pvr kernel: saa7115: writing init values
> Aug 21 21:37:48 pvr kernel: ivtv: i2c attach [client=saa7115,ok]
> Aug 21 21:37:48 pvr kernel: saa7115: status: (1E) 0x00, (1F) 0xc0
> Aug 21 21:37:48 pvr kernel: saa7127: Ignoring new-style parameters in
> presence of obsolete ones
> Aug 21 21:37:48 pvr kernel: saa7127: video encoder driver version V 0.3
> loaded
> Aug 21 21:37:48 pvr kernel: saa7127: detecting saa7127 client on
> address 0x88
> Aug 21 21:37:48 pvr kernel: saa7127: Selecting NTSC video Standard
> Aug 21 21:37:48 pvr kernel: saa7127: Selecting S-Video+Composite
> Aug 21 21:37:48 pvr kernel: saa7127: Turn WSS off
> Aug 21 21:37:48 pvr kernel: saa7127: Widescreen Mode 4:3 Full Format
> Aug 21 21:37:48 pvr kernel: saa7127: Selecting Normal Encoder Input
> Aug 21 21:37:48 pvr kernel: saa7127: Enable Video Output
> Aug 21 21:37:48 pvr kernel: ivtv: i2c attach [client=saa7127,ok]
> Aug 21 21:37:48 pvr kernel: msp34xx: init: chip=MSP3418W-A2 +nicam
> +simple +simpler +radio mode=simpler
> Aug 21 21:37:48 pvr kernel: ivtv: i2c attach [client=MSP3418W-A2,ok]
> Aug 21 21:37:48 pvr kernel: msp34xxg: daemon started
> Aug 21 21:37:49 pvr kernel: ivtv: Encoder revision: 0x02040024
> Aug 21 21:37:49 pvr kernel: ivtv: Encoder Firmware may be buggy, use
> version 0x02040011
> Aug 21 21:37:49 pvr kernel: ivtv: Decoder revision: 0x02020023
> Aug 21 21:37:49 pvr kernel: ivtv: Configuring WinTV PVR 350 card with 9
> streams
> Aug 21 21:37:49 pvr kernel: ivtv: Create DMA stream 0 using 256 16384
> byte buffers  4194304 kbytes total
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 0
> minor 0
> Aug 21 21:37:49 pvr kernel: ivtv: Create DMA stream 1
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 1
> minor 32
> Aug 21 21:37:49 pvr kernel: ivtv: Create stream 2 using 40 52224 byte
> buffers  2097152 kbytes total
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 2
> minor 224
> Aug 21 21:37:49 pvr kernel: ivtv: Create DMA stream 3 using 455 4608
> byte buffers  2097152 kbytes total
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 3
> minor 24
> Aug 21 21:37:49 pvr kernel: ivtv: Create stream 4
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 4
> minor 64
> Aug 21 21:37:49 pvr kernel: ivtv: Create DMA stream 5 using 16 65536
> byte buffers  1048576 kbytes total
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 5
> minor 16
> Aug 21 21:37:49 pvr kernel: ivtv: Create stream 6 using 1024 2048 byte
> buffers  262144 kbytes total
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 6
> minor 228
> Aug 21 21:37:49 pvr kernel: ivtv: Create stream 7
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 7
> minor 232
> Aug 21 21:37:49 pvr kernel: ivtv: Create DMA stream 8
> Aug 21 21:37:49 pvr kernel: ivtv: Registered v4l2 device, streamtype 8
> minor 48
> Aug 21 21:37:49 pvr kernel: ivtv: Setting Tuner 5
> Aug 21 21:37:49 pvr kernel: tuner 1-0061: type set to 5 (Philips PAL_BG
> (FI1216 and compatibles))
> Aug 21 21:37:49 pvr kernel: saa7115: decoder set input (4)
> Aug 21 21:37:49 pvr kernel: saa7115: now setting Composite input
> Aug 21 21:37:49 pvr kernel: ivtv: Setting audio matrix to input 3,
> output 1
> Aug 21 21:37:49 pvr kernel: ivtv: Switching standard to PAL.
> Aug 21 21:37:49 pvr kernel: saa7115: decoder set norm PAL
> Aug 21 21:37:49 pvr kernel: saa7115: set audio: 0x01
> Aug 21 21:37:49 pvr kernel: saa7127: Setting Encoder Video Standard
> Aug 21 21:37:49 pvr kernel: saa7127: Set PAL Video Mode
> Aug 21 21:37:49 pvr kernel: saa7127: Selecting PAL video Standard
> Aug 21 21:37:49 pvr kernel: ivtv: Initialized WinTV PVR 350, card #0
> Aug 21 21:37:49 pvr kernel: ivtv: ====================  END INIT IVTV
> ====================
>
>
> And there's my xorg file (I haven't modified it yet)
>
>
> # XFree86 4 configuration created by pyxf86config
>
> Section "ServerLayout"
>         Identifier     "Default Layout"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>
> # RgbPath is the location of the RGB database.  Note, this is the name
> of the
> # file minus the extension (like ".txt" or ".db").  There is normally
> # no need to change the default.
> # Multiple FontPath entries are allowed (they are concatenated
> together)
> # By default, Red Hat 6.0 and later now use a font server independent
> of
> # the X server to render fonts.
>         RgbPath      "/usr/X11R6/lib/X11/rgb"
>         FontPath     "unix/:7100"
> EndSection
>
> Section "Module"
>         Load  "dbe"
>         Load  "extmod"
>         Load  "fbdevhw"
>         Load  "glx"
>         Load  "record"
>         Load  "freetype"
>         Load  "type1"
>         Load  "dri"
> EndSection
>
> Section "InputDevice"
>
> # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
> #       Option  "Xleds"         "1 2 3"
> # To disable the XKEYBOARD extension, uncomment XkbDisable.
> #       Option  "XkbDisable"
> # To customise the XKB settings to suit your keyboard, modify the
> # lines below (which are the defaults).  For example, for a non-U.S.
> # keyboard, you will probably want to use:
> #       Option  "XkbModel"      "pc102"
> # If you have a US Microsoft Natural keyboard, you can use:
> #       Option  "XkbModel"      "microsoft"
> #
> # Then to change the language, change the Layout setting.
> # For example, a german layout can be obtained with:
> #       Option  "XkbLayout"     "de"
> # or:
> #       Option  "XkbLayout"     "de"
> #       Option  "XkbVariant"    "nodeadkeys"
> #
> # If you'd like to switch the positions of your capslock and
> # control keys, use:
> #       Option  "XkbOptions"    "ctrl:swapcaps"
> # Or if you just want both to be control, use:
> #       Option  "XkbOptions"    "ctrl:nocaps"
> #
>         Identifier  "Keyboard0"
>         Driver      "kbd"
>         Option      "XkbModel" "pc105"
>         Option      "XkbLayout" "us"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "IMPS/2"
>         Option      "Device" "/dev/input/mice"
>         Option      "ZAxisMapping" "4 5"
>         Option      "Emulate3Buttons" "yes"
> EndSection
>
> Section "Monitor"
>         Identifier   "Monitor0"
>         VendorName   "Monitor Vendor"
>         ModelName    "CPD-G420"
>         DisplaySize  360        270
>         HorizSync    30.0 - 110.0
>         VertRefresh  48.0 - 170.0
>         Option      "dpms"
> EndSection
>
> Section "Device"
>         Identifier  "Videocard0"
>         Driver      "nv"
>         VendorName  "Videocard vendor"
>         BoardName   "NVIDIA GeForce 2 GTS (generic)"
> EndSection
>
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Videocard0"
>         Monitor    "Monitor0"
>         DefaultDepth     24
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     16
>                 Modes    "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     24
>                 Modes    "1024x768" "800x600" "640x480"
>         EndSubSection
> EndSection
>
> Section "DRI"
>         Group        0
>         Mode         0666
> EndSection
>
>
> Thank you.
>
> --- Nick <knowledgejunkie at gmail.com> wrote:
>
> > On 8/21/05, Gera Makarov <h8dk97 at rocketmail.com> wrote:
> > > Did anyone have problems with tv-out on 350? I got mythtv working,
> > can
> > > watch live tv on my computer (although the pq is not that great)
> > but
> > > when trying to output pvr350 to tv it's not working. I'm running
> > FC4
> > > with all the latest updates. I followed the instructions (for FC3)
> > on
> >
> > Are you trying to just output LiveTV and recordings from the 350, or
> > run your whole X Windows session on the output? Please check you are
> > enabling the 350's output in MythTV (frontend setup). Also, please
> > post your modprobe.conf, xorg.conf and ivtv output from
> > /var/log/messages.
> >
> > Nick
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
> _______________________________________________
> 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