[howto] s-video na i810

royb
Piegowaty Guziec
Piegowaty Guziec
Posty: 1
Rejestracja: 12 mar 2007, 18:50

[howto] s-video na i810

Post autor: royb »

Dla tych, którzy walczą z uruchomieniem wyjścia s-video na zintegrowanych kartach intelowskich obsługiwanych przez driver i810. Co najważniejsze wcale nie trzeba ingerować we własny plik xorg.conf.

[howto]
1. Robimy 2 kopie pliku xorg.conf i nadajemy im nazwy xorg.conf.svideo i xorg.conf.single co w rezultacie daje nam katalog /etc/X11/ z 3 plikami xorg.conf, xorg.conf.single, xorg.conf.svideo

2. Teraz zajmiemy się plikiem z końcówką svideo, kopiujemy poniższy kod, do swojego pliku od miejsca Section "Device"

Kod: Zaznacz cały

Section "Device"
	Identifier "SVIDEO"
	Driver "i810"
	Option "MonitorLayout"	"TV,LFP"
	Option "FlipPrimary" "True"
	Option "TVStandard"	"NTSC"
	Option "TVOutFormat"	"SVIDEO"
	Option "ConnectedMonitor"	"TV"
	Option "Clone" "True"
	BusID "PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"LCD"
	Option		"DPMS"
	HorizSync	30 - 81
	VertRefresh	56 - 76
EndSection

Section "Monitor"
	Identifier	"TV"
	HorizSync	30-50
	VertRefresh	60
EndSection

Section "Screen"
	Identifier	"TV"
	Device		"SVIDEO"
	Monitor		"TV"
	DefaultDepth	24

	SubSection "Display"
		Depth	24
		Modes	"800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"LCDandTV"
	Screen		"TV"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"

EndSection

Section "ServerFlags"
	Option		"DefaultServerLayout" "LCDandTV"
EndSection
3. Przyszła kolej na plik z końcówka single i analogicznie do poprzedniego

Kod: Zaznacz cały

Section "Device"
	Identifier	"Intel Corporation 82852/855GM Integrated Graphics Device"
	Driver		"i810"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-51
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82852/855GM Integrated Graphics Device"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection
4. Pliki konfiguracyjne już mamy, teraz musimy się jakoś przełączać pomiedzy konfiguracjami, wykorzystamy do tego małe skrypty.

Pierwszy do uruchomienia s-video

Kod: Zaznacz cały

#!/bin/sh

sudo cp /etc/X11/xorg.conf.svideo /etc/X11/xorg.conf
sudo pkill Xorg
Możemy go nazwać np. tvouton i wrzucamy do katalogu /usr/bin nadając mu prawo wykonania komendą
sudo chmod +x /usr/bin/tvouton

Drugi do wyłączenia s-video

Kod: Zaznacz cały

#!/bin/sh

sudo cp /etc/X11/xorg.conf.single /etc/X11/xorg.conf
sudo pkill Xorg
Powiedzmy ze to tvoutoff i tak samo prawo i do odpowiedniego katalogu.

5. Odpalamy skrypty poleceniem tvouton i cieszymy sie obrazem na tv
[Xubuntu 6.10] on Toshiba Satellite L10-117
Awatar użytkownika
sylwester
Przyjaciel
Przyjaciel
Posty: 1455
Rejestracja: 18 lut 2005, 19:33
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME
Architektura: x86_64
Kontakt:

Post autor: sylwester »

Super, ale dlaczego nie i855-crt?
i855 TV Out switching
i855-crt is a small utility to enable or disable the TV Out function of
many i855-based laptops.
I drugi i810switch
Enables/disables video output to CRT/LCD on i810 video hardware
i810switch enables/disables the output to the CRT display and LCD,
depending on the i810 graphics controller hardware. Such hardware is found
on some laptops (eg, Sony Vaios, some Dell models, etc). Chipsets also
supported include i855, i830, i845.

This package includes the i810rotate script, which toggles the output
between three states: LCD only, LCD + CRT, and CRT only.
ODPOWIEDZ

Wróć do „Hardware-Multimedia”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 12 gości