Summary: | x11-drivers/xf86-input-synaptics: update to 1.9.0 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthew Rezny <rezny> | ||||||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Some People | CC: | rezny, wulf | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(x11) |
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Created attachment 177249 [details]
x11-drivers.xf86-input-synaptics-evdev.patch
May be it`s better to enable evdev protocol support in synaptics driver?
I have evdev patches for synaptics and elan touchpads in psm driver which will be available for public testing soon.
Updated version with evdev support enabled is attached
(In reply to Vladimir Kondratyev from comment #1) I know there is a separate evdev DDX, but was unaware the synaptics DDX may use evdev as well. As I have no synaptics hardware, I cannot say which may be the better option. The use of evdev should probably be an option unless the non-evdev path can be chosen at runtime. If you could test all possibilities (input-synaptics as-is, input-synaptics with evdev patch, input-evdev, etc) and share your results, that would be most helpful. You should be able to test the newer DDXes without updating xorg-server. (In reply to matthew from comment #2) > I cannot say which may be the better option. xf86-input-evdev is not intended to handle touchpads. No gestures etc. > The use of evdev should probably be an option unless > the non-evdev path can be chosen at runtime. evdev is default protocol for synaptics and psm can be enabled by adding `Option "Protocol" "psm"` to mouse`s InputDevice section of xorg.conf at runtime > If you could test all possibilities (input-synaptics as-is, > input-synaptics with evdev patch, input-evdev, etc) and > share your results, that would be most helpful. Yes, I tested all of them with modified psm(4) driver and with synaptics and elantech touchpads, but should retest to be sure. I will try on weekend. Currently no touchpad drivers in base supports absolute touch reporting through evdev, so that change may be useless till this support appeared. (In reply to matthew from comment #2) > If you could test all possibilities (input-synaptics as-is, > input-synaptics with evdev patch, input-evdev, etc) > and share your results, that would be most helpful. I had tried both my elan and synaptics laptops with several DDX and got following results: xf86-input-evdev - partially works. Touchpad is recognized as touchpad but handled as touchscreen (driver does direct mapping of finger position to screen pointer position) xf86-input-synaptics with evdev interface - works xf86-input-synaptics with psm interface - partially works but synaptic-protocol support is toooo outdated. I had to patch driver to enable multi-finger recognition. xf86-input-libinput (not in tree, uses evdev interface) - works (In reply to Vladimir Kondratyev from comment #4) I had mis-remembered, it is the libinput driver that is meant to be the all encompassing solution with touchpad support, not the evdev driver, but we do not yet have the libinput diver in tree and I have not investigated what it would require. It sounds like the evdev option would be of definite benefit to the synaptics driver, but it should be conditional on kernel support. Created attachment 179229 [details]
x11-drivers.xf86-input-synaptics-evdev.patch (with user selectable evdev support)
Knob to switch evdev support on/off added.
It is defaulted to "off" now and this should be changed to "on" when kernel support for touchpads hits the source tree (based on kernel version)
|
Created attachment 177246 [details] update xf86-input-synaptics to 1.9.0 Update xf86-input-synaptics to 1.9.0, which is compatible with xorg-server 1.19. QA: stage-qa and check-orphans are clean on 11 amd64 with xorg-server 1.18