[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

synaptics, xorg 7.3, eeepc 901



Понадобилось оживить eeepc 901 с установленным lenny,
и не могу понять, как запустить synclient для управления тачпадом (тачпад
живой, но настройки неудобны).

Рецепты, найденные в google, в моих руках не срабатывают, чего-то
недопонимаю. 

Заранее благодарю за любые подсказки.

Вот что имеется:

Установлен sinaptics
$ synclient TapButton1=1
Can't access shared memory area. SHMConfig disabled?

Включение SHMConfig расписано в google разных вариантах, после безуспешных
проб имею следующее, и не могу понять, почему не работает:

Во-первых, проблемы с драйвером:

~$ grep synaptics /var/log/Xorg.0.log
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
Synaptics Touchpad no synaptics event device found
(EE) Synaptics Touchpad no synaptics touchpad detected and no repeater
device
(II) UnloadModule: "synaptics"
ETPS/2 Elantech Touchpad no synaptics event device found
(II) UnloadModule: "synaptics"
ETPS/2 Elantech Touchpad no synaptics event device found
(II) UnloadModule: "synaptics"


Драйвер вроде бы должен работать:

Elantech touchpad support in Lenny

Using the synaptics driver
This is the recommended approach, as practically everything supported works,
except for things like finger pressure which the hardware doesn't support.

To use this driver, install a kernel backport from Squeeze (currently at
2.6.32)


Ядро установлено:
~$ uname -a
Linux eeepc901 2.6.32-bpo.5-686 #1 SMP


Еще настраивал xorg, через hal и xorg.conf:


$ cat /etc/hal/fdi/policy/11-x11-synaptics.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" string="ETPS/2 Elantech Touchpad">
<merge key="input.x11_options.SHMConfig" type="string">True</merge>
<merge key="input.x11_options.TouchpadOff" type="string">1</merge>
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">2</merge>
<merge key="input.x11_options.TapButton3" type="string">3</merge>
<merge key="input.x11_options.MinSpeed" type="string">0.6</merge>
<merge key="input.x11_options.MaxSpeed" type="string">1.0</merge>
<merge key="input.x11_options.AccelFactor" type="string">0.15</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
</match>
</device>
<device>
<match key="info.linux.driver" string="psmouse">
<merge key="input.x11_options.SHMConfig" type="string">True</merge>
</match>
</device>
</deviceinfo>


/etc/X11$ cat xorg.conf
# 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 "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us,ru"
#       Option          "XkbOptions"    "grp:switch,grp:caps_toggle"
        Option          "XkbOptions"    "grp:switch,grp:caps_toggle,grp:rctrl_toggle"
EndSection

# see /usr/share/doc/gsynaptics/readme

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics" 
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux" 
Option "Protocol" "auto-dev" 
Option "HorizEdgeScroll" "0" 
Option "SHMConfig" "on" 
Option "MaxTapTime" "0"
EndSection 

                                                        
#Section "InputDevice"
#       Identifier      "Configured Mouse"
#       Driver          "mouse"
#EndSection

Section "Device"
        Identifier      "Configured Video Device"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
EndSection


Section "ServerLayout"
  Identifier     "Simple Layout"
  Screen         "Default Screen" 0 0
  InputDevice    "Synaptics Touchpad" "CorePointer"
  InputDevice    "Generic Keyboard" "CoreKeyboard"
EndSection


-- 
Всего доброго,
А.Л.



Reply to: