[Comm] touchpad+mouse in Xorg
Dmytro Kovalskyy
=?iso-8859-1?q?dikov_=CE=C1_imbg=2Eorg=2Eua?=
Ср Май 3 11:12:58 MSD 2006
Valery V. Inozemtsev сообщил(а):
>> >> можно ли в Хорг сделать так что бы и
>> >> мыша
>> >> (USB) и тачпад работали одновременно,
>> >> причем мышу можно было вытыкать и
>> >> втыкать без перезагрузки Иксов?
>> >
>> > можно. конфиг в атаче
>>
>> насколько я понял из Вашего конфига, Вы
>> thinkpad'у присвоили драйвер и свойства
>> клавиатуры, я прав?
>
> thinkpad это клавиатура, трекпоинт/мышь -
> trackpaint
тогда, у вас не указан тачпад (может у вас
его и нет на ноуте)
Я разгреб идею
ключевым моментом был раздел
Section "ServerFlags"
AllowMouseOpenFail
Option "DontZap"
EndSection
Таким образом, конфиг на две "мышки"
выглядит так:
[root на dnote X11]# cat xorg.conf
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen at Device0" 0 0
Screen "Screen at Device1" 0 0
InputDevice "mouse0" "AlwaysCore"
InputDevice "mouse1" "CorePointer"
InputDevice "ruwin_ct_sh" "CoreKeyboard"
EndSection
Section "ServerFlags"
AllowMouseOpenFail
Option "DontZap"
EndSection
Section "Files"
FontPath "unix/:-1"
EndSection
Section "Module"
Load "dbe"
Load "glx"
Load "dri"
Load "extmod"
Load "type1"
Load "freetype"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "InputDevice"
Identifier "ruwin_ct_sh"
Driver "kbd"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:ctrl_shift_toggle"
Option "XkbVariant" ",winkeys"
EndSection
Section "InputDevice"
Identifier "mouse0"
Driver "synaptics"
Option "Device" "/dev/input/mice"
#"SynPS/2 Synaptics TouchPad"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection
Section "InputDevice"
Identifier "mouse1"
Driver "mouse"
Option "Device" "/dev/input/mouse1"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "cmo1506|0"
DisplaySize 300 230
EndSection
Section "Monitor"
Identifier "cmo1506|1"
DisplaySize 300 230
EndSection
Section "Device"
Identifier "Intel 8xx/9xx (generic)|0"
Driver "i810"
VideoRam 65536
EndSection
Section "Device"
Identifier "Intel 8xx/9xx (generic)|1"
Driver "i810"
VideoRam 65536
EndSection
Section "Screen"
Identifier "Screen at Device0"
Device "Intel 8xx/9xx (generic)|0"
Monitor "cmo1506|0"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen at Device1"
Device "Intel 8xx/9xx (generic)|1"
Monitor "cmo1506|1"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1024x736" "1024x600" "960x720"
"848x480" "832x624" "800x600" "720x576" "640x480"
EndSubSection
EndSection
Section "DRI"
# Group "xgrp"
Mode 0666
EndSection
Пасиба за хинт :0)!
Дима
>
> --
> Valery V. Inozemtsev
> _______________________________________________
> Community mailing list
> Community на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
--
PhD Dmytro Kovalskyy dikov на imbg.org.ua
IMBG of UAS tel:+380445265405
150, Zabolotnogo str, fax:+380445260759
Kiev, 03143 Ukraine mob:+380442019198
Подробная информация о списке рассылки community