Multihead and input devices

Bo Rosén brosen at bredband.net
Tue Nov 2 09:07:21 UTC 2004


I have X set up with two screens on my nVidia card, but I have no idea
how to get a mouse and keyboard (or even better a remote) to work on the
second screen, my tv-set. I use it to play movies (with mplayer
-display :0.1)

in an ideal world, I would just have something like freevo running on it
and controlled by a remote (I have an ir-eye).

Is this doable?

Thanks,
	Bo
-- 
Bo Rosén <brosen at bredband.net>
-------------- next part --------------
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	Screen	    1  "Screen1" 0 1	
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

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

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"v4l"
	Load	"vbe"
	Load	"xtt"
EndSection


Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
        Option      "CoreKeyboard"
	Option "XkbRules" "xfree86"
	Option "XkbModel" "pc105"
	Option "XkbLayout" "se"
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 "Monitor"
	Identifier	"T710BH"
	HorizSync	30-71
	VertRefresh	50-160
	Option		"DPMS"
EndSection


Section "Monitor"
	Identifier "TV"
	VendorName "Sony"
	Option	"UseEdidFreqs"	"yes"
	HorizSync 30-50
	VertRefresh 60
	Option	    "TVStandard" "PAL-B"
#	Option	"TVOverScan"	"1.0"
EndSection

Section "Device"
    Identifier "Device0"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce2 DDR (generic)"
    Driver "nvidia"
    Option "DPMS"
#    Option "DigitalVibrance"	"225"
    Option "RenderAccel"	"on"
    BusID  "PCI:1:0:0"
    Screen 0
EndSection


Section "Device"
	Identifier "Device1"
	VendorName "nVidia Corporation"
	BoardName "NVIDIA GeForce2 DDR (generic)"
	Driver "nvidia"
	Option "DPMS"
	Option	"RenderAccel"	"on"
	Option	"TVOverscan"	"1.0"
	BusId  "PCI:1:0:0"
	Screen 1
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Device0"
	Monitor    "T710BH"
	DefaultColorDepth 24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection


		
Section "Screen"
	Identifier "Screen1"
	Device "Device1"
	Monitor "TV"
	DefaultColorDepth 24
		SubSection "Display"
			Depth 24
			Modes "1024x768"
	EndSubsection
EndSection

Section "DRI"
	Mode 0666
EndSection
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Detta är en digitalt signerad	meddelandedel
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041102/5e4ac399/attachment.sig>


More information about the ubuntu-users mailing list