Настройка тачпада (в debian 7.1)

Для новичков как вообще в Linux, так и в конкретной теме, к которой относится вопрос.

Модератор: Bizdelnick

QWERTYASDF
Сообщения: 989
Статус: Чайник со свистком
ОС: GNU/Linux

Настройка тачпада

Сообщение QWERTYASDF »

Решила на своем ноутбучном тачпаде настроить "среднюю кнопку мыши". Во всех найденных статьях такая настройка описывается в виде настройки драйвера synaptics, через "оболочку" synclient (если что-то из теории не правильно поняла - просьба поправить).

Однако ничего у меня не получается. Т.е.

Код: Выделить всё

$ synclient
Couldn't find synaptics properties. No synaptics driver loaded?


Код: Выделить всё

$ egrep -i 'synap|alps|etps' /proc/bus/input/devices
$


Пробовала найти свой тачпад в выводах lspci и lsusb и тоже ничего не нашла, но вероятно не правильно искала...

Поможите понять, как добираться до настроек тачпада, плиз.
Спасибо сказали:
Аватара пользователя
Bizdelnick
Модератор
Сообщения: 21497
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Настройка тачпада

Сообщение Bizdelnick »

Покажите lsusb -v.
Пишите правильно:
в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик
Спасибо сказали:
QWERTYASDF
Сообщения: 989
Статус: Чайник со свистком
ОС: GNU/Linux

Re: Настройка тачпада

Сообщение QWERTYASDF »

Код: Выделить всё

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.02
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.02
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x8087 Intel Corp.
  idProduct          0x0020 Integrated Rate Matching Hub
  bcdDevice            0.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x8087 Intel Corp.
  idProduct          0x0020 Integrated Rate Matching Hub
  bcdDevice            0.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval              12
Спасибо сказали:
Kopilov
Сообщения: 958
ОС: [K]Ubuntu, Debian

Re: Настройка тачпада

Сообщение Kopilov »

У меня в lsusb тоже только хабы, не считая веб-камеры. Могу предположить, что тачпад подключен по PS/2 -- кстати, где его смотреть в этом случае?
По факту: сейчас работает, но завести, "как тачпад" очень долго не удавалось. Я ориентировался на /var/log/Xorg.0.log, ища там Synaptics и прочие манипуляторы.

Так выглядит корректное определение тачпада в Gentoo:

Код: Выделить всё

(II) Using input driver 'synaptics' for 'Touchpad'
(**) Touchpad: always reports core events
(--) synaptics: Touchpad: auto-dev sets device to /dev/input/event5
(**) Option "Device" "/dev/input/event5"
(--) synaptics: Touchpad: x-axis range 0 - 2508 (res 0)
(--) synaptics: Touchpad: y-axis range 0 - 1056 (res 0)
(--) synaptics: Touchpad: pressure range 0 - 255
(--) synaptics: Touchpad: finger width range 0 - 15
(--) synaptics: Touchpad: buttons: left right double triple
(--) synaptics: Touchpad: Vendor 0x2 Product 0xe
(**) Option "VertEdgeScroll" "1"
(**) Option "TapButton1" "1"
(--) synaptics: Touchpad: touchpad found
(**) Touchpad: always reports core events
(II) XINPUT: Adding extended input device "Touchpad" (type: TOUCHPAD, id 6)
(**) synaptics: Touchpad: (accel) MinSpeed is now constant deceleration 2.5
(**) synaptics: Touchpad: (accel) MaxSpeed is now 1.75
(**) synaptics: Touchpad: (accel) AccelFactor is now 0.074
(**) Touchpad: (accel) keeping acceleration scheme 1
(**) Touchpad: (accel) acceleration profile 1
(**) Touchpad: (accel) acceleration factor: 2.000
(**) Touchpad: (accel) acceleration threshold: 4
(--) synaptics: Touchpad: touchpad found

А вот фрагмент лога из Debian 6.0 (из-под него я когда-то ставил Gentoo и с тех пор не обновлял):

Код: Выделить всё

(II) config/udev: Adding input device PS/2 Logitech Wheel Mouse (/dev/input/event10)
(**) PS/2 Logitech Wheel Mouse: Applying InputClass "evdev pointer catchall"
(**) PS/2 Logitech Wheel Mouse: always reports core events
(**) PS/2 Logitech Wheel Mouse: Device: "/dev/input/event10"
(II) PS/2 Logitech Wheel Mouse: Found 3 mouse buttons
(II) PS/2 Logitech Wheel Mouse: Found scroll wheel(s)
(II) PS/2 Logitech Wheel Mouse: Found relative axes
(II) PS/2 Logitech Wheel Mouse: Found x and y relative axes
(II) PS/2 Logitech Wheel Mouse: Configuring as mouse
(**) PS/2 Logitech Wheel Mouse: YAxisMapping: buttons 4 and 5
(**) PS/2 Logitech Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "PS/2 Logitech Wheel Mouse" (type: MOUSE)
(II) PS/2 Logitech Wheel Mouse: initialized for relative axes.
(II) config/udev: Adding input device PS/2 Logitech Wheel Mouse (/dev/input/mouse1)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device PC Speaker (/dev/input/event6)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Macintosh mouse button emulation (/dev/input/event0)
(**) Macintosh mouse button emulation: Applying InputClass "evdev pointer catchall"
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/udev: Adding input device Macintosh mouse button emulation (/dev/input/mouse0)

