From owner-freebsd-questions@freebsd.org Wed Aug 26 06:59:57 2020 Return-Path: Delivered-To: freebsd-questions@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 AA07A3CBAB7 for ; Wed, 26 Aug 2020 06:59:57 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (fournil.foucry.net [95.217.83.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbxZ42QCxz4mH1 for ; Wed, 26 Aug 2020 06:59:56 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (unknown [192.168.12.17]) by mail.foucry.net (Postfix) with ESMTP id 8199433018 for ; Wed, 26 Aug 2020 06:59:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at foucry.net Received: from mail.foucry.net ([192.168.12.17]) by mail.foucry.net (mail.foucry.net [192.168.12.17]) (amavisd-new, port 10024) with ESMTP id 26Nj7ATtJkll for ; Wed, 26 Aug 2020 06:59:29 +0000 (UTC) Received: by mail.foucry.net (Postfix, from userid 58) id 230FD3300E; Wed, 26 Aug 2020 06:59:29 +0000 (UTC) Received: from mithril.localdomain (2a01cb0400bb09004aa472fffe9e65a1.ipv6.abo.wanadoo.fr [IPv6:2a01:cb04:bb:900:4aa4:72ff:fe9e:65a1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.foucry.net (Postfix) with ESMTPSA id EE6883300C for ; Wed, 26 Aug 2020 06:59:26 +0000 (UTC) Received: from mithril (localhost [IPv6:::1]) by mithril.localdomain (Postfix) with ESMTP id D1AA911D04 for ; Wed, 26 Aug 2020 08:59:25 +0200 (CEST) Date: Wed, 26 Aug 2020 08:59:25 +0200 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: xorg, libinput, edev and i3wm Message-ID: <20200826065925.GB88637@mithril> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BbxZ42QCxz4mH1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=foucry.net; spf=pass (mx1.freebsd.org: domain of jacques@foucry.net designates 95.217.83.231 as permitted sender) smtp.mailfrom=jacques@foucry.net X-Spamd-Result: default: False [-2.93 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.959]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.74)[-0.744]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,none]; NEURAL_HAM_MEDIUM(-0.93)[-0.928]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:95.217.0.0/16, country:DE]; TAGGED_FROM(0.00)[freebsd]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 06:59:57 -0000 Dear All, I need your experize. I run FreeBSD 12.1-RELEASE-p8 GENERIC, on a X280 Lenovo laptop and I can't make the touchepad work properlly. Some options works, others don't. Well, I will try to give all the informations: /boot/loader.conf hw.psm.trackpoint_support="1" hw.psm.synaptics_support="1" /etc/syscrtl.conf hw.psm.synaptics_support="1" kern.evdev.rcpt_mask=12 /etc/rc.conf moused_enabled="NO" setxkbmap -query  ✔ rules: evdev model: lenovo layout: us variant: altgr-intl options: terminate:ctrl_alt_bksp,misc:typo,compose:lwin,terminate:ctrl_alt_bksp,misc:typo,compose:lwin more 90-touchpad.conf  ✔ Section "InputClass" Identifier "libinput Touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "AccelSpeed" "0.1" Option "Taping" "on" Option "NaturalScrolling" "off" Option "DisableWhileTapping" "on" EndSection Note: 90-touchpad.conf is the only custom X11 file ·/config/i3wm/config bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status ... # Use xbackliht to adjust brightness bindsym XF86MonBrightnessUp exec xbacklight -inc 5 bindsym $mod+$alt+Next exec xbacklight -inc 5 bindsym XF86MonBrightnessDown exec xbacklight -dec 5 bindsym $mod+$alt+Prev exec xbacklight -dec 5 With this configuration, scroll with 2 fingers works; If I enable "NaturalScrolling" it works too; but taping does not work; the special keyboard keys does not work too (XF86AudioRaiseVolume, XF86AudioLowerVolume, XF86AudioMute, XF86AudioMicMute). Same with brightness key. To make thoses keys and touchpad works, I need to launch "mate-keybings-properties" which is not optimal. I try to remove mate complety, it does not change anything. I have read on may website that evdev and libinput should be "automagical". Sems does not work for me :-( So I need you to find the correct configuration, Thanks for your time and advices -- Jacques Foucry