[mythtv] XF86Config

Torsten Schenkel torsten.schenkel at web.de
Wed Oct 29 17:21:51 EST 2003


On Wed, 2003-10-29 at 18:49, Harold R. Couch wrote:
> Hi Everyone,
> 
>             Could someone who is using the PVR-350 please post there
> XF86Config file, I can't get the svideo out working. I think I have my
> XF86Config

This is what works for me (no dual screen, just pvr framebuffer)

This is with Jans Axboe's snapshot of today. Up to now it's working, not
like the last ones that froze when changing from X to TV and back.

Torsten
-------------- next part --------------
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen	0	"TV Screen"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
	Option "NoPM" "true"
	Option "BlankTime" "0"
	Option "NoPM" "true"
	Option "BlankTime" "0"
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"
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      "keyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "de"
	Option	    "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/psaux"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "Monitor"
    Identifier  "PAL Monitor"
    HorizSync  30-68
    VertRefresh 50-120
    Mode "720x576"
    # D: 41.475 MHz, H: 44.693 kHz, V: 74.488 Hz
         DotClock 41.476
         HTimings 720 752 840 928
         VTimings 576 580 584 600
         Flags    "-HSync" "-VSync"
    EndMode
EndSection

Section "Device"
    Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
    Driver      "fbdev"
    Option      "fbdev" "/dev/fb0"      # <-- modify if using another device
    BusID "0:20:0"
#          ^^^^^^
#
#  You'll have to change that to fit your setup, use lspci -v to find out which pci address you pvr has!
#

EndSection

Section "Screen"
  Identifier  "TV Screen"
  Device      "Hauppauge PVR 350 iTVC15 Framebuffer"
  Monitor     "PAL Monitor"
  DefaultDepth 24
  DefaultFbbpp 32
  Subsection "Display"
    Depth 24
    FbBpp 32
    Modes "720x576"
  EndSubsection
EndSection
-------------- next part --------------
modprobe agpgart agp_try_unsupported=1

modprobe ivtv

modprobe ivtv-fb

hdparm -M 254 /dev/hda
hdparm -E 4 /dev/hdc

lircd
-------------- next part --------------
# Network
alias eth0 via-rhine
alias wlan0 prism2_usb

#usb
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394

#ivtv
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv

options ivtv debug=1 ivtv_pal
options tuner type=14
options msp3400 once=1 simple=1
options saa7127 enable_output=1 output_select=0 pal=1
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv lirc_dev lirc_i2c
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 1
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video16 -u 1
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video32 -u 1
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video224 -u 1

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias char-major-81-0 via_v4l_drv
alias char-major-81-1 via_v4l_drv
alias char-major-81-2 via_v4l_drv


More information about the mythtv-dev mailing list