From owner-freebsd-x11@freebsd.org Sun Dec 30 18:07:08 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 AD2F51430209 for ; Sun, 30 Dec 2018 18:07:08 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F2CD8F0CA for ; Sun, 30 Dec 2018 18:07:07 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lj1-x230.google.com with SMTP id l15-v6so22340718lja.9 for ; Sun, 30 Dec 2018 10:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NWTFK8QN+f0rdPXdw1/jnPvQrhhrkPC8ViXNJux5FPo=; b=mOsK1CrwTXhVytAlhnrxQLKRRrVC1pryu6SS0hJH2hgi8xCm5BMtGUO8qPMQKXyzLI +bBiQxmP7BdTD0oZUjXA9QkvTrhcA7Gx7NeQtg9aFUeOcmNW/bK/KGTq7HTMdtA5KP/T geLLXPF7dRhzcqZr0lPDoWXUb4ViVF5NY7mlYqLZ860NlyuQPDPkRCK/lx3LmVBu9iq6 Bxa22GK94pbWGPuoem8YtSKJSvjfETRbNzUrarWj7uOz3HNrUIg5YtGb7unNhpUyjDjG SbRMXSrtPM91W6TMv8yyqMOVtdzvKXM5ElrsCGDE+Mr2P0GDOzjYuZlsfR9zppAKjcAo xkXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NWTFK8QN+f0rdPXdw1/jnPvQrhhrkPC8ViXNJux5FPo=; b=iwAhMAcHx7VeGXTK/0vttYy+xOQJe9nBcR+LG/XXk9SPsLwFi1FL2+/bUwjmuGyErV wbQaCDdcP6rmlab+nyUffFVWy9pFRaZnqKZfHnxKx1U0j81pb+jBDVfjL4erptISa18V wtiTLJeeABOGgZEkJw6wFkLdFjEayOCmpeOhKhk5I5xfxQb22LgmZ4rBXjNTdVauvQWT 8pGVBsrje3NqbOePfCOmOn9vSt1PEsu5DHedaEH7+i/se7Pfk96li8DmX7Fkt2ecCMCN GooulOMRTw5khLvYTXKXFSOEbUDG4fPk5dpczxZKw8wifr/C6yBXEAuOx7VxbmDnml0T 2voA== X-Gm-Message-State: AJcUukcVtZLI/x1gf1mN5ykto+LZM/6iuLOTNI+GtIjR0dgyjFSH7v9B 8CBJz9vGo9iLg8X+sQkl5R5lQt50AjPDDppfZhs7cg== X-Google-Smtp-Source: ALg8bN43u4KlkPcBMIrhIefCrKFENgEtRNd3NJTsXwDWnFmm7zCGp/nZSJqAWFqIz7e6oubEk0QCuSU7XlU8L8oCYCk= X-Received: by 2002:a2e:81d3:: with SMTP id s19-v6mr9397418ljg.138.1546193225761; Sun, 30 Dec 2018 10:07:05 -0800 (PST) MIME-Version: 1.0 References: <47ecce40-b00e-4f93-5b6c-72c62f56e4f9@daemonic.se> In-Reply-To: From: Andreas Nilsson Date: Sun, 30 Dec 2018 19:01:57 +0100 Message-ID: Subject: Re: libepoll-shim breaks evdev input To: Niclas Zeising Cc: FreeBSD X11 mailing list X-Rspamd-Queue-Id: 5F2CD8F0CA X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mOsK1Crw; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of andrnils@gmail.com designates 2a00:1450:4864:20::230 as permitted sender) smtp.mailfrom=andrnils@gmail.com X-Spamd-Result: default: False [-6.07 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.61)[-0.605,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.46)[ip: (-8.88), ipnet: 2a00:1450::/32(-1.79), asn: 15169(-1.54), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 18:07:08 -0000 On Sun, Dec 30, 2018 at 6:12 PM Andreas Nilsson wrote: > > > On Sun, Dec 30, 2018 at 12:15 PM Niclas Zeising < > zeising+freebsd@daemonic.se> wrote: > >> On 12/29/18 11:33 PM, Andreas Nilsson wrote: >> > >> > >> > On Sat, Dec 29, 2018 at 11:17 PM Niclas Zeising >> > > >> wrote: >> > >> > On 12/29/18 11:06 PM, Andreas Nilsson wrote: >> > > >> > > >> > > On Sat, Dec 29, 2018 at 10:19 PM Niclas Zeising >> > > > > >> > > > >> wrote: >> > > >> > > On 12/28/18 3:10 PM, Andreas Nilsson wrote: >> > > > Hello, >> > > > >> > > > On both my laptop and workstation running FreeBSD >> 13.0-CURRENT >> > > > 0b666203a28(master) the upgrade of libepoll-shim: >> > 0.0.20161220_1 -> >> > > > 0.0.20180530 breaks evdev input. >> > > > >> > > > I have xorg-server port make patched to use the udev >> > backend, but >> > > with new >> > > > epoll-shim those device entries does not turn up in >> /dev/input >> > > > >> > > > If I run xorg-server from ports with >> > libepoll-shim-0.0.20180530 input >> > > > works, but only old style kbdmux and sysmouse. >> > > > >> > > > Has something changed on how to get evdev input running? >> > > > >> > > >> > > Hi! >> > > I just updated the libepoll-shim port, can you test the >> > updated version? >> > > Thanks! >> > > Regards >> > > -- >> > > Niclas >> > > >> > > >> > > Hello! >> > > >> > > libepoll-shim-0.0.20181229 works! Great work, thank you! >> > > >> > >> > Glad it works! >> > Sorry for the initial breakage. >> > Regards! >> > -- >> > Niclas >> > >> > >> > 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. >> >> You can try setting >> hw.psm.synaptics_support=1 >> in /boot/loader.conf and reboot the system, and see if the touchpad is >> detected as a synaptics. >> Regards >> -- >> Niclas >> > > Hello, > > It does indeed get listed as SynPS/2 Synaptics TouchPad after setting that > loader tunable. I thouht those hw.psm.(synaptics|elantech)_support was > just for basic touchpad stuff for sysmouse. > > However xorg still wont play: synaptics: SynPS/2 Synaptics TouchPad: > Synaptics driver unable to detect protocol. > > Thanks for helping me getting this far! > > Best regards > Andreas > Also, there is a very very annoying thing that happens when setting either hw.psm.(synaptics|trackpoint)_support=1 which is that periodically, as in several times a minute, X freezes for a few seconds which is very hard to work with. It happend even before trying out the evdev stuff. Best regards Andreas