X11 (XF86Config-4)

Configure seu TV OUT na unha

Categoria: X11

Software: X11

[ Hits: 7.899 ]

Por: Thiago Vieira


Configurando o TV OUT alterando o  XF86Config-4.


Section "ServerLayout"

# Serial Mouse not detected
# USB Mouse not detected
   Identifier     "XFree86 Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "PS/2 Mouse" "CorePointer"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
#   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!
   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"
   FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
   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  "dbe"
   Load  "extmod"
   Load  "glx"
   Load  "bitmap" # bitmap-fonts
   Load  "speedo"
   Load  "type1"
   Load  "freetype"
   Load  "record"
EndSection

Section "ServerFlags"
   Option       "AllowMouseOpenFail" "true"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
   Option       "CoreKeyboard"
   Option       "XkbRules" "xfree86"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "us-intl"
        Option      "XkbVariant" "deadkeys" 
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"
 # DDC-probed
 # DDC-probed
   # These are the DDC-probed settings reported by your monitor.
   # 800x600, 85.0Hz; hfreq=53.67, vfreq=85.06
   Identifier   "Monitor0"
   VendorName   "SAM"
   ModelName    "SAM0025"
   HorizSync    31.5 - 57.0
   VertRefresh  50.0 - 70.0
   ModeLine     "800x600" 56.2 800 832 896 1048 600 601 604 631 +hsync +vsync
   ModeLine     "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
   ModeLine     "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
   ModeLine     "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
   ModeLine     "640x480" 25.2 640 648 744 784 480 482 484 509 -hsync -vsync
   ModeLine     "640x480" 43.2 640 680 744 848 480 481 484 509 -hsync +vsync
   ModeLine     "768x576" 35.0 768 792 872 976 576 577 580 597 -hsync +vsync
   ModeLine     "768x576" 42.9 768 800 880 992 576 577 580 601 -hsync +vsync
   ModeLine     "768x576" 45.5 768 808 888 1008 576 577 580 602 -hsync +vsync
   ModeLine     "768x576" 51.8 768 808 888 1008 576 577 580 605 -hsync +vsync
   ModeLine     "768x576" 62.6 768 816 896 1024 576 577 580 611 -hsync +vsync
   ModeLine     "800x600" 68.2 800 848 936 1072 600 601 604 636 -hsync +vsync
   ModeLine     "1024x768" 113.3 1024 1096 1208 1392 768 769 772 814 -hsync +vsync
   ModeLine     "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
   ModeLine     "1152x864" 119.7 1152 1224 1352 1552 864 865 868 907 -hsync +vsync
   ModeLine     "1152x864" 143.5 1152 1232 1360 1568 864 865 868 915 -hsync +vsync
   ModeLine     "1280x960" 124.5 1280 1368 1504 1728 960 961 964 1001 -hsync +vsync
   ModeLine     "1280x960" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
   ModeLine     "1280x960" 179.0 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync
   ModeLine     "1280x1024" 191.0 1280 1376 1520 1760 1024 1025 1028 1085 -hsync +vsync
   ModeLine     "1400x1050" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
   ModeLine     "1400x1050" 149.3 1400 1496 1648 1896 1050 1051 1054 1094 -hsync +vsync
   ModeLine     "1400x1050" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
   ModeLine     "1400x1050" 179.3 1400 1504 1656 1912 1050 1051 1054 1103 -hsync +vsync
   ModeLine     "1400x1050" 214.4 1400 1512 1664 1928 1050 1051 1054 1112 -hsync +vsync
   ModeLine     "1600x1200" 280.6 1600 1728 1904 2208 1200 1201 1204 1271 -hsync +vsync
   Option       "DPMS" "true"
EndSection

Section "Device"

   ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
# The following line is auto-generated by KNOPPIX mkxf86config
#   BusID       "PCI:1:0:0"
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "All"
   BoardName   "All"
   Option       "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        
        #############################
        #TV OUT - Aqui esta o segredo do sucesso =]  #
        #############################
        Option     "TwinView"
        Option     "SecondMonitorHorizSync" "30-50"
        Option     "SecondMonitorVertRefresh" "60"
        Option     "MetaModes" "1152x864, 800x600; 800x600,800x600;"
        Option     "TVStandard" "NTSC-J"
        Option     "ConnectedMonitor" "CRT, TV"
        Option     "TVOutFormat" "SVIDEO"
        # "RightOf" "LeftOf" "Above" "Below" "Clone"
        Option     "TwinViewOrientation" "Clone"


EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Depth     1
      Modes    "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     4
      Modes    "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     8
      Modes    "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     15
      Modes    "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     16
      Modes    "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     24
      Modes    "1024x768"
   EndSubSection
   SubSection "Display"
      Depth     32
      Modes    "800x600" "640x480"
   EndSubSection
EndSection

Section "DRI"
   Mode         0666
EndSection
  


Comentários
[1] Comentário enviado por removido em 12/11/2004 - 07:14h

olá, estive lendo seu artigo em .conf e gostaria de obter algumas respostas:
1- no que pude notar, a saida da placa á svideo, e se fosse RCA?
2- este driver é para uma placa Gforçe, (nvídia) e se fosse outra?
3- o modo de exibição é Clone, como faria para ser dual view?
grato pela atenção

[2] Comentário enviado por eneiasramos em 21/11/2004 - 23:45h

Formatos de saida:
SVIDEO - S-Video,
COMPOSITE - Video-Composto ou RCA.

Option "TVOutFormat" "COMPOSITE"

Acho que ficaria os 'MetaModes' ficariam melhores assim:
800x600, 800x600 ; 800x600,800x600

Option "MetaModes" "800x600,800x600,800x600,800x600

E os principais modos de TV sao: NTSC-M ( Sistema Norte-americano ), PAL-M ( Brasileiro ).

Option "TVStandard" "NTSC-M"

Para uma cópia do monitor na TV use:
Option "ConnectedMonitor" "Clone"

ou para Dual-View:
Option "ConnectedMonitor" "RightOf"

Flowz!

[3] Comentário enviado por jllitvay em 15/12/2004 - 16:50h

Excelente, funcionou no meu beleza. apenas fiz alguns ajustes para o meu monitor, minsturando o X86Config-4 antigo com partes deste seu. rodando beleza no kurumin4beta1


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts