Dummy me, I forgot to look in the X log that it produced, well here it is:
http://www.schaefer.dhcp.biz/Xorg.log

I appears to me that it is recognizing the configuration but then gets tripped 
up on the framebuffer,
which my Matrox dual head card is mapped to the /dev/fb0 and /dev/fb1,
the Hauppauge card is /dev/fb2.

I thought I used the proper xorg.conf option for fbdev for both devices in the 
configuration to map
them to the proper framebuffer device file.

Like it thinks (correctly) its configuration is for IVTV but when it looks up 
the current screen size for
the framebuffer, which should be 720x480, it gets the screen information for 
the Matrox's framebuffer.

How do I get IVTVDEV to query the right framebuffer???

        ...
        (II) IVTVDEV: driver for framebuffer: ivtv
        (II) Primary Device is: PCI 02:00:0
        (II) resource ranges after xf86ClaimFixedResources() call:
                ...
        (**) IVTVDEV(0): claimed PCI slot 1:10:0
        (II) IVTVDEV(0): using default device
        (II) resource ranges after probing:
                ...
        (II) Setting vga for screen 0.
        (**) IVTVDEV(0): Depth 16, (--) framebuffer bpp 16
        (==) IVTVDEV(0): RGB weight 565
        (==) IVTVDEV(0): Default visual is TrueColor
        (==) IVTVDEV(0): Using gamma correction (1.0, 1.0, 1.0)
        (II) IVTVDEV(0): Hardware: MATROX (vidmem: 16380k)
        (II) IVTVDEV(0): Checking Modes against framebuffer device...
        (II) IVTVDEV(0):        mode "720x480" not found
        (II) IVTVDEV(0): Checking Modes against monitor...
        (--) IVTVDEV(0): Virtual size is 640x480 (pitch 640)
        (**) IVTVDEV(0):  Built-in mode "current": 25.2 MHz, 31.5 kHz, 59.9 Hz
        (II) IVTVDEV(0): Modeline "current"   25.18  640 664 760 800  480 491 
493 525 -hsync -vsync -csync
        (==) IVTVDEV(0): DPI set to (75, 75)
        (II) Loading sub module "fb"
        (II) LoadModule: "fb"
        (II) Loading /usr/X11R6/lib/modules/libfb.a
        (II) Module fb: vendor="X.Org Foundation"
                compiled for 6.7.0, module version = 1.0.0
                ABI class: X.Org ANSI C Emulation, version 0.2
        (**) IVTVDEV(0): Using "Shadow Framebuffer"
        (II) Loading sub module "shadow"
        (II) LoadModule: "shadow"
        (II) Loading /usr/X11R6/lib/modules/libshadow.a
        (II) Module shadow: vendor="X.Org Foundation"
                compiled for 6.7.0, module version = 1.0.0
                ABI class: X.Org ANSI C Emulation, version 0.2
        (II) do I need RAC?  No, I don't.
        (II) resource ranges after preInit:
                ...
        (==) IVTVDEV(0): Backing store disabled
        (==) RandR enabled
        (II) Setting vga for screen 0.
        ...


----- Original Message -----
From: [EMAIL PROTECTED]
Date: Monday, December 6, 2004 9:29 am
Subject: [ivtv-devel] Stuck getting X to display on PVR 350's TV out port.

