[Bug 967399] Re: [11.10] Elantech trackpoint does not work Lenovo
Hi, here is a patch that adds support for reporting the relative (trackpoint) coordinates to the Elantech driver. Unfortunately, the Xorg synaptics module simply ignores relative coordinates and evdev would ignore absolute coordinates (as described above in #6) so there is really no way, to have both device work with this patch (yet). But maybe some more experienced developer will find my work on the Trackpoint Protocol helpful and decides to write a good patch (I think the right way to do it is to let the kernel module report relative and absolute coordinates over two separate devices, which in fact is very hard to achieve because the psmouse module is not structured for reporting to multiple devices). I have also included a Xorg configuration which enables Middle-Mouse- Button scrolling and disables absolute coordinates (and therefore enables the Trackpoint). ** Patch added: "elantech-trackpoint-patch.diff" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/967399/+attachment/3744272/+files/elantech-trackpoint-patch.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/967399 Title: [11.10] Elantech trackpoint does not work Lenovo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/967399/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 967399] Re: [11.10] Elantech trackpoint does not work Lenovo
And the Xorg config file ** Attachment added: "51-elantech.conf" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/967399/+attachment/3744273/+files/51-elantech.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/967399 Title: [11.10] Elantech trackpoint does not work Lenovo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/967399/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 967399] Re: [11.10] Elantech trackpoint does not work Lenovo
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? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/967399 Title: [11.10] Elantech trackpoint does not work Lenovo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/967399/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs