Xorg (latest from ports) and no mouse movement

Matthias Apitz guru at unixarea.de
Wed Dec 16 13:55:48 UTC 2020


El día miércoles, diciembre 16, 2020 a las 02:55:44p. m. +0300, Vladimir Kondratyev escribió:

> On 16.12.2020 14:28, Matthias Apitz wrote:
> > El día jueves, diciembre 10, 2020 a las 09:03:02p. m. +0300, Vladimir Kondratyev escribió:
> > 
> >>> In /etc/sysctl.conf I have for cyapa TP
> >>>
> >>> debug.cyapa_enable_tapclick=3
> >>> debug.cyapa_tapclick_max_ticks=20
> >>>
> >>> Maybe this could be related.
> >>>
> >> What types of press did you try? Taps or clicks?
> > 
> > Only short taps.
> >
> AFAIK, libinput disables taps by default. Try to add following snippet
> to your xorg.conf:

I do not have (and never had on this laptop) any xorg.conf file. I added
the options to an existing file:

# diff /usr/local/share/X11/xorg.conf.d/40-libinput.conf*

37,39d36
<         Option "Tapping" "on"
<         Option "NaturalScrolling" "on"
<         Option "ClickMethod" "clickfinger"
> 

Now tapping works. But with some problems:

- I can tap on a desktop icon and the app, for example xterm, starts
  fine;

- I can double tap some word to 'cut' it, it is shown inversed, but can't paste
  the word as input;

- I can click in the title bar of a window, the mouse pointer gets shown
  as a cross, but I can't move the window around;

I haven't yet applied your additional patch. Should this applied on top
of the already applied patch?

I rerun evemu and attaching its output of one click and one tap.

The value for value for kern.evdev.rcpt_mask was now set to 12 before
starting Xorg.

Thanks

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
-------------- next part --------------
# EVEMU 1.3
# Kernel: 13.0-CURRENT
# Input device name: "Cypress APA I2C Trackpad"
# Input device ID: bus 0x18 vendor 0000 product 0000 version 0x01
# Size in mm: 87x47
# Supported events:
#   Event type 0 (EV_SYN)
#     Event code 0 (SYN_REPORT)
#     Event code 1 (SYN_CONFIG)
#     Event code 2 (SYN_MT_REPORT)
#     Event code 3 (SYN_DROPPED)
#     Event code 4 ((null))
#     Event code 5 ((null))
#     Event code 6 ((null))
#     Event code 7 ((null))
#     Event code 8 ((null))
#     Event code 9 ((null))
#     Event code 10 ((null))
#     Event code 11 ((null))
#     Event code 12 ((null))
#     Event code 13 ((null))
#     Event code 14 ((null))
#     Event code 15 (SYN_MAX)
#   Event type 1 (EV_KEY)
#     Event code 272 (BTN_LEFT)
#     Event code 274 (BTN_MIDDLE)
#     Event code 325 (BTN_TOOL_FINGER)
#     Event code 328 (BTN_TOOL_QUINTTAP)
#     Event code 330 (BTN_TOUCH)
#     Event code 333 (BTN_TOOL_DOUBLETAP)
#     Event code 334 (BTN_TOOL_TRIPLETAP)
#     Event code 335 (BTN_TOOL_QUADTAP)
#   Event type 3 (EV_ABS)
#     Event code 0 (ABS_X)
#       Value      156
#       Min          0
#       Max        870
#       Fuzz         0
#       Flat         0
#       Resolution  10
#     Event code 1 (ABS_Y)
#       Value       78
#       Min          0
#       Max        470
#       Fuzz         0
#       Flat         0
#       Resolution  10
#     Event code 24 (ABS_PRESSURE)
#       Value        0
#       Min          0
#       Max        255
#       Fuzz         0
#       Flat         0
#       Resolution   0
#     Event code 47 (ABS_MT_SLOT)
#       Value        0
#       Min          0
#       Max          4
#       Fuzz         0
#       Flat         0
#       Resolution   0
#     Event code 53 (ABS_MT_POSITION_X)
#       Value        0
#       Min          0
#       Max        870
#       Fuzz         0
#       Flat         0
#       Resolution  10
#     Event code 54 (ABS_MT_POSITION_Y)
#       Value        0
#       Min          0
#       Max        470
#       Fuzz         0
#       Flat         0
#       Resolution  10
#     Event code 57 (ABS_MT_TRACKING_ID)
#       Value        0
#       Min         -1
#       Max         15
#       Fuzz         0
#       Flat         0
#       Resolution   0
#     Event code 58 (ABS_MT_PRESSURE)
#       Value        0
#       Min          0
#       Max        255
#       Fuzz         0
#       Flat         0
#       Resolution   0
# Properties:
#   Property  type 0 (INPUT_PROP_POINTER)
N: Cypress APA I2C Trackpad
I: 0018 0000 0000 0001
P: 01 00 00 00 00 00 00 00
B: 00 0b 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 05 00 00 00 00 00
B: 01 20 e5 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 02 00 00 00 00 00 00 00 00
B: 03 03 00 00 01 00 80 60 06
B: 04 00 00 00 00 00 00 00 00
B: 05 00 00 00 00 00 00 00 00
B: 11 00 00 00 00 00 00 00 00
B: 12 00 00 00 00 00 00 00 00
B: 14 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
A: 00 0 870 0 0 10
A: 01 0 470 0 0 10
A: 18 0 255 0 0 0
A: 2f 0 4 0 0 0
A: 35 0 870 0 0 10
A: 36 0 470 0 0 10
A: 39 -1 15 0 0 0
A: 3a 0 255 0 0 0
################################
#      Waiting for events      #
################################
E: 0.000001 0003 0039 0001	# EV_ABS / ABS_MT_TRACKING_ID   1
E: 0.000001 0003 0035 0067	# EV_ABS / ABS_MT_POSITION_X    67
E: 0.000001 0003 0036 0049	# EV_ABS / ABS_MT_POSITION_Y    49
E: 0.000001 0003 003a 0029	# EV_ABS / ABS_MT_PRESSURE      29
E: 0.000001 0001 014a 0001	# EV_KEY / BTN_TOUCH            1
E: 0.000001 0003 0000 0067	# EV_ABS / ABS_X                67
E: 0.000001 0003 0001 0049	# EV_ABS / ABS_Y                49
E: 0.000001 0003 0018 0029	# EV_ABS / ABS_PRESSURE         29
E: 0.000001 0001 0145 0001	# EV_KEY / BTN_TOOL_FINGER      1
E: 0.000001 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +0ms
E: 0.051737 0003 0035 0069	# EV_ABS / ABS_MT_POSITION_X    69
E: 0.051737 0003 0036 0053	# EV_ABS / ABS_MT_POSITION_Y    53
E: 0.051737 0003 003a 0046	# EV_ABS / ABS_MT_PRESSURE      46
E: 0.051737 0001 0110 0001	# EV_KEY / BTN_LEFT             1
E: 0.051737 0003 0000 0069	# EV_ABS / ABS_X                69
E: 0.051737 0003 0001 0053	# EV_ABS / ABS_Y                53
E: 0.051737 0003 0018 0046	# EV_ABS / ABS_PRESSURE         46
E: 0.051737 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +51ms
E: 0.104277 0003 0035 0068	# EV_ABS / ABS_MT_POSITION_X    68
E: 0.104277 0003 0036 0051	# EV_ABS / ABS_MT_POSITION_Y    51
E: 0.104277 0003 0000 0068	# EV_ABS / ABS_X                68
E: 0.104277 0003 0001 0051	# EV_ABS / ABS_Y                51
E: 0.104277 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +53ms
E: 0.114809 0003 0036 0050	# EV_ABS / ABS_MT_POSITION_Y    50
E: 0.114809 0003 003a 0047	# EV_ABS / ABS_MT_PRESSURE      47
E: 0.114809 0003 0001 0050	# EV_ABS / ABS_Y                50
E: 0.114809 0003 0018 0047	# EV_ABS / ABS_PRESSURE         47
E: 0.114809 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +10ms
E: 0.125646 0003 003a 0046	# EV_ABS / ABS_MT_PRESSURE      46
E: 0.125646 0003 0018 0046	# EV_ABS / ABS_PRESSURE         46
E: 0.125646 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 0.136635 0003 0036 0052	# EV_ABS / ABS_MT_POSITION_Y    52
E: 0.136635 0003 003a 0047	# EV_ABS / ABS_MT_PRESSURE      47
E: 0.136635 0003 0001 0052	# EV_ABS / ABS_Y                52
E: 0.136635 0003 0018 0047	# EV_ABS / ABS_PRESSURE         47
E: 0.136635 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 0.147641 0003 0035 0067	# EV_ABS / ABS_MT_POSITION_X    67
E: 0.147641 0003 0000 0067	# EV_ABS / ABS_X                67
E: 0.147641 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 0.169618 0003 0035 0066	# EV_ABS / ABS_MT_POSITION_X    66
E: 0.169618 0003 0036 0053	# EV_ABS / ABS_MT_POSITION_Y    53
E: 0.169618 0003 0000 0066	# EV_ABS / ABS_X                66
E: 0.169618 0003 0001 0053	# EV_ABS / ABS_Y                53
E: 0.169618 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +22ms
E: 0.180643 0003 003a 0048	# EV_ABS / ABS_MT_PRESSURE      48
E: 0.180643 0003 0018 0048	# EV_ABS / ABS_PRESSURE         48
E: 0.180643 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 0.191644 0003 0035 0067	# EV_ABS / ABS_MT_POSITION_X    67
E: 0.191644 0003 0036 0052	# EV_ABS / ABS_MT_POSITION_Y    52
E: 0.191644 0003 0000 0067	# EV_ABS / ABS_X                67
E: 0.191644 0003 0001 0052	# EV_ABS / ABS_Y                52
E: 0.191644 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 0.202645 0003 0036 0050	# EV_ABS / ABS_MT_POSITION_Y    50
E: 0.202645 0003 003a 0047	# EV_ABS / ABS_MT_PRESSURE      47
E: 0.202645 0003 0001 0050	# EV_ABS / ABS_Y                50
E: 0.202645 0003 0018 0047	# EV_ABS / ABS_PRESSURE         47
E: 0.202645 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 0.213642 0003 0035 0068	# EV_ABS / ABS_MT_POSITION_X    68
E: 0.213642 0003 0036 0049	# EV_ABS / ABS_MT_POSITION_Y    49
E: 0.213642 0003 003a 0046	# EV_ABS / ABS_MT_PRESSURE      46
E: 0.213642 0003 0000 0068	# EV_ABS / ABS_X                68
E: 0.213642 0003 0001 0049	# EV_ABS / ABS_Y                49
E: 0.213642 0003 0018 0046	# EV_ABS / ABS_PRESSURE         46
E: 0.213642 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 0.224618 0003 0036 0047	# EV_ABS / ABS_MT_POSITION_Y    47
E: 0.224618 0003 003a 0045	# EV_ABS / ABS_MT_PRESSURE      45
E: 0.224618 0003 0001 0047	# EV_ABS / ABS_Y                47
E: 0.224618 0003 0018 0045	# EV_ABS / ABS_PRESSURE         45
E: 0.224618 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 0.235626 0001 0110 0000	# EV_KEY / BTN_LEFT             0
E: 0.235626 0003 0039 -001	# EV_ABS / ABS_MT_TRACKING_ID   -1
E: 0.235626 0001 014a 0000	# EV_KEY / BTN_TOUCH            0
E: 0.235626 0001 0145 0000	# EV_KEY / BTN_TOOL_FINGER      0
E: 0.235626 0003 0018 0000	# EV_ABS / ABS_PRESSURE         0
E: 0.235626 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 4.097227 0003 0039 0001	# EV_ABS / ABS_MT_TRACKING_ID   1
E: 4.097227 0003 0035 0178	# EV_ABS / ABS_MT_POSITION_X    178
E: 4.097227 0003 0036 0000	# EV_ABS / ABS_MT_POSITION_Y    0
E: 4.097227 0003 003a 0007	# EV_ABS / ABS_MT_PRESSURE      7
E: 4.097227 0001 014a 0001	# EV_KEY / BTN_TOUCH            1
E: 4.097227 0003 0000 0178	# EV_ABS / ABS_X                178
E: 4.097227 0003 0001 0000	# EV_ABS / ABS_Y                0
E: 4.097227 0003 0018 0007	# EV_ABS / ABS_PRESSURE         7
E: 4.097227 0001 0145 0001	# EV_KEY / BTN_TOOL_FINGER      1
E: 4.097227 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +3862ms
E: 4.108246 0003 0035 0174	# EV_ABS / ABS_MT_POSITION_X    174
E: 4.108246 0003 003a 0010	# EV_ABS / ABS_MT_PRESSURE      10
E: 4.108246 0003 0000 0174	# EV_ABS / ABS_X                174
E: 4.108246 0003 0018 0010	# EV_ABS / ABS_PRESSURE         10
E: 4.108246 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +11ms
E: 4.140602 0003 0035 0173	# EV_ABS / ABS_MT_POSITION_X    173
E: 4.140602 0003 003a 0009	# EV_ABS / ABS_MT_PRESSURE      9
E: 4.140602 0003 0000 0173	# EV_ABS / ABS_X                173
E: 4.140602 0003 0018 0009	# EV_ABS / ABS_PRESSURE         9
E: 4.140602 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +32ms
E: 4.152243 0003 0039 -001	# EV_ABS / ABS_MT_TRACKING_ID   -1
E: 4.152243 0001 014a 0000	# EV_KEY / BTN_TOUCH            0
E: 4.152243 0001 0145 0000	# EV_KEY / BTN_TOOL_FINGER      0
E: 4.152243 0003 0018 0000	# EV_ABS / ABS_PRESSURE         0
E: 4.152243 0000 0000 0001	# ------------ SYN_REPORT (1) ---------- +12ms


More information about the freebsd-x11 mailing list