LinHES Forums
http://forum.linhes.org/

pvr-350 tv out help!
http://forum.linhes.org/viewtopic.php?f=2&t=5886
Page 1 of 1

Author:  bergatron [ Fri Sep 02, 2005 6:19 am ]
Post subject:  pvr-350 tv out help!

This is frustrating.. I am running R5A16 and I am getting the solid B&W lines on my TV. I think it has something to do with me not having the correct BUSID in my config.

this:
Code:
lspci | grep MPEG

retuned:
Code:
0000:02:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)


I converted this number to: BusID "PCI:02:09.0" Is that correct?

here is my XF86 config file in full:

Code:

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen  0 "TV Screen"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
   Option "AllowMouseOpenFail"  "true"

EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
   FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
   FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#   FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
#   FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
   FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
   FontPath     "/usr/share/fonts/ttf/western"
   FontPath     "/usr/share/fonts/ttf/decoratives"
   FontPath     "/usr/share/fonts/truetype"
   FontPath     "/usr/share/fonts/truetype/openoffice"
   FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
   FontPath     "/usr/share/fonts/latex-ttf-fonts"
   FontPath     "/usr/X11R6/lib/X11/fonts/defoma/CID"
   FontPath     "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
#   Load  "GLcore"
   Load  "dbe"
   Load  "v4l"
   Load  "extmod"
#   Load  "glx"
        Load  "bitmap" # bitmap-fonts
   Load  "speedo"
   Load  "type1"
   Load  "freetype"
   Load  "record"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
        Option      "CoreKeyboard"
   Option "XkbRules" "xfree86"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "us"

EndSection

Section "InputDevice"
   Identifier  "Serial Mouse"
   Driver      "mouse"
   Option      "Protocol" "Microsoft"
   Option      "Device" "/dev/ttyS0"
   Option      "Emulate3Buttons" "true"
   Option      "Emulate3Timeout" "70"
   Option       "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
   Identifier  "PS/2 Mouse"
   Driver      "mouse"
   Option      "Protocol" "auto"
Option          "ZAxisMapping"          "4 5"
   Option      "Device" "/dev/psaux"
   Option      "Emulate3Buttons" "true"
   Option      "Emulate3Timeout" "70"
   Option       "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
   Option      "SendCoreEvents"   "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "Monitor"
        Identifier  "NTSC Monitor"
        HorizSync  30-68
        VertRefresh 50-120
        Mode "720x480"
          # D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
          DotClock 34.564
          HTimings 720 752 840 928
          VTimings 480 484 488 504
          Flags    "-HSync" "-VSync"
        EndMode
EndSection

Section "Device"
        Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
        Driver      "fbdev"

        ### change fb1 to whatever number you got in the previous section
        Option      "fbdev" "/dev/fb1"

        ### change the busid to whatever is reported by lspci. Note that
        ### output of lspci is hex, so add a preceding "0x" to the BusID
        BusID "PCI:02:09.0"
EndSection

Section "Screen"
        Identifier  "TV Screen"
        Device      "Hauppauge PVR 350 iTVC15 Framebuffer"
        Monitor     "NTSC Monitor"
        DefaultDepth 24
        DefaultFbbpp 32
        Subsection "Display"
          Depth 24
          FbBpp 32
          Modes "720x480"
        EndSubsection
EndSection

Section "DRI"
   Mode 0666
EndSection


Can someone help me out... I can't seem to figure it out. Thanks a bunch in advance!

Author:  bergatron [ Sun Sep 04, 2005 9:19 am ]
Post subject: 

Here is something crazy... I downgraded to R5A12 and ran snapperdragon's script.... which is supposed to do all of the config for you. Even after running this script my machine hangs with the cascading text on startup and TV-out has black and white staggered solid lines this, but time with a green background.


Any ideas? This is a new card maybe the chip set is different? In the startup it gives me Rev (01)... Is that what everyone else is running?

Author:  jbromwich [ Sat Oct 01, 2005 1:32 am ]
Post subject: 

I'm having the same issue. Have you solved it? Which instructions did you use to do the setup?

I followed these 2 instruction sets:
http://ertw.com/blog/archives/pvrin_wit ... 40605.html
and
http://www.knoppmythwiki.org/index.php? ... stallation

Did you ever find another set of insturctions that works?

Author:  bergatron [ Tue Oct 04, 2005 2:35 pm ]
Post subject: 

never got it to work man, sorry.

Author:  SnapperDragon [ Tue Oct 04, 2005 5:45 pm ]
Post subject: 

I'd be curious to know if you are able to get it to work with R4V5. I had the best luck with that version.

I had no problem with R5A12, though, except for an annoying error message in X.

I never tested the script using an upgrade/downgrade, so I can't say what it will do...

If you have a spare disk, try a new, default install, and right after you have it up on your vga, run the script and see if that at least gets it to work. This way, there are few external things that may mess up what the script needs to do.

Author:  jbromwich [ Tue Oct 04, 2005 7:45 pm ]
Post subject: 

I recently got KnoppMyth R5A16 to work with my PVR-350 card. I documented every step I did here, in case that helps you:
http://mysettopbox.tv/phpBB2/viewtopic. ... 6317#36317

Cheers,
Julian.

Author:  srahrens [ Thu Oct 06, 2005 3:04 pm ]
Post subject: 

are you getting smallish diagonal black and white stripes? If so, i believe this is an XF86 issue with your frame buffer settings (or your busid, as suggested). Make sure you have your xdriver stuff all set.

Here's the relavent portion of my XF86Config-4 file, in case it helps:
Code:
Section "Device"
        Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
#        Driver      "fbdev"
        Driver      "ivtvdev"


        ### change fb1 to whatever number you got in the previous section
        Option      "fbdev" "/dev/fb1"

        ### change the busid to whatever is reported by lspci. Note that
        ### output of lspci is hex, so add a preceding "0x" to the BusID
        BusID "0:0x08:0"
EndSection


and of course
Code:
cp /path/ivtvdev_drv.o /usr/X11R6/lib/modules/drivers/


This error should also be generating an XF86 error, which you should be able to dig out of the log (/var/log/XFree86.0.log).

Hope that helps...

I hope that helps...

Author:  whoa [ Fri Oct 07, 2005 7:22 am ]
Post subject: 

Quote:
I converted this number to: BusID "PCI:02:09.0" Is that correct?


no - its BusID "PCI:02:09:0" notice teh colon instead of the period

Author:  whoa [ Fri Oct 07, 2005 7:30 am ]
Post subject: 

also your framebuffer section is wrong...

Quote:
### change fb1 to whatever number you got in the previous section
Option "fbdev" "/dev/fb1"


needs to be modified you find your framebuffer by issuing cat /var/log/messages |grep "TV out"

should get something like
mythtv kernel: ivtv-osd: fb0: iTVC15 TV out frame buffer device

notice the fb0 - whatever the value is after fb is what you use in the the config. In your config you are missing a line tho

assuming you have the correct framebuffer your code should look like:

### change fb1 to whatever number you got in the previous section
Option "fbdev" "/dev/fb1"
Option "ivtvdev" "/dev/fb1"

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/