> I'm stuck trying to get X Windows to display on my Hauppauge WinTV 
> PVR 350's TV out port.
> When I start X, the virtual console goes blank (expected), but 
> nothing ever appears on the TV out port.
> I have X configured to run on my Matrox G400, but I don't have it 
> executing at the time that I attempted to get this working.
> Hopefully you could spot where I'm going wrong.
> Note, that I don't care about a window manager, but startkde 
> instead of mythfrontend gets the same result.
> Oh, I do need to mention the output of "lsmod", in case that has 
> something to do with it.
>       ivtv-fb                24016   0
>       saa7127                 8100   0  (autoclean) (unused)
>       tveeprom                7552   0  (autoclean) (unused)
>       ivtv                  789408   0  [ivtv-fb]
>       saa7115                 7712   0  (unused)
>       msp3400                20096   1
>       tuner                  11336   2
>       i2c-algo-bit            7688   2  [bttv ivtv]
>       i2c-core               13668   0  [bttv saa7127 tveeprom saa7115 
> msp3400 tuner i2c-algo-bit]
>       videodev                6688  12  [bttv ivtv]
> 
> Maybe, I need to compile a seperate X server without keyboard/mice 
> support rather than relying on the xorg.conf options?
> Maybe, the -layout option on the X server command line doesn't 
> accept "Hauppauge Layout", because it is quoted/contains a space?
> Maybe, I don't have the proper configuration for the mythfrontend 
> to find the ivtvdev_drv X server?
> 
> Here are the steps I'm taking:
> 
> wget http://205.209.168.201/~ckennedy/ivtv/ivtv-0.2.0-rc3.tgz
> tar -zxf ivtv-0.2.0-rc3.tgz
> cd ivtv-0.2.0-rc3/driver
> make
> make install
> cd ../utils
> make
> make install
> tar -zxf XFree86-4.3-incr-DMA-06.tgz
> cd ../..
> 
> (downloaded the source to X.org's X windows)
> 
> tar -zxf X11R6.7.0-src1.tar.gz
> tar -zxf X11R6.7.0-src2.tar.gz
> tar -zxf X11R6.7.0-src3.tar.gz
> tar -zxf X11R6.7.0-src4.tar.gz
> tar -zxf X11R6.7.0-src5.tar.gz
> tar -zxf X11R6.7.0-src6.tar.gz
> tar -zxf X11R6.7.0-src7.tar.gz
> mkdir xc/programs/Xserver/hw/xfree86/drivers/ivtv
> cp ivtv-0.2.0-rc3/utils/XFree86-4.3-incr-DMA-
> 06/xc/programs/Xserver/hw/xfree86/drivers/ivtv/* 
> xc/programs/Xserver/hw/xfree86/drivers/ivtv
> 
> cd xc
> cp config/cf/xorgsite.def config/cf/host.def
> joe config/cf/host.def
>       // added the following "#define" line, just below where it is 
> remarked out in the file
>       // besides ivtv and fbdev, the others are just a guess of what I 
> may use in the future
>       #define XF86CardDrivers mga ivtv vga vesa XF86OSCardDrivers nv fbdev
> make World > World.log 2>&1
> // make sure "make World" completed fine
> tail World.log
> make install
> make install.man
> 
> /usr/X11R6/bin/Xorg -scanpci
>       // tells me the BusID that the Hauppauge card
> 
> // now for the contents of the /etc/X11/xorg.conf, standard 
> remarks have been removed
> // I referenced the man page "man 5x xorg.conf", but that doesn't 
> mean I understood all of it
> // X still works on my Matrox framebuffer using the standard 
> /usr/X11R6/bin/startx script
>       Section "Module"
>               Load    "dbe"   # Double buffer extension
>               SubSection      "extmod"
>                       Option  "omit xfree86-dga"   # don't initialise 
> the DGA extension
>               EndSubSection
>               Load    "type1"
>               Load    "speedo"
>               Load    "freetype"
>               Load    "glx"
>       EndSection
> 
>       Section "Files"
>               RgbPath         "/usr/X11R6/lib/X11/rgb"
>               FontPath        "/usr/X11R6/lib/X11/fonts/local/"
>               FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
>               FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>               FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
>               FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
>               FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
>               FontPath        "/usr/X11R6/lib/X11/fonts/TTF/"
>               FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic/"
>               FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
>               FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
>       EndSection
> 
>       Section "ServerFlags"
>       EndSection
> 
>       Section "InputDevice"
>            Identifier "Keyboard1"
>            Driver     "Keyboard"
>            Option "AutoRepeat" "500 30"
>            Option "XkbRules"  "xorg"
>            Option "XkbModel"  "pc104"
>            Option "XkbLayout" "us"
>       EndSection
> 
>       Section "InputDevice"
>            Identifier "Mouse1"
>            Driver     "mouse"
>            Option "Protocol"    "PS/2"
>            Option "Device"      "/dev/mouse"
>       EndSection
> 
>       Section "Monitor"
>            Identifier  "My Monitor"
>            HorizSync   31.5 - 48.5
>            VertRefresh 50-70
>       EndSection
> 
>       Section "Monitor"
>               Identifier  "Television using Hauppauge"
>               HorizSync   30-50
>               VertRefresh 60
>       EndSection
> 
>       Section "Device"
>            Identifier "Standard VGA"
>            VendorName "Unknown"
>            BoardName  "Unknown"
>            Driver     "vga"
>       EndSection
> 
>       Section "Device"
>            Identifier  "** Linux framebuffer (generic)        
> [fbdev]"            Driver      "fbdev"
>            Option "fbdev" "/dev/fb0"
>       EndSection
> 
>       Section "Device"
>               Identifier "Hauppauge WinTV PVR 350, model 990"
>               Driver "ivtvdev"
>               Option "fbdev" "/dev/fb2"
>               BusID "PCI:1:10:0"      # /usr/X11R6/bin/Xorg -scanpci
>       EndSection
> 
>       Section "Screen"
>            Identifier  "Screen 1"
>            Device      "** Linux framebuffer (generic)        
> [fbdev]"            Monitor     "My Monitor"
>            DefaultDepth 16
>            Subsection "Display"
>               Depth       8
>                Modes       "800x600"
>               ViewPort    0 0
>            EndSubsection
>            Subsection "Display"
>               Depth       16
>                Modes       "800x600"
>               ViewPort    0 0
>            EndSubsection
>            Subsection "Display"
>                Depth       24
>               Modes       "800x600"
>                ViewPort    0 0
>            EndSubsection
>       EndSection
> 
>       Section "Screen"
>            Identifier  "Hauppauge Screen"
>            Device      "Hauppauge WinTV PVR 350, model 990"
>            Monitor     "Television using Hauppauge"
>            DefaultDepth 16
>            Subsection "Display"
>               Depth       16
>                Modes       "720x480"  # NTSC
>               ViewPort    0 0
>            EndSubsection
>            Subsection "Display"
>               Depth       24
>                Modes       "720x480"  # NTSC
>               ViewPort    0 0
>            EndSubsection
>            Subsection "Display"
>               Depth       32
>                Modes       "720x480"  # NTSC
>               ViewPort    0 0
>            EndSubsection
>       EndSection
> 
>       Section "ServerLayout"
>            Identifier  "Simple Layout"
>            Screen "Screen 1"
>            InputDevice "Mouse1" "CorePointer"
>            InputDevice "Keyboard1" "CoreKeyboard"
>       EndSection
> 
>       Section "ServerLayout"
>               Identifier  "Hauppauge Layout"
>               Screen "Hauppauge Screen"
>       EndSection
> 
> 
> // NOW, I used the following lines in a script file to start the X 
> server on the Hauppauge card
> #!/bin/sh
> xinit /root/startXrc -- /usr/X11R6/bin/Xorg -layout "Hauppauge Layout"
> 
> // which calls the following script /root/startxrc
> #!/bin/sh
> mythbackend --daemon --logfile /home/www/data/PVR/backend.log
> mythfrontend
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real 
> users.Discover which products truly live up to the hype. Start 
> reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> ivtv-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
ivtv-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to