From owner-freebsd-x11@freebsd.org Sun Dec 30 23:46:33 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 65F001439CE3 for ; Sun, 30 Dec 2018 23:46:33 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 43928732A1 for ; Sun, 30 Dec 2018 23:46:32 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lj1-x229.google.com with SMTP id u89-v6so22731811lje.1 for ; Sun, 30 Dec 2018 15:46:32 -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=OjEs9ztff0iw2AFxSnTT8aud9pkrL6w0qkaY4pkwYb8=; b=SDCv7OqSY5sSI8v9JlA5qOwc9ZXf/GOoW1+JwWXbEJUinOHp7bPyrjjRFgimAmfEjp 8oOmI/AINioywzfMpXS3nTqxm3F/rq9Ug1dMhFuqBsnKYrqkcM3mmXRaSAByd1gRr6Vo 76cH3NJaLGhCI+oTaVHrcs/+l6fzU34WXcuwzh2p85q7rACkj+GAa3xq1XSiB+iFuBX2 z3HXy7zTFyMchPirSSjbICFJ1HsMiTvHtXn4cv8s4USTK5lWePxx9kL93ZpxYKnHN7On XgMxgPo5CnrdMUOQxVlyzvRgFVvSaDMTKYCdHt/QzodPEiUjjmflbPhw/0xnxaFWuRVV NWig== 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=OjEs9ztff0iw2AFxSnTT8aud9pkrL6w0qkaY4pkwYb8=; b=N7KF1vnfraJR+znmjM/GbwDye+9TTpCXB1lwzstuqkmuxVm3gUN/GYBy1/D3aTYFX/ urIkbmAiN2ZbnLux0PXhbXkjeZDouxJoiOTnU90gdtKaz2Rr4yIoG0fJeS16wkM3XNzO N3e4qge/yISMEmH5GJGJGhGH0zasQBi9LFp0MiPtuUhMJ9by6e6nQR8XJ3K6JMpqZNT+ jstAhp1APSfz6+n7jXoBvTFBKXPHIw8JDipPtHhR7SSTXeOt6OaHkxoRPnYhXWsr0dG1 UJ1rpWJd4RuCSwNG+o3iO7q+EHpzeO0Pkx1P5BXp8c139foetxCX1lr99R1jdSXeYHKo JbNg== X-Gm-Message-State: AJcUukehXLVguUYWDXeEiepTUztMPXE11lIPZM/2MUh2V9xBwHMI1JLu tN7p/0xOFuJx//+g4GDI2t0lFO35osuozys+SmBKQg== X-Google-Smtp-Source: ALg8bN6cdD+LhTSI/poh5sCnk+GYmqxbsREKDu0dqH98rctgk8fkZntrc9wzXuXpV3tV+kfLs/2UH2ga3L7uiUMEs4Y= X-Received: by 2002:a2e:81d3:: with SMTP id s19-v6mr9682296ljg.138.1546213589620; Sun, 30 Dec 2018 15:46:29 -0800 (PST) MIME-Version: 1.0 References: <47ecce40-b00e-4f93-5b6c-72c62f56e4f9@daemonic.se> In-Reply-To: From: Andreas Nilsson Date: Mon, 31 Dec 2018 00:41:20 +0100 Message-ID: Subject: Re: libepoll-shim breaks evdev input To: Niclas Zeising Cc: FreeBSD X11 mailing list X-Rspamd-Queue-Id: 43928732A1 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SDCv7OqS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of andrnils@gmail.com designates 2a00:1450:4864:20::229 as permitted sender) smtp.mailfrom=andrnils@gmail.com X-Spamd-Result: default: False [-6.14 / 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.56)[-0.561,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)[9.2.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.57)[ip: (-9.42), 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 23:46:33 -0000 On Sun, Dec 30, 2018 at 10:50 PM Niclas Zeising wrote: > On 12/30/18 7:01 PM, Andreas Nilsson wrote: > > > > > > On Sun, Dec 30, 2018 at 6:12 PM Andreas Nilsson > > wrote: > > > > > > > > On Sun, Dec 30, 2018 at 12:15 PM Niclas Zeising > > > > > 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. > > > > I have never noticed this issue myself. Is anything reported in any logs? > Regards > -- > Niclas > No, I've never seen anything in Xorg.0.log or /var/log/messages . I think actually happened on my my old thinkpad t510 as well as on this thinkpad x1 yoga. Thanks for all the help so far! Best regards Andreas