From owner-freebsd-x11@freebsd.org Wed Dec 16 13:55:48 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6646C4BD5EA for ; Wed, 16 Dec 2020 13:55:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CwxVC4CpDz4vtL for ; Wed, 16 Dec 2020 13:55:47 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.59.26] (helo=c720-r368166.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpXHN-0001QB-9g for freebsd-x11@freebsd.org; Wed, 16 Dec 2020 14:55:45 +0100 Received: from c720-r368166.fritz.box (localhost [127.0.0.1]) by c720-r368166.unixarea.de (8.16.1/8.14.9) with ESMTPS id 0BGDtiid010736 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 16 Dec 2020 14:55:44 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-r368166.fritz.box (8.16.1/8.14.9/Submit) id 0BGDtiij010735 for freebsd-x11@freebsd.org; Wed, 16 Dec 2020 14:55:44 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-r368166.fritz.box: guru set sender to guru@unixarea.de using -f Date: Wed, 16 Dec 2020 14:55:44 +0100 From: Matthias Apitz To: freebsd-x11@freebsd.org Subject: Re: Xorg (latest from ports) and no mouse movement Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: freebsd-x11@freebsd.org References: <20201205115850.GA4689@c720-r342378> <56a68baa-fec7-6610-5d24-6159b75927ab@kondratyev.su> <20201205144428.GA7042@c720-r342378> <5cad48e4-2414-1581-f79d-5b2d4d0b6619@kondratyev.su> <1f745bc6-8315-3825-d3c4-8b04cd63a88c@kondratyev.su> <4dafd8bb-14fa-dee9-353f-625f8479af95@kondratyev.su> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1zEoOKWoduGpc01Y" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4dafd8bb-14fa-dee9-353f-625f8479af95@kondratyev.su> X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.59.26 X-Rspamd-Queue-Id: 4CwxVC4CpDz4vtL X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [0.88 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; HAS_ATTACHMENT(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.80)[-0.798]; CTYPE_MIXED_BOGUS(1.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[188.174.59.26:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; NEURAL_SPAM_LONG(0.88)[0.880]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 13:55:48 -0000 --1zEoOKWoduGpc01Y Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub --1zEoOKWoduGpc01Y Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="evemu-record.out" # 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 --1zEoOKWoduGpc01Y--