Bug#612836: xserver-xorg: keyboard input is duplicated on virtual (text) terminal in dual seat configuration
Hi
26.02.2011 00:19, Julien Cristau пишет:
> I think you should set AllowEmptyInput to true, and use the evdev driver
> for all your input devices.
This does not help. Attaching updated version of the xorg.conf
--
Best regards, Sergey Spiridonov
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerFlags"
Option "DefaultServerLayout" "alltogether"
Option "AllowMouseOpenFail" "true"
Option "AIGLX" "true" ### want AIGLX so put it here
Option "AllowEmptyInput" "true"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
# Option "DontZap" "false"
EndSection
Section "ServerLayout"
Identifier "alltogether"
Screen 0 "Screen0-0" 0 0
# ....
# Screen N "ScreenN" RightOf "ScreenN-1"
Screen 1 "Screen1-0" RightOf "Screen0-0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
######## seat 0 ########
Section "ServerLayout"
Identifier "seat0"
Screen 0 "Screen0-0" 0 0
# Screen 1 "Screen1-1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection
Section "Screen"
Identifier "Screen0-0"
Device "nvprop0-0"
Monitor "Monitor0-0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: 1280x1024 +0+0"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Monitor"
Identifier "Monitor0-0"
VendorName "Belinea"
ModelName "Maxdata (RogenTech) B1970 S1-P"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "Device" "/dev/input/by-path/pci-0000:00:02.1-usb-0:2.1.3:1.0-event-kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:menu_toggle,grp:lwin_switch,grp_led:scroll"
# Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
Option "XkbVariant" "intl,"
Option "Pass" "3"
Option "evBits" "+1"
Option "keyBits" "~1-255 ~352-511"
EndSection
Section "InputDevice"
Identifier "Mouse0"
# Driver "mouse"
# MatchIsPointer "on"
Driver "evdev"
# Option "Device" "/dev/input/by-path/pci-0000:00:02.1-usb-0:2.1.2:1.0-event"
Option "Device" "/dev/input/by-path/pci-0000:00:02.1-usb-0:2.1.2:1.0-event-mouse"
# MatchDevicePath "/dev/input/by-path/pci-0000:00:02.1-usb-0:2.1.1:1.0-event"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "nvprop0-0"
Driver "nvidia"
# Option "SyncToVBlank" "1"
Option "BackingStore" "True"
BusID "PCI:2:0:0"
# Screen 0
EndSection
######## seat 1 ########
Section "ServerLayout"
Identifier "seat1"
Screen 0 "Screen1-0"
# Screen 1 "Screen1-1"
## Screen 0 "Screen1-0" 0 0
## Screen 1 "Screen1-1" 0 0
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Keyboard2"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "evdev"
Option "Device" "/dev/input/by-path/pci-0000:00:02.1-usb-0:2.1.4:1.0-event-kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:menu_toggle,grp:lwin_switch,grp_led:scroll"
# Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
Option "XkbVariant" "intl,"
Option "Pass" "3"
Option "evBits" "+1"
Option "keyBits" "~1-255 ~352-511"
EndSection
Section "InputDevice"
Identifier "Keyboard2"
Driver "evdev"
Option "Device" "/dev/input/by-path/pci-0000:00:02.1-usb-0:1.4:1.0-event-kbd"
# Option "Device" "/devices/pci0000:00/0000:00:02.1/usb1/1-1/1-1.4/1-1.4:1.0/input/input15"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:menu_toggle,grp:lwin_switch,grp_led:scroll"
# Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
Option "XkbVariant" "intl,"
Option "Pass" "3"
Option "evBits" "+1"
Option "keyBits" "~1-255 ~352-511"
EndSection
Section "InputDevice"
Identifier "Mouse1"
# Driver "mouse"
Driver "evdev"
# Option "Device" "/dev/input/by-path/pci-0000:00:02.1-usb-0:2.1.1:1.0-event"
Option "Device" "/dev/input/by-path/pci-0000:00:02.1-usb-0:2.1.1:1.0-event-mouse"
# MatchIsPointer "on"
# MatchDevicePath "/dev/input/by-path/pci-0000:00:02.1-usb-0:2.1.2:1.0-event"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor1-1"
VendorName "VGA2Video"
ModelName "CRT-1"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1-0"
VendorName "Belinea"
ModelName "Maxdata (RogenTech) B1970 S1-P"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "nvprop1-0"
Driver "nvidia"
Option "BackingStore" "True"
BoardName "GeForce 9500 GT"
# Option "SyncToVBlank" "1"
BusID "PCI:3:0:0"
Screen 0
EndSection
Section "Device"
Identifier "nvprop1-1"
Driver "nvidia"
Option "BackingStore" "True"
BoardName "GeForce 9500 GT"
# Option "SyncToVBlank" "1"
BusID "PCI:3:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen1-1"
Device "nvprop1-1"
Monitor "Monitor1-1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT: 1024x768"
# Option "metamodes" "CRT: 1024x768 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1-0"
Device "nvprop1-0"
Monitor "Monitor1-0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: 1280x1024"
# Option "metamodes" "DFP: 1280x1024 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
#########################
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us,ru"
# Option "XkbVariant" "intl,"
# Option "XkbOptions" "grp:menu_toggle,grl_led:scroll"
#EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "nvprop0"
EndSection
Reply to: