ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] TwinSeat X: keyboard sharing trouble
@ 2008-01-17 11:31 Igor Vlasenko
  2008-01-17 14:52 ` Sergey Alembekov
  0 siblings, 1 reply; 6+ messages in thread
From: Igor Vlasenko @ 2008-01-17 11:31 UTC (permalink / raw)
  To: sisyphus

Уважаемые коллеги,

Посоветуйте работающую конфигурацию 
(i586/x86_64, branch/Sisyphus, rpm -q) 
для запуска двух рабочих мест на одной машине.

Купил второй монитор, все работает, но при попытке 
разделить клавиатуры через evdev
после ввода пары десятков символов все падает -
--------------
#13728(evdev crashes X server on x86_64)
https://bugzilla.altlinux.org/show_bug.cgi?id=13728
--------------

Хотел сделать еще одно рабочее место для супруги,
но вышло, что папа купил себе дорогую игрушку...
Стыдно...

Вопрос, кто знает где разделение клавиатур работает: 
то ли ставить branch/i586, то ли обновляться до 
Сизифа/<?arch?>

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] TwinSeat X: keyboard sharing trouble
  2008-01-17 11:31 [sisyphus] TwinSeat X: keyboard sharing trouble Igor Vlasenko
@ 2008-01-17 14:52 ` Sergey Alembekov
  2008-01-17 16:43   ` Igor Vlasenko
  2008-01-17 18:23   ` Olvin
  0 siblings, 2 replies; 6+ messages in thread
From: Sergey Alembekov @ 2008-01-17 14:52 UTC (permalink / raw)
  To: sisyphus

On Thu, 17 Jan 2008 13:31:36 +0200
Igor Vlasenko <vlasenko@imath.kiev.ua> wrote:

> Уважаемые коллеги,
> 
> Посоветуйте работающую конфигурацию 
> (i586/x86_64, branch/Sisyphus, rpm -q) 
> для запуска двух рабочих мест на одной машине.
> 
> Купил второй монитор, все работает, но при попытке 
> разделить клавиатуры через evdev
> после ввода пары десятков символов все падает -
> --------------
> #13728(evdev crashes X server on x86_64)
> https://bugzilla.altlinux.org/show_bug.cgi?id=13728
> --------------
> 
> Хотел сделать еще одно рабочее место для супруги,
> но вышло, что папа купил себе дорогую игрушку...
> Стыдно...
> 
> Вопрос, кто знает где разделение клавиатур работает: 
ни в каком. 
посмотрите
http://www.freesource.info/wiki/ALTLinux/Dokumentacija/Multistation?v=11xu&search=multiseat
мы решили проблему с помощью xgl (ссылка  аруководство в самом низу)


-- 
Regards, Sergey Alembekov
ALTLinux Team
<rt@altlinux.ru>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] TwinSeat X: keyboard sharing trouble
  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:23   ` Olvin
  1 sibling, 1 reply; 6+ messages in thread
From: Igor Vlasenko @ 2008-01-17 16:43 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Thu, Jan 17, 2008 at 05:52:49PM +0300, Sergey Alembekov wrote:
> > Вопрос, кто знает где разделение клавиатур работает: 
> ни в каком. 
> посмотрите
> http://www.freesource.info/wiki/ALTLinux/Dokumentacija/Multistation?v=11xu&search=multiseat
> мы решили проблему с помощью xgl (ссылка  аруководство в самом низу)

XevdevServer?
это интересно. Спасибо, буду смотреть!

А с xgl пока не решаюсь связываться - ведь у меня
работают 2 видеокарты (встроенная в мать и внешняя).

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] TwinSeat X: keyboard sharing trouble
  2008-01-17 16:43   ` Igor Vlasenko
@ 2008-01-17 17:28     ` Sergey Alembekov
  2008-01-17 18:26       ` Igor Vlasenko
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey Alembekov @ 2008-01-17 17:28 UTC (permalink / raw)
  To: sisyphus

On Thu, 17 Jan 2008 18:43:42 +0200
Igor Vlasenko <vlasenko@imath.kiev.ua> wrote:

> А с xgl пока не решаюсь связываться - ведь у меня
> работают 2 видеокарты (встроенная в мать и внешняя).
Ой, а вам не проще ли в таком случае не проще ли сделать по отдельному конфигу Xorg для каждой видеокарты? Подозреваю, что в таком случае и без evdev можно обойтись.

-- 
Regards, Sergey Alembekov
ALTLinux Team
<rt@altlinux.ru>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] TwinSeat X: keyboard sharing trouble
  2008-01-17 14:52 ` Sergey Alembekov
  2008-01-17 16:43   ` Igor Vlasenko
@ 2008-01-17 18:23   ` Olvin
  1 sibling, 0 replies; 6+ messages in thread
From: Olvin @ 2008-01-17 18:23 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Sergey Alembekov пишет:
>> Посоветуйте работающую конфигурацию 
>> (i586/x86_64, branch/Sisyphus, rpm -q) 
>> для запуска двух рабочих мест на одной машине.

[skip]

>> Вопрос, кто знает где разделение клавиатур работает: 
> ни в каком. посмотрите
> http://www.freesource.info/wiki/ALTLinux/Dokumentacija/Multistation?v=11xu&search=multiseat
> мы решили проблему с помощью xgl (ссылка  аруководство в самом низу)


Когда-то на ALC3.0 я такое пробовал сделать. Но мыши развести по 
серверам не получилось. А вот с клавиатурами, вроде бы, порядок был. 
Правда, было это ещё на ALC3.0.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* 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

end of thread, other threads:[~2008-01-17 18:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-17 11:31 [sisyphus] TwinSeat X: keyboard sharing trouble 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
2008-01-17 18:23   ` Olvin

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