LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-12-2006, 05:37 AM   #1
james penguin
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Rep: Reputation: 0
xorg.conf help for PVR-350 video/audio output.


It's been a long night folks, so don't grill me if the solution is obvious.

Ok so I'm building a PVR, and the distro is FC4. I'm using a Hauppauge PVR-350, and I'm having some trouble with the Audio/Video out on it.

I've been following the Mythtv guide from here,
http://wilsonet.com/mythtv/

I used yum to get the ivtv drivers, and then I've edited /etc/modprobe.conf to the specifications, and now I know that I need to configure my xorg.conf to run x off of the Tuners video out, but that is where I've hit a bit of a stumbling block.

so ok here is my modprobe
Code:
alias eth0 3c59x
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller uhci-hcd
alias char-major-61 lirc_i2c

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

install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c
and here is my lspci for the tuner card

Code:
01:0b.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR-350
        Flags: bus master, medium devsel, latency 64, IRQ 9
        Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: <available only to root>
now I tryed to follow the guide's instructions for configuring xorg.conf, but the conf file I've come up with causes my system to hang on boot.

so here is my weird xorg.conf
Code:
# 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    "Dell D2026T"
        DisplaySize  380        290
        HorizSync    30.0 - 96.0
        VertRefresh  48.0 - 160.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "i810"
        VendorName  "Videocard vendor"
        BoardName   "Intel 810"
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    "800x600" "640x480"
        EndSubSection
EndSection

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

        ### change fb1 to whatever your card grabbed
        Option      "fbdev" "/dev/fb1"
	Option      "ivtv" "/dev/fb1"

        #Busid was 01:0b.0
        BusID "PCI:1:11:0"
EndSection

Section "Screen"
        Identifier  "Screen0"
        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"
        Group        0
        Mode         0666
EndSection
So any ideas/suggestions on what might be wrong with my system? Also, is there anything special that needs to be done to use the audio outputs on the PVR350?

Thanks in advance.
 
Old 02-12-2006, 05:44 AM   #2
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Have you tried this:

Code:
root@computer#xorgcfg -textmode
 
Old 02-12-2006, 04:24 PM   #3
james penguin
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Code:
[root@localhost X11]# xorgcfg -textmode
bash: xorgcfg: command not found
That isn't working
 
Old 02-12-2006, 07:40 PM   #4
james penguin
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
sorry for the double post, but things have changed a bit. So after a couple hours of head scratching and google searches, the tv output is working. (Hooray!) And wouldn't you know it I'm now faced with a new issue. I've got the res set to 720x480 (NTSC) and it's plugged into my tv via the composite output from the tuner card. However, (and this is kinda hard to describe) the myth menu and everything else is "to big" for the screen.

Like, I can see the menu but the outer edges are off screen. Anyone know what's wrong?
 
Old 02-13-2006, 01:13 AM   #5
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Sorry...I overlooked your previous post.

Try this command:

Code:
xf86cfg -textmode
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WinTV-PVR-350 mimsmall Linux - Hardware 6 12-04-2006 11:45 AM
Mythtv and PVR-350 Some advice please! kmarvin Linux - Hardware 3 02-06-2006 12:00 PM
Hauppage WinTV PVR 350 RobertSensei Linux - Hardware 2 10-24-2005 09:42 PM
PVR-350 video problem RobertSensei Linux - Software 1 10-22-2005 10:31 PM
Pvr 350 Ivtv Help! Tuner 47 dysenteryduke Linux - Hardware 3 02-10-2005 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration