Comment 6 for bug 967399

Revision history for this message
Faule Socke (socke) wrote :

I am currently working on a kernel module patch to add trackpoint support to the elantech driver. I actually found out how the trackpoint protocol works and implemented it successfully. The current situation is as follows:

- elantech driver puts touchpad into absolute mode
- trackpoint still returns relative coordinates
-> problem: the Xorg synaptics module does only react on the absolute events (it does not react on everything that comes from input_report_rel) and therefore ignores everything from the trackpoint

I'm just a kernel module programming newbie and I'm not sure what is the best way to fix this. One solution would be using the evdev xorg module and forcing it to process relative and absolute axes from the input driver (with IgnoreRelativeAxes and IgnoreAbsoluteAxes options). But evdev seems to react very nervously on the touchpad (no filters etc). Or I could try to change the driver, so that it creates two devices, one for the touchpad and one for the trackpoint, but the design of the psmouse module and the elantech driver looks like this is not a good solution...

Any ideas/suggestions?