I have no customization in my xorg.conf. The only lines it have are the
ones you asked to put in on your original mail.
It's a basic installation with cwm and no fancy Window Manager.

Here is the output you asked for:

$ xmodmap -pp
There are 10 pointer buttons defined.

    Physical        Button
     Button          Code
        1              1
        2              2
        3              3
        4              4
        5              5
        6              6
        7              7
        8              8
        9              9
       10             10

Maybe this may be interesting:

$ grep ws /var/log/Xorg.0.log
[  3892.359] (--) Using wscons driver on /dev/ttyC4
[  3892.379] (II) The server relies on wscons to provide the list of input
devices.
        If no devices become available, reconfigure wscons or disable
AutoAddDevices.
[  3893.160] (II) config/wscons: checking input device /dev/wskbd
[  3893.160] (II) wskbd: using layout fr
[  3893.164] (II) Using input driver 'kbd' for '/dev/wskbd'
[  3893.164] (**) /dev/wskbd: always reports core events
[  3893.164] (**) /dev/wskbd: always reports core events
[  3893.164] (II) XINPUT: Adding extended input device "/dev/wskbd" (type:
KEYBOARD, id 6)
[  3893.348] (II) config/wscons: checking input device /dev/wsmouse0
[  3893.348] (**) /dev/wsmouse0: Applying InputClass "touchpad catchall"
[  3893.349] (**) /dev/wsmouse0: Applying InputClass "Default clickpad
buttons"
[  3893.349] (**) /dev/wsmouse0: Applying InputClass "wsmouse touchpad"
[  3893.349] (II) LoadModule: "ws"
[  3893.351] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[  3893.352] (II) Module ws: vendor="X.Org Foundation"
[  3893.352] (II) Using input driver 'ws' for '/dev/wsmouse0'
[  3893.352] (**) /dev/wsmouse0: always reports core events
[  3893.352] (II) ws: /dev/wsmouse0: debuglevel 0
[  3893.352] (**) Option "Device" "/dev/wsmouse0"
[  3893.353] (**) ws: /dev/wsmouse0: ZAxisMapping: buttons 4 and 5
[  3893.353] (**) ws: /dev/wsmouse0: WAxisMapping: buttons 6 and 7
[  3893.353] (**) ws: /dev/wsmouse0: associated screen: 0
[  3893.484] (II) ws: /dev/wsmouse0: minimum x position: 0
[  3893.485] (II) ws: /dev/wsmouse0: maximum x position: 1365
[  3893.485] (II) ws: /dev/wsmouse0: minimum y position: 0
[  3893.485] (II) ws: /dev/wsmouse0: maximum y position: 767
[  3893.485] (==) ws: /dev/wsmouse0: Buttons: 7
[  3893.489] (**) ws: /dev/wsmouse0: YAxisMapping: buttons 4 and 5
[  3893.489] (II) XINPUT: Adding extended input device "/dev/wsmouse0"
(type: MOUSE, id 7)
[  3893.579] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
[  3893.579] (**) /dev/wsmouse0: (accel) acceleration profile 0
[  3893.579] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[  3893.579] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[  3893.579] (II) config/wscons: checking input device /dev/wsmouse
[  3893.579] (II) Using input driver 'ws' for '/dev/wsmouse'
[  3893.579] (**) /dev/wsmouse: always reports core events
[  3893.579] (II) ws: /dev/wsmouse: debuglevel 0
[  3893.579] (**) Option "Device" "/dev/wsmouse"
[  3893.579] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[  3893.579] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[  3893.579] (**) ws: /dev/wsmouse: associated screen: 0
[  3893.579] (II) ws: /dev/wsmouse: minimum x position: 0
[  3893.579] (II) ws: /dev/wsmouse: maximum x position: 1365
[  3893.579] (II) ws: /dev/wsmouse: minimum y position: 0
[  3893.579] (II) ws: /dev/wsmouse: maximum y position: 767
[  3893.579] (==) ws: /dev/wsmouse: Buttons: 7
[  3893.579] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[  3893.579] (II) XINPUT: Adding extended input device "/dev/wsmouse"
(type: MOUSE, id 8)
[  3893.580] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[  3893.580] (**) /dev/wsmouse: (accel) acceleration profile 0
[  3893.580] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[  3893.580] (**) /dev/wsmouse: (accel) acceleration threshold: 4



On Wed, Aug 2, 2017 at 2:00 AM, Ulf Brosziewski <ulf.brosziew...@t-online.de
> wrote:

