From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] TwinSeat X: keyboard sharing trouble
Date: Thu, 17 Jan 2008 20:26:11 +0200
Message-ID: <20080117182611.GA5212@dad.imath.kiev.ua> (raw)
In-Reply-To: <20080117202819.0f35a800@rt>
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
next prev parent reply other threads:[~2008-01-17 18:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 11:31 Igor Vlasenko
2008-01-17 14:52 ` Sergey Alembekov
2008-01-17 16:43 ` Igor Vlasenko
2008-01-17 17:28 ` Sergey Alembekov
2008-01-17 18:26 ` Igor Vlasenko [this message]
2008-01-17 18:23 ` Olvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080117182611.GA5212@dad.imath.kiev.ua \
--to=vlasenko@imath.kiev.ua \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git