Comment 310 for bug 1372609

Matej (matej-jelic22) wrote :

Pilot6,

Me neither... xD
But I am trying to understand all this...
I tried to boot into Kubuntu with kernel 3.16 (where my touchpad works even without focaltech-dkms installed) and dumped my xorg log.
Log is here: http://pastebin.com/FvbUjdcD

Then I did the same on kernel 4.0.1.
Log is here: http://pastebin.com/u6GKmPtW

If you look at the bottom of both logs you will see a difference.
In 3.16 it applies touchpad InputClass, after that it loads synaptics_drv.so module, and then detects it as a touchpad:
[ 5.422] (II) config/udev: Adding input device FocalTechPS/2 FocalTech FocalTech Touchpad (/dev/input/event5)
[ 5.422] (**) FocalTechPS/2 FocalTech FocalTech Touchpad: Applying InputClass "evdev touchpad catchall"
...
[ 5.422] (II) LoadModule: "synaptics"
[ 5.422] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
...
[ 5.524] (II) XINPUT: Adding extended input device "FocalTechPS/2 FocalTech FocalTech Touchpad" (type: TOUCHPAD, id 14)

In 4.0.1 kernel it applies pointer InputClass, it does not load synaptics module, it uses evdev input driver, and then detects it as a mouse:
[ 5.349] (II) config/udev: Adding input device PS/2 FocalTech FocalTech Touchpad (/dev/input/event5)
[ 5.349] (**) PS/2 FocalTech FocalTech Touchpad: Applying InputClass "evdev pointer catchall"
[ 5.349] (II) Using input driver 'evdev' for 'PS/2 FocalTech FocalTech Touchpad'
...
[ 5.349] (II) XINPUT: Adding extended input device "PS/2 FocalTech FocalTech Touchpad" (type: MOUSE, id 14)

Is there a way I can tell it to load synaptics module and use touchpad InputClass (not pointer)?