LINUX.ORG.RU

Тачпад как PS/2 мышь

 ,


1

2

Gentoo, Asus X201E (если не ошибаюсь, тачпад synaptics). $uname -r 3.10.17-gentoo $xinput -list

|Virtual Core Pointer
| Virtual core XTEST pointer
| PS/2 Generic Mouse
|Virtual core keyboard
....
$tpconfig
fatal: Could not open PS/2 Port [/dev/psaux]
(и действительно, такого устройства нет)
В иксовом логе такое:
[    17.819] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/event5)
[    17.819] (**) PS/2 Generic Mouse: Applying InputClass "evdev pointer catchall"
[    17.819] (**) PS/2 Generic Mouse: Applying InputClass "evdev pointer catchlass"
[    17.819] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[    17.819] (**) PS/2 Generic Mouse: always reports core events
[    17.819] (**) evdev: PS/2 Generic Mouse: Device: "/dev/input/event5"
[    17.819] (--) evdev: PS/2 Generic Mouse: Vendor 0x2 Product 0x1
[    17.819] (--) evdev: PS/2 Generic Mouse: Found 3 mouse buttons
[    17.819] (--) evdev: PS/2 Generic Mouse: Found relative axes
[    17.819] (--) evdev: PS/2 Generic Mouse: Found x and y relative axes
[    17.819] (II) evdev: PS/2 Generic Mouse: Configuring as mouse
[    17.819] (**) evdev: PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[    17.819] (**) evdev: PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    17.819] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input5/event5"
[    17.819] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE, id 10)
[    17.820] (II) evdev: PS/2 Generic Mouse: initialized for relative axes.
[    17.820] (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
[    17.820] (**) PS/2 Generic Mouse: (accel) acceleration profile 0
[    17.820] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[    17.820] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[    17.820] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/mouse0)
[    17.820] (II) No input driver specified, ignoring this device.
[    17.820] (II) This device may have been added with another device file.
10-evdev.conf:
Section "InputClass"
        Identifier "evdev pointer catchlass"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
50-synaptics.conf:
Section "InputClass"
        Identifier "touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "synaptics"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButtin3" "3"
        Option "VertTwoFingerScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "emulateTwoFingerMinZ" "0"
EndSection

Section "InputClass"
        Identifier "touchpad ignore dublicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection

Проблема в том, что так как это мышь, то я не могу скроллить двумя пальцами ну и делать прочие кошерые мультитач жесты. (простите, что-то криво все вставилось, как смог)



Последнее исправление: charlag (всего исправлений: 1)

простите, что-то криво все вставилось, как смог

http://www.linux.org.ru/wiki/en/Lorcode, подойдет тег [code]. пример:

[code]
Section «InputClass»
  Identifier «evdev pointer catchlass»
  MatchIsPointer «on»
  MatchDevicePath «/dev/input/event*»
  Driver «evdev»
EndSection
[/code]
будет выглядеть вот так:
Section "InputClass"
  Identifier "evdev pointer catchlass"
  MatchIsPointer "on"
  MatchDevicePath "/dev/input/event*"
  Driver "evdev"
EndSection

anonymous
()
5 февраля 2014 г.

У меня получилось

Тот же аппарат, те же проблемы )

Только что заставил работать скролл двумя пальцами и нажатие ПКМ по двум пальцам. А еще СКМ по трем пальцам. Просто в ядре включи CONFIG_MOUSE_PS2_ELANTECH. Лог иксов тут же обрадовал меня следующим:

[    18.633] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event8)
Кеды с пакетом kde-misc/synaptiks тоже признали тачпад. Правда пока только три пальца определяют (под окнами было 5).

ElDorado
()
11 марта 2014 г.
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.