From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Date: Thu, 17 Jan 2008 20:26:11 +0200 From: Igor Vlasenko To: ALT Linux Sisyphus discussions Message-ID: <20080117182611.GA5212@dad.imath.kiev.ua> References: <20080117113136.GA28319@dad.imath.kiev.ua> <20080117175249.6e3b0f36@rt> <20080117164342.GA3470@dad.imath.kiev.ua> <20080117202819.0f35a800@rt> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080117202819.0f35a800@rt> User-Agent: Mutt/1.4.2.2i Received-SPF: pass (dad.imath.kiev.ua: domain of vlasenko@dad.imath.kiev.ua designates 127.0.0.1 as permitted sender) receiver=dad.imath.kiev.ua; client-ip=127.0.0.1; helo=dad.imath.kiev.ua; envelope-from=vlasenko@dad.imath.kiev.ua; x-software=spfmilter 0.95 http://www.acme.com/software/spfmilter/ with libspf2; Subject: Re: [sisyphus] TwinSeat X: keyboard sharing trouble X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 18:26:20 -0000 Archived-At: List-Archive: List-Post: On Thu, Jan 17, 2008 at 08:28:19PM +0300, Sergey Alembekov wrote: > On Thu, 17 Jan 2008 18:43:42 +0200 > Igor Vlasenko wrote: > > > А с xgl пока не решаюсь связываться - ведь у меня > > работают 2 видеокарты (встроенная в мать и внешняя). > Ой, а вам не проще ли в таком случае не проще ли сделать по отдельному конфигу Xorg для каждой видеокарты? Подозреваю, что в таком случае и без evdev можно обойтись. Сергей, вы не поняли :) У меня в ситуации, когда по отдельному конфигу Xorg для каждой видеокарты все работает, две видеокарты, две мышки - но общая клавиатура через Driver "kbd". Если же хочу развести в конфиге и клавиатуры Driver "evdev" то эта конфигурация работает на 2 seat, но очень быстро падает :( startx -- :0 -layout head0 startx -- :1 -layout head1 xorg.conf: ------------------------------------------ # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (builder@amd64.office.altlinux.ru) Wed Oct 11 21:31:12 MSD 2006 Section "ServerFlags" # Option "DefaultServerLayout" "head0" # Option "DefaultServerLayout" "xinerama" Option "DefaultServerLayout" "dualhead" # Option "Xinerama" "true" EndSection Section "ServerLayout" Identifier "default" Screen "Screen0" 0 0 # InputDevice "mouse0" "CorePointer" InputDevice "mice" "SendCoreEvents" InputDevice "KeyMouseCOM1" "CorePointer" InputDevice "Keyboards" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "dualhead" InputDevice "Keyboards" "CoreKeyboard" InputDevice "mice" "CorePointer" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" EndSection Section "ServerLayout" Identifier "xinerama" InputDevice "Keyboards" "CoreKeyboard" InputDevice "mice" "CorePointer" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" Option "Xinerama" "on" EndSection Section "ServerLayout" Identifier "head0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "PS2mouse" "CorePointer" Screen 0 "Screen0" 0 0 EndSection Section "ServerLayout" Identifier "head1" InputDevice "Keyboards" "CoreKeyboard" InputDevice "usbmouse" "CorePointer" Screen 0 "Screen1" 0 0 EndSection Section "Files" FontPath "unix/:-1" EndSection Section "Module" Load "dbe" Load "glx" Load "extmod" Load "freetype" SubSection "extmod" Option "omit xfree86-dga" EndSubSection EndSection Section "InputDevice" Identifier "Keyboards" Driver "kbd" Option "AutoRepeat" "250 30" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) #Option "XkbModel" "pc105" Option "XkbModel" "a4techKBS8" Option "XkbLayout" "us,ru,ua" Option "XkbVariant" ",winkeys,winkeys" Option "XkbOptions" "grp:menu_toggle,grp_led:scroll" EndSection Section "InputDevice" Identifier "Keyboard0" #Driver "kbd" Driver "evdev" # Option "Device" "/dev/input/event3" Option "Phys" "isa0060/serio0/input0" #Option "AutoRepeat" "250 30" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) #Option "XkbModel" "pc105" # Option "XkbModel" "a4techKBS8" Option "XkbModel" "evdev" Option "XkbLayout" "us,ru,ua" Option "XkbVariant" ",winkeys,winkeys" Option "XkbOptions" "grp:menu_toggle,grp_led:scroll" EndSection Section "InputDevice" Identifier "Keyboard1" #Driver "kbd" Driver "evdev" # Option "Device" "/dev/input/event3" Option "Phys" "usb-0000:00:0b.1-1.1/input0" # Option "AutoRepeat" "250 30" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) #Option "XkbModel" "pc105" Option "XkbModel" "evdev" #Option "XkbModel" "a4techKBS8" Option "XkbLayout" "us,ru,ua" Option "XkbVariant" ",winkeys,winkeys" Option "XkbOptions" "grp:menu_toggle,grp_led:scroll" EndSection Section "InputDevice" Identifier "Keyboard1mul" #Driver "kbd" Driver "evdev" # Option "Device" "/dev/input/event3" Option "Phys" "usb-0000:00:0b.1-1.1/input1" # Option "AutoRepeat" "250 30" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "XkbModel" "pc105" #Option "XkbModel" "a4techKBS8" # Option "XkbLayout" "us,ru,ua" # Option "XkbVariant" ",winkeys,winkeys" # Option "XkbOptions" "grp:menu_toggle,grp_led:scroll" EndSection Section "InputDevice" Identifier "PS2mouse" Driver "mouse" Option "Device" "/dev/psaux" Option "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "usbmouse" Driver "mouse" Option "Device" "/dev/input/by-id/usb-Logitech_USB-PS.2_Optical_Mouse-mouse" Option "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "mice" Driver "mouse" Option "Device" "/dev/input/mice" #"Logitech USB-PS/2 Optical Mouse" Option "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "KeyMouseCOM1" Driver "mouse" Option "Device" "/dev/ttyS0" Option "Protocol" "IntelliMouse" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor0" EndSection Section "Monitor" Identifier "Monitor1" Option "DPMS" "true" EndSection Section "Device" # Driver "vesa" # Driver "nv" # Driver "fbdev" Identifier "Device0" Driver "nvidia" BoardName "GeForce 6150LE" Busid "PCI:00:05:0" # Option "AddARGBVisuals" "True" # Option "AddARGBGLXVisuals" "True" Option "NoLogo" "True" EndSection Section "Device" # Driver "vesa" # Driver "nv" # Driver "fbdev" Identifier "Device1" Driver "nvidia" # BoardName "GeForce 8500" Busid "PCI:2:0:0" # Option "AddARGBVisuals" "True" # Option "AddARGBGLXVisuals" "True" Option "NoLogo" "True" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" # DefaultDepth 16 DefaultDepth 24 SubSection "Display" Depth 8 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 "Monitor1" # DefaultDepth 16 DefaultDepth 24 SubSection "Display" Depth 8 Modes "1680x1050" # Modes "1680x1050" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1680x1050" # Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1680x1050" # Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection EndSection -- Dr. Igor Vlasenko -------------------- Topology Department Institute of Math Kiev, Ukraine