> The event codes look wrong, they are for right-clicks and left-clicks,
> if I'm not mistaken.  Is there a "ButtonMapping" defined for X
> somewhere (in your xorg.conf, or by a script), or a "ZAxisMapping"?
>
> Could you have a look at the output of
>    $ xmodmap -pp
> ?
>
> On 08/02/2017 12:22 AM, Olivier Antoine wrote:
> > Two-fingers scrolling doesn't work at all. Under a firefox window, it
> open
> > context menu, or act like pressing button.
> >
> > $ xinput --test /dev/wsmouse0
> > button press   3
> > button release 3
> > button press   3
> > button release 3
> > button press   3
> > button release 3
> > motion a[0]=876 a[1]=497
> > button press   3
> > button release 3
> > button press   3
> > button release 3
> > button press   3
> > button release 3
> > button press   1
> > button release 1
> > button press   1
> > button release 1
> > button press   1
> > button release 1
> > button press   1
> > button release 1
> > button press   3
> > button release 3
> > button press   1
> > button release 1
> > button press   1
> > button release 1
> > button press   3
> > button release 3
> > button press   3
> > button release 3
> >
> >
> >
> > On Tue, Aug 1, 2017 at 9:53 PM, Ulf Brosziewski <
> ulf.brosziew...@t-online.de
> >> wrote:
> >
> >> Hi,
> >>
> >> thanks for testing!  Does "NOT OK" mean that two-finger
> >> scrolling works badly, or that it doesn't work at all?
> >> If possible, could you record the output of
> >>     $ xinput --test /dev/wsmouse0
> >> for a short period of time and perform the scroll gesture?
> >>
> >> Ulf
> >>
> >> On 08/01/2017 11:09 AM, Olivier Antoine wrote:
> >>> Mouse move: OK
> >>> Mouse tapping: OK
> >>> Two-fingers scrolling: NOT OK
> >>>
> >>> Machine Lenovo Thinkpad E130
> >>>
> >>> # wsconsctl | grep 'mouse'
> >>> mouse.type=synaptics
> >>> mouse.rawmode=0
> >>> mouse.scale=1472,5768,1408,5236,0,66,175
> >>> mouse.tp.tapping=1
> >>> mouse.tp.scaling=0.160
> >>> mouse.tp.swapsides=0
> >>> mouse.tp.disable=0
> >>> mouse1.type=ps2
> >>>
> >>>
> >>>
> >>> On Mon, Jul 31, 2017 at 11:02 PM, Ulf Brosziewski <
> >>> ulf.brosziew...@t-online.de> wrote:
> >>>
> >>>> In the long run the synaptics driver, which handles touchpad inputs in
> >>>> X, may be a dead end of the input framework, and it's time to prepare
> >>>> an alternative.  The kernel contains an internal touchpad input driver
> >>>> now, it's a part of wsmouse(4).  It provides standard features -
> >>>> two-finger/edge scrolling, software buttons for clickpads, tapping -
> >>>> and various kinds of plankton required for usability.
> >>>>
> >>>> If you have a new snapshot (from July 27 or later) on a laptop with a
> >>>> Synaptics, Apple, Alps, or Elantech-4 touchpad, you could help with
> >>>> tests, more tests, and tests.  In order to activate the driver, add
> the
> >>>> following entry to /etc/xorg.conf and restart X (if the file isn't
> >>>> present, simply create it with this content):
> >>>>
> >>>>     Section "InputClass"
> >>>>         Identifier "wsmouse touchpad"
> >>>>         Driver "ws"
> >>>>         MatchIsTouchpad "on"
> >>>>     EndSection
> >>>>
> >>>> While I dont't expect bugs in the input processing part of the
> >>>> driver ;-), it is difficult to assess how well the automatic
> >>>> configuration covers the zoo of models out there, presumably it will
> >>>> need some more fine-grained distinctions of hardware properties.  I
> >>>> would like to know where it works, works only halfway, or doesn't work
> >>>> for you.  As always, a dmesg would be appreciated.  The output of
> >>>>     # wsconsctl | grep 'mouse'
> >>>> could also be of interest here (you must run it as root).
> >>>>
> >>>> For now, X will treat the device like a mouse, please don't look for
> >>>> touchpad-specific configuration options there.  Tapping can be enabled
> >>>> by the command
> >>>>     # wsconsctl mouse.tp.tapping=1
> >>>> If there is more than one wsmouse device, you should look up which one
> >>>> has the "tp" fields and if it's not the first one (wsmouse0), add the
> >>>> index to the prefix, e.g.
> >>>>     # wsconsctl mouse2.tp.tapping=1
> >>>>
> >>>> The base speed of the pointer can be adjusted by increasing or
> >>>> decreasing the value of
> >>>>     # wsconsctl mouse.tp.scaling
> >>>> Please don't confuse it with the 'mouse.scale' field.
> >>>>
> >>>>     # wsconsctl mouse.tp.swapsides=1
> >>>> will invert the order of software buttons areas (swapping external
> >>>> buttons must still be configured in X). If edge scrolling is
> >>>> enabled, the scroll area will be at the left edge of the touchpad.
> >>>>
> >>>> If you are using an external mouse device or a trackpoint, the command
> >>>>     # wsconsctl mouse.tp.disable=1
> >>>> may be helpful.  It will disable pointer movement, scrolling, and
> >>>> tapping.  External buttons and software buttons remain enabled.
> >>>>
> >>>>
> >>>
> >>
> >>
> >
>
>

Reply via email to