From owner-freebsd-ports@freebsd.org Sat Mar 7 13:54:08 2020 Return-Path: Delivered-To: freebsd-ports@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 90861266586 for ; Sat, 7 Mar 2020 13:54:08 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48ZQvL2Mj0z3xkD for ; Sat, 7 Mar 2020 13:54:05 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id e9f0bf2c; Sat, 7 Mar 2020 13:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=rmttLwmF Bfd0YIPOMxdxbhmtH84=; b=vhvhzQqRE3hGz02Y5H3ntW+QTi2NQ+X1ObhItR6O qKv5DLmy7jISIdP/39eazNkSYQH7KlMoPT2X+Vy0zr1dateuB3xuCvVtjLdonZZg ozsG6Qei9m0JEDkxztYTAmTN7BzDOgK+eh9lrv8fyfOHJu7V72pPhwnmR/gYgKE0 kEBNgSHLk0ai2hQY/bDwMUUyEb+h4F4doJCMKNL8xtOWln7cjF6+FTs+L0LRINjf oswlSwTnRvgiuVu/H7mRlLyJdlHdUi/JrTubJbmfIJELL5HSxhQ8ZzAM/V5XkJ0P 1wu/8QSma7xNcn9YeCBIYd1ECxKSx+lJsHKvbpPxvNXE8A== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=Gq 3rmNy6XxI+5qnT5hAfCWOLXyQsym0kysVtCNoHHC7HeVJOIi6h4gdrx4DFVnc+0A DI7k4pLFetSrx7yHROlL0GEcjs8b/fPMFmBGMcJOeTbXjmHOMG4UW/zuTcyhkiLW gSQDkXiOIlmbpR/RZTN5VdU+N/HnOXfoSJQMa2aAecWflOCFoW1jr7XPyKLxU1d8 CvYScq84MfTItAziG0w/6ISGUjBSu7Ubhk4Er9n6TPy0aHqVHbXCl0qREpEO5G57 ySO6v6K2xhORB1zWYJReO66uOagyxqzVzfZTAtyOmQhWB4M0yqaXn24Cv5VFRpL+ O4pO+GHNK7ADluhS8jsg== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 197a1255 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Sat, 7 Mar 2020 13:53:58 +0000 (UTC) Date: Sat, 7 Mar 2020 14:53:41 +0100 From: Michael Gmelin To: "Ronald Klop" Cc: "Michael Gmelin" , FreeBSD-ports@freebsd.org, "Daniel Morante" Subject: Re: Xorg 1.20 no mouse buttons Message-ID: <20200307145341.5a9422ad@bsd64.grem.de> In-Reply-To: References: <261B48F5-F1D7-418B-B901-1DE45D749CB6@grem.de> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48ZQvL2Mj0z3xkD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=vhvhzQqR; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-2.82 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.32)[ipnet: 213.239.192.0/18(-0.04), asn: 24940(-1.56), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2020 13:54:08 -0000 On Sat, 07 Mar 2020 10:48:05 +0100 "Ronald Klop" wrote: > On Thu, 05 Mar 2020 23:24:46 +0100, Michael Gmelin > wrote: >=20 > > =EF=BB=BF > > =20 > >> On 5. Mar 2020, at 14:46, Ronald Klop wrote: > >> > >> =EF=BB=BFHi, > >> > >> I needed "sysctl kern.evdev.rcpt_mask=3D6" to switch from sysmouse > >> to "hardware mouse". That fixed mouse integration with VirtualBox. > >> > >> Still have weird behaviour. Two finger swipe down & up (which > >> normally only scrolls) makes the browser go back. With xev I see > >> that next to logical button 4 & 5 for scrolling this also triggers > >> logical buttons 8 & 9. Swipe down presses 8 & 9 and up releases > >> the buttons. Why? =20 > > > > Hi, > > > > Please check/post the outputs of: > > libinput list-devices > > xinput list > > xinput list-props =20 >=20 > See atttachments. "unnamed" is the vboxmouse driver which comes with > the virtualbox-ose-additions pkg. >=20 I reproduced the problem here in virtualbox (on a MacBook + 12.1-RELEASE, but close enough). Note that I didn't need the vmmouse driver to reproduce it. It also doesn't seem to come with the virtualbox-ose-additions package [anymore]?! That said: I could see the issue you're talking about when two finger scrolling sideways - this means, if I'm not scrolling 100% straight. When running xev and being really focused to move two fingers vertically, I don't get buttons 8 and 9. This is not practical though and I can see why you're annoyed by that. Fortunately, buttons 8 and 9 can be disabled quite easily: # xinput set-button-map 9 1 2 3 4 5 6 7 0 0 This is for device id 9 (intellimouse), which did the trick in my setup. In case device id 10 is relevant in your setup, you can also try: # xinput set-button-map 10 1 2 3 4 5 6 7 0 0 And in case of 11 (this is the one from the vmmouse driver): # xinput set-button-map 11 1 2 3 4 5 6 7 0 0 You can verify that the setting caught on by calling: # xinput get-button-map If this does the trick for you, you can simply put it into your ~/.xinitrc to set it automatically on startx. Cheers, Michael --=20 Michael Gmelin