* Re: [sisyphus] TwinSeat X: keyboard sharing trouble
2008-01-17 17:28 ` Sergey Alembekov
@ 2008-01-17 18:26 ` Igor Vlasenko
0 siblings, 0 replies; 6+ messages in thread
From: Igor Vlasenko @ 2008-01-17 18:26 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Thu, Jan 17, 2008 at 08:28:19PM +0300, Sergey Alembekov wrote:
> On Thu, 17 Jan 2008 18:43:42 +0200
> Igor Vlasenko <vlasenko@imath.kiev.ua> 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
^ permalink raw reply [flat|nested] 6+ messages in thread