Соответственно "средняя кнопка" работает (по всей видимости, аппаратно), тап и тап-драг -- тоже, а скроллинг (и боковой, и двумя пальцами) -- нет.
Сперва в Gentoo было то же самое, и сделать ничего не удавалось. Я смирился с этим почти на год, потом (весной этого года) переустановил систему с нуля -- по умолчанию ситуация повторилась, но эксперименты с модулями ядра быстро решили проблему (намного быстрее, чем было потрачено на безуспешные попытки) -- можно предположить, что поддержка появилась в течение этого года. Какой именно модуль помог -- уже не помню, но при беглом просмотре внимание привлёк MOUSE_PS2_TOUCHKIT: eGalax TouchKit PS/2 protocol с пометкой "If unsure, say N" -- может, именно он и потребовался, учитывая, что тачпад реально не Synaptics (ноут Acer Aspire 5560G).
Сейчас у меня ядро 3.7.10, X-сервер 1.13.4, драйвер synaptics 1.7.1
Спасибо сказали:
QWERTYASDF
Сообщения: 989
Статус: Чайник со свистком
ОС: GNU/Linux

Re: Настройка тачпада

Сообщение QWERTYASDF »

Ну вот, как понимаю, в выводе

Код: Выделить всё

cat /var/log/Xorg0.log | grep input


Код: Выделить всё

[   199.464] (II) The server relies on udev to provide the list of input devices.
[   200.479] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   200.479] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   200.495] (II) Using input driver 'evdev' for 'Power Button'
[   200.495] (**) evdev: Power Button: Device: "/dev/input/event3"
[   200.496] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   200.496] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   200.541] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
[   200.541] (II) Using input driver 'evdev' for 'Video Bus'
[   200.541] (**) evdev: Video Bus: Device: "/dev/input/event10"
[   200.541] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input10/event10"
[   200.541] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   200.542] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
[   200.542] (II) Using input driver 'evdev' for 'Video Bus'
[   200.543] (**) evdev: Video Bus: Device: "/dev/input/event9"
[   200.543] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input9/event9"
[   200.543] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   200.544] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[   200.544] (II) No input driver specified, ignoring this device.
[   200.544] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   200.544] (II) Using input driver 'evdev' for 'Power Button'
[   200.544] (**) evdev: Power Button: Device: "/dev/input/event2"
[   200.544] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2"
[   200.544] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[   200.545] (II) config/udev: Adding input device HDA Intel HDMI/DP,pcm=3 (/dev/input/event5)
[   200.545] (II) No input driver specified, ignoring this device.
[   200.545] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event6)
[   200.545] (II) No input driver specified, ignoring this device.
[   200.545] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event7)
[   200.545] (II) No input driver specified, ignoring this device.
[   200.546] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[   200.546] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[   200.546] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[   200.546] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[   200.546] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[   200.546] (II) config/udev: Adding input device FSPPS/2 Sentelic FingerSensingPad (/dev/input/event8)
[   200.546] (II) Using input driver 'evdev' for 'FSPPS/2 Sentelic FingerSensingPad'
[   200.546] (**) evdev: FSPPS/2 Sentelic FingerSensingPad: Device: "/dev/input/event8"
[   200.547] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event8"
[   200.547] (II) XINPUT: Adding extended input device "FSPPS/2 Sentelic FingerSensingPad" (type: MOUSE, id 11)
[   200.547] (II) config/udev: Adding input device FSPPS/2 Sentelic FingerSensingPad (/dev/input/mouse0)
[   200.547] (II) No input driver specified, ignoring this device.
[   200.547] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[   200.547] (II) No input driver specified, ignoring this device.


мой тачпад определяется в виде

Код: Выделить всё

FSPPS/2 Sentelic FingerSensingPad (/dev/input/event8)


Только что мне с этим далее делать? : )
Спасибо сказали:
QWERTYASDF
Сообщения: 989
Статус: Чайник со свистком
ОС: GNU/Linux

Re: Настройка тачпада

Сообщение QWERTYASDF »

Не обязательно с этим synaptic-ом/synclient-ом, подскажите хоть какие-нибудь способы осуществить доступ к настройкам тачпада...Какой общий алгоритм, что надо делать, какие конкретно компоненты изучать/крутить?

зы: Тачпад то, если что, работает. Только уже из принципа хочу понять, как его настраивать.
Спасибо сказали:
Kopilov
Сообщения: 958
ОС: [K]Ubuntu, Debian

Re: Настройка тачпада

Сообщение Kopilov »

QWERTYASDF писал(а):
17.12.2013 13:58
мой тачпад определяется в виде
FSPPS/2 Sentelic FingerSensingPad (/dev/input/event8)
Только что мне с этим далее делать? : )

А дальше -- строчкой ниже -- написано, что для данного устройства использован драйвер evdev, стандартный для клавиатур и мышек. Драйвер Synaptics (названный по марке производителя, но на данный момент единственный и общий для всех тачпадов в Linux) его не подхватывает, хотя (судя по наличию команды synclient) установлен.
Значит, или не хватает чего-то в ядре, или не донастроен X-сервер.

Ubuntu не видит тачпад Sentelic

Спасибо сказали: