On Thu, 09 Apr 2015 00:21:10 -0700 Rui Paulo <rpaulo_at_me.com> wrote: > On Thursday 09 April 2015 10:00:40 Sergey V. Dyatko wrote: > > On Wed, 08 Apr 2015 23:27:28 -0700 > > > > Rui Paulo <rpaulo_at_me.com> wrote: > > > On Thursday 09 April 2015 09:10:52 Sergey V. Dyatko wrote: > > > > On Wed, 08 Apr 2015 00:19:45 -0700 > > > > > > > > Rui Paulo <rpaulo_at_me.com> wrote: > > > > > Hi, > > > > > > > > > > The attached patch adds support for newer touchpad features and > > > > > implements > > > > > two finger scrolling. This is such a common feature these days that I > > > > > think we should enable it by default and disable edge scrolling. I've > > > > > implemented some detection code to keep edge scrolling enabled when > > > > > the > > > > > touchpad has a dedicated area for scrolling. > > > > > > > > > > Please test it and report back your experience. To enable synaptics > > > > > support, you need: > > > > > > > > > > hw.psm.synaptics_support=1 > > > > > > > > > > in loader.conf. > > > > > > > > > > Thanks, > > > > > > > > Patch applied successfully (head, r280980). > > > > > > > > with and without hw.psm.synaptics_support=1 I have > > > > > > > > [tiger_at_laptop]:~>synclient > > > > Couldn't find synaptics properties. No synaptics driver loaded? > > > > > > This isn't the xorg driver, so you can't use it. > > > > > > > and mouse cursor moved soooo slooowly, > > > > > > Is this a new problem with this patch? You can adjust the speed in xorg. > > > > > > > without hw.psm.synaptics_support it > > > > moved faster, vertical scrolling doesn't work in both cases > > > > > > Ok, I just wanted to make sure there are no regressions. I don't have > > > your > > > model, so it's hard to help you. > > > > Now I revert patch, results: > > > > booting w/o hw.psm.synaptics_support=1 > > * vscroll doesn't work > > * buttons works fine > > * mouse cursor moved slow (~ like without synaptics_support + your patch) > > > > booting with synaptics_support enabled: > > * vscroll works fine > > * buttons doesn't work > > * mouse cursor moved ok (fast) > > * synclient works fine two figers too, after `synclient > > VertTwoFingerScroll=1` > > > > So, it general, there is no large regression if I can adjust the speed in > > xorg (now?). Just in case, I have following on xorg.conf: > > > > Section "InputDevice" > > Identifier "Mouse0" > > Driver "synaptics" > > Option "Protocol" "psm" > > Option "Device" "/dev/psm0" > > # Option "SHMConfig" "on" > > Option "LBCornerButton" "1" > > Option "RBCornerButton" "2" > > Option "MinSpeed" "7" > > Option "MaxSpeed" "9" > > Option "AccelFactor" "0.0015" > > Option "ZAxisMapping" "4 5 6 7" > > EndSection > > Wait a second. You're mixing sysmouse synaptics support with the xorg > driver? That will probably not work very well. My patch should be tested > without the synaptics xorg driver. > > Try this: > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > with patch + synaptics support enabled and this: * buttons works * vert scroll (one, two, three fingers) doesn't work * mouse speed - slow [tiger_at_laptop]:~>sysctl hw.psm.synaptics hw.psm.synaptics.vscroll_div_max: 150 hw.psm.synaptics.vscroll_div_min: 100 hw.psm.synaptics.vscroll_min_delta: 50 hw.psm.synaptics.vscroll_ver_area: -600 hw.psm.synaptics.vscroll_hor_area: 0 hw.psm.synaptics.taphold_timeout: 125000 hw.psm.synaptics.tap_min_queue: 2 hw.psm.synaptics.tap_max_delta: 80 hw.psm.synaptics.div_len: 100 hw.psm.synaptics.div_max_na: 30 hw.psm.synaptics.div_max: 17 hw.psm.synaptics.div_min: 9 hw.psm.synaptics.weight_len_squared: 2000 hw.psm.synaptics.weight_previous_na: 20 hw.psm.synaptics.weight_previous: 6 hw.psm.synaptics.weight_current: 3 hw.psm.synaptics.multiplicator: 10000 hw.psm.synaptics.window_max: 10 hw.psm.synaptics.window_min: 4 hw.psm.synaptics.na_left: 1600 hw.psm.synaptics.na_bottom: 1408 hw.psm.synaptics.na_right: 563 hw.psm.synaptics.na_top: 1783 hw.psm.synaptics.margin_left: 200 hw.psm.synaptics.margin_bottom: 200 hw.psm.synaptics.margin_right: 200 hw.psm.synaptics.margin_top: 200 hw.psm.synaptics.max_width: 10 hw.psm.synaptics.max_pressure: 220 hw.psm.synaptics.min_pressure: 16 hw.psm.synaptics.two_finger_scroll: 1 hw.psm.synaptics.directional_scrolls: 0 -- wbr, tigerReceived on Thu Apr 09 2015 - 06:43:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC