Re: Call For Testers: Synaptics touchpads
Woops. I missed the thread hierarchy. :-( If you're using new-enough synaptics, MFS of r281708 and r281709 in stable/10 would be sufficient. If you're using semi-MT one as mentioned by Jan Kokem〓ller (like me), you should additionally need applying his patch. Clarifying a bit more about my case, without Jan's patch, TrackPad (synaptics variant) works except two finger scrolling. Enabling/disabling TrackPad via hw.psm.synaptics.touchpad_off works OK. With Jan's patch, two finger scrolling start working for me, but vertical only. (Maybe r281708 and r281709 would be same.) Mouse cursor issue I mentioned below occurs with- and without- Jan's patch. On Sun, 26 Apr 2015 08:31:34 +0900 Tomoaki AOKI junch...@dec.sakura.ne.jp wrote: On Sat, 25 Apr 2015 13:26:09 -0700 (MST) r00ster srid...@outlook.com wrote: Jan, Thanks for your work! Running 'mostly' OK for me. (See below) Without your patch, two finger scrolling didn't work for me. r00ster, Applicable to stable/10 amd64 at r281732 and r281981, and running for me, but I haven't tried release/10.* and releng/10.* branch. You should need applying diffs for r281708 and r281709 in stable/10 manually, as these are prerequisite for Jan's patch. https://lists.freebsd.org/pipermail/svn-src-stable-10/2015-April/005163.html https://lists.freebsd.org/pipermail/svn-src-stable-10/2015-April/005164.html Working mostly good for me on my ThinkPad T420, but mouse cursor runs fast to right if I touch anywhere on right edge (about 5 - 10% of the pad). Other edges are OK. Unfortunately, I haven't determined why (hardware? software?) and how to fix it. Do you know if this patch can be applied to 10.1 RELEASE? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Call-For-Testers-Synaptics-touchpads-tp6003555p6007628.html Sent from the freebsd-current mailing list archive at Nabble.com. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org -- Tomoaki AOKIjunch...@dec.sakura.ne.jp ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
By the way, just to clarify my question, what I'm asking is if it's possible for me to put the relevant additions from this patch for two-finger scrolling into 10.1. This is a feature I've really been looking forward to, so thank you very much for the work you put into it. :) -- View this message in context: http://freebsd.1045724.n5.nabble.com/Call-For-Testers-Synaptics-touchpads-tp6003555p6007638.html Sent from the freebsd-current mailing list archive at Nabble.com. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
Do you know if this patch can be applied to 10.1 RELEASE? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Call-For-Testers-Synaptics-touchpads-tp6003555p6007628.html Sent from the freebsd-current mailing list archive at Nabble.com. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Sat, 25 Apr 2015 13:26:09 -0700 (MST) r00ster srid...@outlook.com wrote: Jan, Thanks for your work! Running 'mostly' OK for me. (See below) Without your patch, two finger scrolling didn't work for me. r00ster, Applicable to stable/10 amd64 at r281732 and r281981, and running for me, but I haven't tried release/10.* and releng/10.* branch. You should need applying diffs for r281708 and r281709 in stable/10 manually, as these are prerequisite for Jan's patch. https://lists.freebsd.org/pipermail/svn-src-stable-10/2015-April/005163.html https://lists.freebsd.org/pipermail/svn-src-stable-10/2015-April/005164.html Working mostly good for me on my ThinkPad T420, but mouse cursor runs fast to right if I touch anywhere on right edge (about 5 - 10% of the pad). Other edges are OK. Unfortunately, I haven't determined why (hardware? software?) and how to fix it. Do you know if this patch can be applied to 10.1 RELEASE? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Call-For-Testers-Synaptics-touchpads-tp6003555p6007628.html Sent from the freebsd-current mailing list archive at Nabble.com. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org -- 青木 知明 [Tomoaki AOKI] junch...@dec.sakura.ne.jp mxe02...@nifty.com ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On 08.04.2015 09:19, Rui Paulo wrote: The attached patch adds support for newer touchpad features and implements two finger scrolling. Hi, thanks for bringing two finger scrolling to the psm driver! I've attached a patch of some more improvements and fixes. I hope some of this stuff can make it into the driver: - Two finger scrolling support for semi-MT touchpads. Those include many of the older Synaptics touchpads before true multitouch support (indicated by capMultiFinger). Semi-MT touchpads can report a second finger position, but the X or Y coordinate may be swapped with some coordinate of the first finger. This is a result of how the hardware works internally. Therefore, all that can be reliably extracted is the bounding box of the two finger positions. Semi-MT touchpads can be recognized by the capAdvancedGestures capability bit. After setting the mode byte, advanced gestures mode has to be enabled. Then, data packets compatible with the capMultiFinger format are sent, so the same two finger scrolling code can be leveraged. Enabling advanced gestures mode on true multitouch touchpads should be harmless. Linux seems to always enable advanced gestures mode. I don't have a real multitouch touchpad for testing though. - Put mode setting logic into own functions synaptics_preferred_mode() and synaptics_set_mode() to have this in one place. synaptics_passthrough_on() and synaptics_passthrough_off() currently always use 0xc1 as the mode byte, which may be wrong for touchpads that don't have capExtended (sorry, my fault). - Expose X and Y resolution of touchpad to userland. Also expose minimum and maximum X and Y coordinates. This is useful for programs in userspace that read raw PSM packets (with PSM_LEVEL_NATIVE enabled) and need to interpret the coordinates. - Also send extended w mode packets (see section 3.2.9 of 511-000275-01_RevB.pdf) to userspace if PSM_LEVEL_NATIVE is enabled. This is useful for userspace programs/drivers such as xf86-input-synaptics that can handle these packets. - Fix parsing of nExtendedQueries, and request extended/continued capability bits depending on this value. - capReportsMax, capClearPad, capAdvancedGestures and capCoveredPad must be extracted from status[0] and not status[2], I think. Two finger scrolling works reasonably well with my semi-MT touchpad (Lenovo T420). However, it is very sensitive if I move my fingers very slowly. I wonder if this is because it's a semi-MT touchpad or if I have to tweak some setting. Also sometimes, if I move my fingers up, it scrolls down, and vice versa. Maybe this is a result of how dxp and dyp are calculated with the abs() function? Cheers, Jan diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index e8a2a93..4e41eef 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/psm.c @@ -483,6 +483,8 @@ static probefunc_t enable_versapad; static void set_trackpoint_parameters(struct psm_softc *sc); static void synaptics_passthrough_on(struct psm_softc *sc); static void synaptics_passthrough_off(struct psm_softc *sc); +static int synaptics_preferred_mode(struct psm_softc *sc); +static void synaptics_set_mode(struct psm_softc *sc, int mode_byte); static struct { int model; @@ -933,14 +935,8 @@ doopen(struct psm_softc *sc, int command_byte) get_mouse_status(sc-kbdc, stat, 0, 3); if ((SYNAPTICS_VERSION_GE(sc-synhw, 7, 5) || stat[1] == 0x47) - stat[2] == 0x40) { - /* Set the mode byte -- request wmode where - * available */ - if (sc-synhw.capExtended) -mouse_ext_command(sc-kbdc, 0xc1); - else -mouse_ext_command(sc-kbdc, 0xc0); - set_mouse_sampling_rate(sc-kbdc, 20); + stat[2] == 0x40) { + synaptics_set_mode(sc, synaptics_preferred_mode(sc)); VLOG(5, (LOG_DEBUG, psm%d: Synaptis Absolute Mode hopefully restored\n, sc-unit)); @@ -2176,6 +2172,20 @@ psmioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, (*(int *)addr PSM_LEVEL_MAX)) return (EINVAL); sc-mode.level = *(int *)addr; + + if (sc-hw.model == MOUSE_MODEL_SYNAPTICS) { + /* + * If we are entering PSM_LEVEL_NATIVE, we want to + * enable sending of extended W mode packets to + * userland. Reset the mode of the touchpad so that the + * change in the level is picked up. + */ + error = block_mouse_data(sc, command_byte); + if (error) +return (error); + synaptics_set_mode(sc, synaptics_preferred_mode(sc)); + unblock_mouse_data(sc, command_byte); + } break; case MOUSE_GETSTATUS: @@ -2864,7 +2874,8 @@ proc_synaptics(struct psm_softc *sc, packetbuf_t *pb, mousestatus_t *ms, /* Palm detection. */ if (!( - (sc-synhw.capMultiFinger (w == 0 || w == 1)) || + ((sc-synhw.capMultiFinger || + sc-synhw.capAdvancedGestures) (w == 0 || w == 1)) || (sc-synhw.capPalmDetect w = 4 w = max_width) || (!sc-synhw.capPalmDetect *z = max_pressure) || (sc-synhw.capPen w == 2))) {
Re: Call For Testers: Synaptics touchpads
On Monday 13 April 2015 21:23:58 Jakob Alvermark wrote: Just tried booting the old kernel, and yes, only button 2 events gets sent. With the new driver, I get both button 1 and 2 events... Can you send me the boot time log with debug.psm.loglevel=10? Then send me the log when you press the button. Yes, but Xorg needs to be patched. Any hints on that? I haven't looked into it. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Tuesday 14 April 2015 23:39:58 Jakob Alvermark wrote: On Tue, April 14, 2015 18:56, Rui Paulo wrote: On Monday 13 April 2015 21:23:58 Jakob Alvermark wrote: Just tried booting the old kernel, and yes, only button 2 events gets sent. With the new driver, I get both button 1 and 2 events... Can you send me the boot time log with debug.psm.loglevel=10? Then send me the log when you press the button. Sure. Can you also send me the boot messages when loglevel is set to 10? Just set the variable in the loader and boot. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Tue, April 14, 2015 18:56, Rui Paulo wrote: On Monday 13 April 2015 21:23:58 Jakob Alvermark wrote: Just tried booting the old kernel, and yes, only button 2 events gets sent. With the new driver, I get both button 1 and 2 events... Can you send me the boot time log with debug.psm.loglevel=10? Then send me the log when you press the button. Sure. JakobApr 14 22:58:42 flyer kernel: psmintr: 90 8e 31 c1 55 d5 Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 33 c1 44 db Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 34 c1 44 db Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 34 c1 44 db Apr 14 22:58:42 flyer kernel: synaptics: Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3669, 2261], 49, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[9]: x=3669, y=2261, dx=0, dy=0 Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3652, 2267], 51, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[8]: x=3652, y=2267, dx=-17, dy=6 Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3652, 2267], 52, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[7]: x=3652, y=2267, dx=0, dy=0 Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3652, 2267], 52, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[6]: x=3652, y=2267, dx=0, dy=0 Apr 14 22:58:42 flyer kernel: synaptics: virtual scrolling: NO (direction=0, dxp=17, dyp=6, fingers=1) Apr 14 22:58:42 flyer kernel: synaptics: peer=9, len=12, weight=6/6, div=17/17 Apr 14 22:58:42 flyer kernel: synaptics: avg_dx~=0, avg_dy~=0 Apr 14 22:58:42 flyer kernel: synaptics: [0, 0] - [0, 0] Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 34 c1 42 da Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3650, 2266], 52, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[5]: x=3650, y=2266, dx=-2, dy=-1 Apr 14 22:58:42 flyer kernel: synaptics: virtual scrolling: NO (direction=0, dxp=19, dyp=5, fingers=1) Apr 14 22:58:42 flyer kernel: synaptics: peer=9, len=13, weight=6/6, div=17/17 Apr 14 22:58:42 flyer kernel: synaptics: avg_dx~=0, avg_dy~=0 Apr 14 22:58:42 flyer kernel: synaptics: [-2, -1] - [0, 0] Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 34 c1 42 da Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3650, 2266], 52, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[4]: x=3650, y=2266, dx=0, dy=0 Apr 14 22:58:42 flyer kernel: synaptics: virtual scrolling: NO (direction=0, dxp=19, dyp=5, fingers=1) Apr 14 22:58:42 flyer kernel: synaptics: peer=9, len=13, weight=6/6, div=17/17 Apr 14 22:58:42 flyer kernel: synaptics: avg_dx~=0, avg_dy~=0 Apr 14 22:58:42 flyer kernel: synaptics: [0, 0] - [0, 0] Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 33 c1 42 da Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3650, 2266], 51, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[3]: x=3650, y=2266, dx=0, dy=0 Apr 14 22:58:42 flyer kernel: synaptics: virtual scrolling: NO (direction=0, dxp=19, dyp=5, fingers=1) Apr 14 22:58:42 flyer kernel: synaptics: peer=9, len=13, weight=6/6, div=17/17 Apr 14 22:58:42 flyer kernel: synaptics: avg_dx~=0, avg_dy~=0 Apr 14 22:58:42 flyer kernel: synaptics: [0, 0] - [0, 0] Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 33 c1 42 da Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3650, 2266], 51, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[2]: x=3650, y=2266, dx=0, dy=0 Apr 14 22:58:42 flyer kernel: synaptics: virtual scrolling: NO (direction=0, dxp=19, dyp=5, fingers=1) Apr 14 22:58:42 flyer kernel: synaptics: peer=9, len=13, weight=6/6, div=17/17 Apr 14 22:58:42 flyer kernel: synaptics: avg_dx~=0, avg_dy~=0 Apr 14 22:58:42 flyer kernel: synaptics: [0, 0] - [0, 0] Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 33 c0 42 da Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3650, 2266], 51, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[1]: x=3650, y=2266, dx=0, dy=0 Apr 14 22:58:42 flyer kernel: synaptics: virtual scrolling: NO (direction=0, dxp=19, dyp=5, fingers=1) Apr 14 22:58:42 flyer kernel: synaptics: peer=9, len=13, weight=6/6, div=17/17 Apr 14 22:58:42 flyer kernel: synaptics: avg_dx~=0, avg_dy~=0 Apr 14 22:58:42 flyer kernel: synaptics: [0, 0] - [0, 0] Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 31 c0 45 d1 Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3653, 2257], 49, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[0]: x=3653, y=2257, dx=3, dy=-9 Apr 14 22:58:42 flyer kernel: synaptics: virtual scrolling: NO (direction=0, dxp=16, dyp=4, fingers=1) Apr 14 22:58:42 flyer kernel: synaptics: peer=9, len=11, weight=6/6, div=17/17 Apr 14 22:58:42 flyer kernel: synaptics: avg_dx~=0, avg_dy~=-3 Apr 14 22:58:42 flyer kernel: synaptics: [3, -9] - [0, 0] Apr 14 22:58:42 flyer kernel: psmintr: 90 8e 10 c0 44 cb Apr 14 22:58:42 flyer kernel: synaptics: ipacket: [3652, 2251], 16, 4 Apr 14 22:58:42 flyer kernel: synaptics: cursor[9]: x=3652, y=2251, dx=-1, dy=-6 Apr 14 22:58:42 flyer kernel: synaptics: virtual scrolling: NO (direction=0, dxp=17, dyp=10, fingers=1) Apr 14 22:58:42 flyer kernel: synaptics: peer=8, len=9, weight=6/6, div=17/17 Apr 14
Re: Call For Testers: Synaptics touchpads
Sorry for not replying earlier, other things got in the way. I noticed the second patch was committed. Anyway here is some feedback: On Wed, April 8, 2015 23:58, Rui Paulo wrote: On Wednesday 08 April 2015 22:38:33 Jakob Alvermark wrote: Hi, Tested on my Acer E3-112 with a TouchPad. It works, thank you! I have been missing two-finger scrolling, it was quite awkward using edge scrolling IMHO. It does feel like it sometimes gets stuck in scrolling mode. When trying to move the pointer just after having scrolled, it scrolls even using just one finger. I've seen this problem too and I think it's related to my patch. I'll see what I can do to fix it. With the committed patch, it feels much more responsive! Three-finger tapping also works. (Generating a button 3 event) That should've worked before. It did. Both the old and the new driver generates button 2 events. (Not button 3, I was wrong) Clicking on the pad (pushing it down until it clicks sends button events for both button 1 and 2. (Which is seems to sometimes be interpreted as button 3...) Was it only sending one button before? Just tried booting the old kernel, and yes, only button 2 events gets sent. With the new driver, I get both button 1 and 2 events... The biggest improvement though; before it would get totally crazy at random intervals with the pointer moving all over the screen and clicking at random points. Quite annoying... This patch seems to have eliminated that! Hmm, not sure how this patch would've fixed that. I'd suggest testing a bit more just to be sure... With the last update, it seem to have come back, although it feels like it does not happen as frequently as before. This is strange. As I said, sometimes the mouse pointer would just jump around like mad. Even if I don't touch the pad. The remedy is to disable it and enable again. (Fn + F7 on this Acer) Then it goes back to normal again. Also, does it support horizontal scrolling? Yes, but Xorg needs to be patched. Any hints on that? -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Fri, Apr 10, 2015 at 07:52:07PM +0200, Jan Kokemüller wrote: But it would be aweseome to have both enabled. Could someone investigate? I've written a patch for this: https://lists.freebsd.org/pipermail/freebsd-x11/2014-November/015673.html With this, I can have both hw.psm.synaptics_support=1 hw.psm.trackpoint_support=1 in my /boot/loader.conf. I can control trackpoint settings such as speed or sensitivity while having the touchpad also enabled. The patch might need some cleanup to land in the tree, but I've been happily using this for at least a year now :) Sounds great! I'll test this later. :) Lars pgpH04SlmCrd_.pgp Description: PGP signature
Re: Call For Testers: Synaptics touchpads
On Fri, Apr 10, 2015 at 09:10:14AM -0700, Rui Paulo wrote: On Friday 10 April 2015 14:22:00 Lars Engels wrote: On Thu, Apr 09, 2015 at 05:05:09PM -0700, Rui Paulo wrote: On Apr 9, 2015, at 14:03, Lars Engels lars.eng...@0x20.net wrote: On Thu, Apr 09, 2015 at 01:14:18PM -0700, Rui Paulo wrote: On Thursday 09 April 2015 15:41:59 Lars Engels wrote: But it would be aweseome to have both enabled. Could someone investigate? I don't know how that can work since every time I run the enable_trackpoint() routine on my psm device, it cannot complete the initialisation routine. Maybe there's a special command when mixing synaptics with trackpoint, but I don't know what it is. Maybe the Linux folks found a way? Do you have time to investigate? I'm a bit busy with other stuff. No, sorry. I don't have the knowledge to investigate. OK, but does your trackpoint not work? It works fine in my case, but you just lose the sysctl settings to control it. Yes, it does work. Actually I don't need the touchpad at all, so I'm fine having only trackpoint with its sysctls enabled, but other people might use both. pgp_UQuozHcc8.pgp Description: PGP signature
Re: Call For Testers: Synaptics touchpads
On Apr 10, 2015, at 10:52 AM, Jan Kokemüller jan.kokemuel...@gmail.com wrote: But it would be aweseome to have both enabled. Could someone investigate? I've written a patch for this: https://lists.freebsd.org/pipermail/freebsd-x11/2014-November/015673.html With this, I can have both hw.psm.synaptics_support=1 hw.psm.trackpoint_support=1 in my /boot/loader.conf. I can control trackpoint settings such as speed or sensitivity while having the touchpad also enabled. The patch might need some cleanup to land in the tree, but I've been happily using this for at least a year now :) Actually, the patch looks pretty reasonable. I'll test it and commit it if it works :-) Thanks! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On 9 April 2015 at 04:14, David Demelier demelier.da...@gmail.com wrote: Please test it and report back your experience. To enable synaptics support, you need: hw.psm.synaptics_support=1 I strongly suggest to enable this by default, it will prevent lot of users having headaches seeking why their touchpads do not work by default. We also added sound support by default, why not the touchpad ? :-). Please see this thread: https://lists.freebsd.org/pipermail/svn-src-head/2013-September/051194.html If the issues mentioned in that thread have been resolved, I agree, we should enable synaptic support by default. -- Eitan Adler ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On 08/04/2015 09:19, Rui Paulo 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, Hi, I'm confused about pad models, are GlidePoint a kind of synaptics pads? Would this patch provide support for the GlidePoints pads? Best, Gustau -- --- Prou top-posting :http://ca.wikipedia.org/wiki/Top-posting Stop top-posting :http://en.wikipedia.org/wiki/Posting_style O O O Gustau Pérez i Querol O O O Unitat de Gestió dels departaments O O O Matemàtica Aplicada IV i Enginyeria Telemàtica Universitat Politècnica de Catalunya Edifici C3 - Despatx S101-B UPC Campus Nord UPC C/ Jordi Girona, 1-3 08034 - Barcelona ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Thursday 09 April 2015 10:00:40 Sergey V. Dyatko wrote: On Wed, 08 Apr 2015 23:27:28 -0700 Rui Paulo rpa...@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 rpa...@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@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 s 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 LBCornerButton1 Option RBCornerButton2 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 -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Thu, 09 Apr 2015 00:21:10 -0700 Rui Paulo rpa...@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 rpa...@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 rpa...@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@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 s 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 LBCornerButton1 Option RBCornerButton2 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@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: 1 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, tiger ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Wednesday 08 April 2015 22:38:33 Jakob Alvermark wrote: It does feel like it sometimes gets stuck in scrolling mode. When trying to move the pointer just after having scrolled, it scrolls even using just one finger. Please try the following patch. -- Rui Paulocommit 3896bb6cfdf0bde90529490d333253824a3b03f0 (HEAD, master) Author: Rui Paulo rpa...@felyko.com Date: Sun Apr 5 20:51:35 2015 Improve Synaptics support for newer touchpads. Enable two finger scrolling by default and disable the edge scrolling if the touchpad has no physical zone for it. Disable directional scrolling by default to avoid using extended buttons as scroll buttons. Add support for ClickPad. On Lenovo laptops, this is the button reported when one presses the touchpad. While there, fix a problem where the extended button where not reporting the button release event correctly: we need to save the state of the buttons and report it to sysmouse until we receive a packet from the touchpad indicating the button has been released. This makes it possible to use an extended button to resize a window. On Lenovo laptops, the major buttons are actually reported as extended buttons. Tested on a Lenovo X1 (3rd gen). diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index 5703daf..b61f5e3 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/psm.c @@ -198,6 +198,7 @@ typedef struct synapticsinfo { struct sysctl_ctx_list sysctl_ctx; struct sysctl_oid *sysctl_tree; int directional_scrolls; + int two_finger_scroll; int min_pressure; int max_pressure; int max_width; @@ -336,6 +337,7 @@ struct psm_softc { /* Driver status information */ int lasterr; int cmdcount; struct sigio *async; /* Processes waiting for SIGIO */ + int extended_buttons; }; static devclass_t psm_devclass; @@ -2752,7 +2754,13 @@ proc_synaptics(struct psm_softc *sc, packetbuf_t *pb, mousestatus_t *ms, if (pb-ipacket[5] 0x02) touchpad_buttons |= MOUSE_BUTTON7DOWN; } else { -touchpad_buttons |= MOUSE_BUTTON2DOWN; +if (pb-ipacket[4] 0x01) + touchpad_buttons |= MOUSE_BUTTON1DOWN; +if (pb-ipacket[5] 0x01) + touchpad_buttons |= MOUSE_BUTTON3DOWN; +if (pb-ipacket[4] 0x02) + touchpad_buttons |= MOUSE_BUTTON2DOWN; +sc-extended_buttons = touchpad_buttons; } /* @@ -2774,13 +2782,26 @@ proc_synaptics(struct psm_softc *sc, packetbuf_t *pb, mousestatus_t *ms, mask = (1 maskedbits) - 1; pb-ipacket[4] = ~(mask); pb-ipacket[5] = ~(mask); + } else if (!sc-syninfo.directional_scrolls + !sc-synaction.in_vscroll) { + /* + * Keep reporting MOUSE DOWN until we get a new packet + * indicating otherwise. + */ + touchpad_buttons |= sc-extended_buttons; } } + /* Handle ClickPad. */ + if (sc-synhw.capClickPad + ((pb-ipacket[0] ^ pb-ipacket[3]) 0x01)) + touchpad_buttons |= MOUSE_BUTTON1DOWN; ms-button = touchpad_buttons | guest_buttons; - /* Check pressure to detect a real wanted action on the - * touchpad. */ + /* + * Check pressure to detect a real wanted action on the + * touchpad. + */ if (*z = sc-syninfo.min_pressure) { synapticsaction_t *synaction; int cursor, peer, window; @@ -2793,7 +2814,7 @@ proc_synaptics(struct psm_softc *sc, packetbuf_t *pb, mousestatus_t *ms, int weight_current, weight_previous, weight_len_squared; int div_min, div_max, div_len; int vscroll_hor_area, vscroll_ver_area; - + int two_finger_scroll; int len, weight_prev_x, weight_prev_y; int div_max_x, div_max_y, div_x, div_y; @@ -2820,6 +2841,7 @@ proc_synaptics(struct psm_softc *sc, packetbuf_t *pb, mousestatus_t *ms, div_len = sc-syninfo.div_len; vscroll_hor_area = sc-syninfo.vscroll_hor_area; vscroll_ver_area = sc-syninfo.vscroll_ver_area; + two_finger_scroll = sc-syninfo.two_finger_scroll; /* Palm detection. */ if (!( @@ -2979,33 +3001,57 @@ proc_synaptics(struct psm_softc *sc, packetbuf_t *pb, mousestatus_t *ms, if (timevalcmp(sc-lastsoftintr, sc-taptimeout, ) || dxp = sc-syninfo.vscroll_min_delta || dyp = sc-syninfo.vscroll_min_delta) { -/* Check for horizontal scrolling. */ -if ((vscroll_hor_area 0 -synaction-start_y = vscroll_hor_area) || -(vscroll_hor_area 0 - synaction-start_y = - 6143 + vscroll_hor_area)) - synaction-in_vscroll += 2; - -/* Check for vertical scrolling. */ -if ((vscroll_ver_area 0 -synaction-start_x = vscroll_ver_area) || -(vscroll_ver_area 0 - synaction-start_x = - 6143 + vscroll_ver_area)) - synaction-in_vscroll += 1; +/* + * Handle two finger scrolling. + * Note that we don't rely on fingers_nb + * as that keeps the maximum number of fingers. + */ +if (two_finger_scroll) { + if (w == 0) { + synaction-in_vscroll += + dyp ? 2 : 0; + synaction-in_vscroll +=
Re: Call For Testers: Synaptics touchpads
On Thu, Apr 09, 2015 at 01:14:18PM -0700, Rui Paulo wrote: On Thursday 09 April 2015 15:41:59 Lars Engels wrote: But it would be aweseome to have both enabled. Could someone investigate? I don't know how that can work since every time I run the enable_trackpoint() routine on my psm device, it cannot complete the initialisation routine. Maybe there's a special command when mixing synaptics with trackpoint, but I don't know what it is. Maybe the Linux folks found a way? pgp5kpP_3QTzv.pgp Description: PGP signature
Re: Call For Testers: Synaptics touchpads
Le 08/04/2015 09:19, Rui Paulo a écrit : 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. Thank you very much, I always wondered why this was not supported in FreeBSD. I also wonder if it will be tunable with the appropriate GNOME/KDE (or just the synclient tool) settings to disable this two-finger scroll at runtime. Please test it and report back your experience. To enable synaptics support, you need: hw.psm.synaptics_support=1 I strongly suggest to enable this by default, it will prevent lot of users having headaches seeking why their touchpads do not work by default. We also added sound support by default, why not the touchpad ? :-). David. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Thu, Apr 09, 2015 at 01:14:49PM +0200, David Demelier wrote: Le 08/04/2015 09:19, Rui Paulo a écrit : 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. Thank you very much, I always wondered why this was not supported in FreeBSD. I also wonder if it will be tunable with the appropriate GNOME/KDE (or just the synclient tool) settings to disable this two-finger scroll at runtime. Please test it and report back your experience. To enable synaptics support, you need: hw.psm.synaptics_support=1 I strongly suggest to enable this by default, it will prevent lot of users having headaches seeking why their touchpads do not work by default. We also added sound support by default, why not the touchpad ? :-). While this is generally a good idea it would prevent the use of hw.psm.trackpoint_support=1 But it would be aweseome to have both enabled. Could someone investigate? pgpvW4A6XmKqL.pgp Description: PGP signature
Re: Call For Testers: Synaptics touchpads
On Wed, 08 Apr 2015 00:19:45 -0700 Rui Paulo rpa...@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@laptop]:~synclient Couldn't find synaptics properties. No synaptics driver loaded? and mouse cursor moved s slooowly, without hw.psm.synaptics_support it moved faster, vertical scrolling doesn't work in both cases it is on lenovo ideapad z400 touch -- wbr, tiger ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Wed, 08 Apr 2015 23:27:28 -0700 Rui Paulo rpa...@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 rpa...@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@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 s 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 LBCornerButton1 Option RBCornerButton2 Option MinSpeed 7 Option MaxSpeed 9 Option AccelFactor 0.0015 Option ZAxisMapping 4 5 6 7 EndSection I would be grateful if you (or somebody else) told me how I can fix vscroll with your patch Thanks! -- wbr, tiger ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Thursday 09 April 2015 09:10:52 Sergey V. Dyatko wrote: On Wed, 08 Apr 2015 00:19:45 -0700 Rui Paulo rpa...@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@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 s 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. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Thursday 09 April 2015 13:35:12 Gustau Pérez wrote: On 08/04/2015 09:19, Rui Paulo 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, Hi, I'm confused about pad models, are GlidePoint a kind of synaptics pads? Would this patch provide support for the GlidePoints pads? I don't think so. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Thursday 09 April 2015 13:14:49 David Demelier wrote: Le 08/04/2015 09:19, Rui Paulo a écrit : 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. Thank you very much, I always wondered why this was not supported in FreeBSD. I also wonder if it will be tunable with the appropriate GNOME/KDE (or just the synclient tool) settings to disable this two-finger scroll at runtime. Please test it and report back your experience. To enable synaptics support, you need: hw.psm.synaptics_support=1 I strongly suggest to enable this by default, it will prevent lot of users having headaches seeking why their touchpads do not work by default. We also added sound support by default, why not the touchpad ? :-). The logic to detect Synaptics could interfere with other input devices. That said, I plan on turning it on by default for a while to see what happens. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Thursday 09 April 2015 15:41:59 Lars Engels wrote: But it would be aweseome to have both enabled. Could someone investigate? I don't know how that can work since every time I run the enable_trackpoint() routine on my psm device, it cannot complete the initialisation routine. Maybe there's a special command when mixing synaptics with trackpoint, but I don't know what it is. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Wednesday 08 April 2015 22:38:33 Jakob Alvermark wrote: Hi, Tested on my Acer E3-112 with a TouchPad. It works, thank you! I have been missing two-finger scrolling, it was quite awkward using edge scrolling IMHO. It does feel like it sometimes gets stuck in scrolling mode. When trying to move the pointer just after having scrolled, it scrolls even using just one finger. I've seen this problem too and I think it's related to my patch. I'll see what I can do to fix it. Three-finger tapping also works. (Generating a button 3 event) That should've worked before. Clicking on the pad (pushing it down until it clicks sends button events for both button 1 and 2. (Which is seems to sometimes be interpreted as button 3...) Was it only sending one button before? The biggest improvement though; before it would get totally crazy at random intervals with the pointer moving all over the screen and clicking at random points. Quite annoying... This patch seems to have eliminated that! Hmm, not sure how this patch would've fixed that. I'd suggest testing a bit more just to be sure... Also, does it support horizontal scrolling? Yes, but Xorg needs to be patched. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Wednesday 08 April 2015 17:04:41 Oliver Pinter wrote: Is there any special settings / requirements for xorg.conf to enable the palm detection and similar features? No, it's done in the kernel. See sysctl hw.psm. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Wed, 2015-04-08 at 09:19 -0700, Rui Paulo wrote: On Wednesday 08 April 2015 09:13:51 Shawn Webb wrote: On Wed, 2015-04-08 at 00:19 -0700, Rui Paulo 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. Hey Rui, I'm excited to have this and will test this out this week. Do I need to recompile any ports (namely, the xf86-input-synaptics port) after applying this patch? No, it's all in the kernel. It's not working in the slightest to me. Looking at the patch, you expose additional sysctls. None of those sysctls are visible to me. Is there something I need to do besides apply the patch and recompile my kernel? If not, then the patch doesn't work in the slightest. Thanks, Shawn signature.asc Description: This is a digitally signed message part
Re: Call For Testers: Synaptics touchpads
On Wed, 2015-04-08 at 00:19 -0700, Rui Paulo 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. Hey Rui, I'm excited to have this and will test this out this week. Do I need to recompile any ports (namely, the xf86-input-synaptics port) after applying this patch? Thanks, Shawn signature.asc Description: This is a digitally signed message part
Re: Call For Testers: Synaptics touchpads
Is there any special settings / requirements for xorg.conf to enable the palm detection and similar features? On Wed, Apr 8, 2015 at 3:13 PM, Shawn Webb shawn.w...@hardenedbsd.org wrote: On Wed, 2015-04-08 at 00:19 -0700, Rui Paulo 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. Hey Rui, I'm excited to have this and will test this out this week. Do I need to recompile any ports (namely, the xf86-input-synaptics port) after applying this patch? Thanks, Shawn ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Wednesday 08 April 2015 09:13:51 Shawn Webb wrote: On Wed, 2015-04-08 at 00:19 -0700, Rui Paulo 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. Hey Rui, I'm excited to have this and will test this out this week. Do I need to recompile any ports (namely, the xf86-input-synaptics port) after applying this patch? No, it's all in the kernel. -- Rui Paulo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Wed, April 8, 2015 09:19, Rui Paulo 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, -- Rui Paulo___ Hi, Tested on my Acer E3-112 with a TouchPad. It works, thank you! I have been missing two-finger scrolling, it was quite awkward using edge scrolling IMHO. It does feel like it sometimes gets stuck in scrolling mode. When trying to move the pointer just after having scrolled, it scrolls even using just one finger. Three-finger tapping also works. (Generating a button 3 event) Clicking on the pad (pushing it down until it clicks sends button events for both button 1 and 2. (Which is seems to sometimes be interpreted as button 3...) The biggest improvement though; before it would get totally crazy at random intervals with the pointer moving all over the screen and clicking at random points. Quite annoying... This patch seems to have eliminated that! Also, does it support horizontal scrolling? Jakob Alvermark ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Call For Testers: Synaptics touchpads
On Wed, Apr 08, 2015 at 01:32:06PM -0400, Shawn Webb wrote: On Wed, 2015-04-08 at 09:19 -0700, Rui Paulo wrote: On Wednesday 08 April 2015 09:13:51 Shawn Webb wrote: On Wed, 2015-04-08 at 00:19 -0700, Rui Paulo 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 Did you add this to loader.conf? It's not working in the slightest to me. Looking at the patch, you expose additional sysctls. None of those sysctls are visible to me. Is there something I need to do besides apply the patch and recompile my kernel? If not, then the patch doesn't work in the slightest. Does grep -i synaptics /var/run/dmesg.boot show anything? pgpTFD8vuVLex.pgp Description: PGP signature
Re: Call For Testers: Synaptics touchpads
On Apr 8, 2015 4:27 PM, Lars Engels lars.eng...@0x20.net wrote: On Wed, Apr 08, 2015 at 01:32:06PM -0400, Shawn Webb wrote: On Wed, 2015-04-08 at 09:19 -0700, Rui Paulo wrote: On Wednesday 08 April 2015 09:13:51 Shawn Webb wrote: On Wed, 2015-04-08 at 00:19 -0700, Rui Paulo 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 Did you add this to loader.conf? It's not working in the slightest to me. Looking at the patch, you expose additional sysctls. None of those sysctls are visible to me. Is there something I need to do besides apply the patch and recompile my kernel? If not, then the patch doesn't work in the slightest. Does grep -i synaptics /var/run/dmesg.boot show anything? I ran through some tests, it looks like my synaptics touchpad isn't supported. I'll have to add support for the device itself before his patch is useful. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org