From owner-freebsd-x11@freebsd.org Sun Dec 30 21:50:59 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2850014361C4 for ; Sun, 30 Dec 2018 21:50:59 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (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 0D25A6F16C for ; Sun, 30 Dec 2018 21:50:57 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 43SYzM1xZnzDjGd; Sun, 30 Dec 2018 21:50:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1546206654; bh=JYXuyVPv7IA1rJ3VPvGn74PM TdEmh+DzVR1Ed2wJ2j8=; b=dD+R39/uIVCnj/lsciHYV+j52VkruxZEkJHnHUj1 ULctPY8Ale561MABYK6DuABI5isTUDL10GVwrKXmMgCtql6oAIAJW2RgBVc/eWf4 ZhEfCGFhdA0Kf8z7kbF7xoFB+j08zLZF+fZP7r0Tgy8jXjtmgV1p/KRWbjAIarCz Qvk= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id xw8qnhCfbd_b; Sun, 30 Dec 2018 21:50:54 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:9b:ae2c:ceb3:dee8]) by mail.daemonic.se (Postfix) with ESMTPSA id 43SYzL150gzDjGb; Sun, 30 Dec 2018 21:50:54 +0000 (UTC) Subject: Re: libepoll-shim breaks evdev input To: Andreas Nilsson Cc: FreeBSD X11 mailing list References: <47ecce40-b00e-4f93-5b6c-72c62f56e4f9@daemonic.se> From: Niclas Zeising Message-ID: Date: Sun, 30 Dec 2018 22:50:52 +0100 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 0D25A6F16C X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=dD+R39/u; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 2607:f740:d:20::25 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-4.72 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.80)[asn: 36236(-3.91), country: US(-0.08)]; NEURAL_HAM_SHORT(-0.91)[-0.911,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[daemonic.se:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; MX_GOOD(-0.01)[mail.daemonic.se]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:2607:f740:d::/48, country:US]; TAGGED_FROM(0.00)[freebsd]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2018 21:50:59 -0000 On 12/30/18 7:01 PM, Andreas Nilsson wrote: >=20 >=20 > On Sun, Dec 30, 2018 at 6:12 PM Andreas Nilsson > wrote: >=20 >=20 >=20 > On Sun, Dec 30, 2018 at 12:15 PM Niclas Zeising > = > > wrote: >=20 > On 12/29/18 11:33 PM, Andreas Nilsson wrote: > > > > > > On Sat, Dec 29, 2018 at 11:17 PM Niclas Zeising > > > >> wrote: > > > >=C2=A0 =C2=A0 =C2=A0On 12/29/18 11:06 PM, Andreas Nilsson wro= te: > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 > On Sat, Dec 29, 2018 at 10:19 PM Nicla= s Zeising > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 > >=C2=A0 =C2=A0 =C2=A0 >>> wrote: > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0On 12/28/18 3:10 PM= , Andreas Nilsson wrote: > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > Hello, > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > On both my lapto= p and workstation running > FreeBSD 13.0-CURRENT > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > 0b666203a28(mast= er) the upgrade of libepoll-shim: > >=C2=A0 =C2=A0 =C2=A00.0.20161220_1 -> > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > 0.0.20180530 bre= aks evdev input. > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > I have xorg-serv= er port make patched to use the > udev > >=C2=A0 =C2=A0 =C2=A0backend, but > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0with new > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > epoll-shim those= device entries does not turn > up in /dev/input > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > If I run xorg-se= rver from ports with > >=C2=A0 =C2=A0 =C2=A0libepoll-shim-0.0.20180530 input > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > works, but only = old style kbdmux and sysmouse. > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > Has something ch= anged on how to get evdev input > running? > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Hi! > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0I just updated the = libepoll-shim port, can you > test the > >=C2=A0 =C2=A0 =C2=A0updated version? > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Thanks! > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Regards > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0-- > >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Niclas > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 > Hello! > >=C2=A0 =C2=A0 =C2=A0 > > >=C2=A0 =C2=A0 =C2=A0 > libepoll-shim-0.0.20181229 works! Grea= t work, thank you! > >=C2=A0 =C2=A0 =C2=A0 > > > > >=C2=A0 =C2=A0 =C2=A0Glad it works! > >=C2=A0 =C2=A0 =C2=A0Sorry for the initial breakage. > >=C2=A0 =C2=A0 =C2=A0Regards! > >=C2=A0 =C2=A0 =C2=A0-- > >=C2=A0 =C2=A0 =C2=A0Niclas > > > > > > Thanks for the rapid fix of the problem! Now I just need to > find why my > > touchpad is recognized as > > config/udev: Adding input device Generic PS/2 mouse > (/dev/input/event3) > > On a identical device running opensuse it is identified as > > config/udev: Adding input device SynPS/2 Synaptics TouchPad > > > > But that is another thread I think. >=20 > You can try setting > hw.psm.synaptics_support=3D1 > in /boot/loader.conf and reboot the system, and see if the > touchpad is > detected as a synaptics. > Regards > --=20 > Niclas >=20 >=20 > Hello, >=20 > It does indeed get listed as SynPS/2 Synaptics TouchPad after > setting that loader tunable. I thouht those=20 > hw.psm.(synaptics|elantech)_support was just for basic touchpad > stuff for sysmouse. >=20 > However xorg still wont play: synaptics: SynPS/2 Synaptics TouchPad= : > Synaptics driver unable to detect protocol. >=20 > Thanks for helping me getting this far! >=20 > Best regards > Andreas >=20 >=20 >=20 > Also, there is a very very annoying thing that happens when setting=20 > either hw.psm.(synaptics|trackpoint)_support=3D1 which is that=20 > periodically, as in several times a minute, X freezes for a few seconds= =20 > which is very hard to work with. It happend even before trying out the=20 > evdev stuff. >=20 I have never noticed this issue myself. Is anything reported in any logs= ? Regards --=20 Niclas